Real time clock in Industruino

has anyone programmed a real-time clock in Industruino ? I would like to program some time-related actions (occupancy schedule, for instance).

Didier DORGUIN
Didier DORGUIN
172
| 4 1 3
Asked on 5/30/16, 5:35 PM
0
vote
3588 Views

You'll need an RTC that uses SPI like the SparkFun DeadOn RTC (DS3234).  Most RTC boards use I2C and will have an address conflict with the ADC chip on the Industruino,  see this post:

https://industruino.com/forum/help-1/question/rtc-i2c-address-conflict-120

Gary Huband
Gary Huband
57
| 4 1 1
Answered on 5/31/16, 2:53 PM
1
vote

As far as I know, Industruino doesn't have a RTC onboard.

The best solution is to get a DS1307 RTC and connect it to the I2C pins.

This can be done externally or internally.

Then there are many libraries available.

Stefano Giuseppe Bonvini
Stefano Giuseppe Bonvini
577
| 2 0 2
Answered on 5/30/16, 8:27 PM
0
vote

What Gary says is true, actually I used it on a Proto board, if you have an I/O kit the simplest solution is to use SPI.

Stefano Giuseppe Bonvini
on 5/31/16, 3:21 PM

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This community is for professionals and enthusiasts of our products and services.

Read Guidelines

Question tools

27 follower(s)

Stats

Asked: 5/30/16, 5:35 PM
Seen: 3588 times
Last updated: 5/31/16, 2:53 PM