RTC mdules (DS1307 type) i2c example program
Posted: Wed Feb 18, 2015 4:29 am
It is easy to get time from Web but if you use a thermostat required to work standalone also, to have an RTC module is a must have.
I prepared it from the IoT example (i2c) and a ported PIC lib (Ds1307).
DS1307 is a 5V device, but you can get a DS1338U33 (3.3V) module from 2-3 USD.
ESP-07 was used, the PIN definition and other settings can be checked in the program.
I prepared it from the IoT example (i2c) and a ported PIC lib (Ds1307).
DS1307 is a 5V device, but you can get a DS1338U33 (3.3V) module from 2-3 USD.
ESP-07 was used, the PIN definition and other settings can be checked in the program.