In the DS1307RTC library examples folder there should be a program called "SetTime". I used the DS1307RTC library and the Time library to program my DS1307.Īrduino DS1307RTC library can be found at: You need to run a program to set the time on the RTC to initialize it. Gnd should connect to ground, Vcc should connect to the Arduino's built in 5V supply, Sda should connect to A4 (analog pin 4), and Scl should connect to A5 (analog pin 5). DS1307 based RTC with LIR2032 battery (Battery included).The lithium ion battery included with the DS1307 board should last a couple years.Īrduino Tiny I2C RTC DS1307 AT24C32 Real Time Clock module+board for AVR ARM PIC It runs off of it's own battery, so even if the alarm clock is not plugged in, the RTC will keep the current time. It keeps track of the hour, minute, second, day, month, and year. The DS1307 RTC is a chip that keeps time. I2C RTC DS1307 AT24C32 Real Time Clock For Arduino Raspberry Pi
0 Comments
Leave a Reply. |