Maxim Integrated DS1307 Element
The DS1307 element is used to provide a real time clock in 24-hour time. This element is for using the Maxim Integrated DS1307 real time clock chip.
The DS1307 is a sensor element that can be imported into the Element Toolbox through the Add Element button located in the toolbox from the Embedded tab.
The following properties can be changed for the DS1307 element:
The name of the element.
I2C Driver Instance
The I2C bus used to communicate with the sensor.
The I2C address the element sends data to.
Start Clock on Setup
The state of the clock initializing when the project runs: disabled or enabled.
Square Wave Frequency
The square wave (SQW) pin output frequency of the clock. This element includes the following frequency options:
The following triggers are available to execute events from within the DS1307 element:
Execute an event when the source element connected to the HTS221 triggers.
Execute an event when the clock starts.
Execute an event when the clock stops.
Execute an event when the clock is reset.
Execute an event when the date and time are set.
Execute an event when the date and time are returned.
The following abilities are available for the DS1307 element when its source element triggers:
Trigger the element(s) that follow the DS1307 element.
Start the clock.
Stop the clock.
Reset the clock. This returns the clock to 01/01/00 01 00:00:00 (MM/DD/YY DOW HH:MM:SS).
Set the date and time as an ISO8601 string.
Return the date and time as an ISO8601 string.