Go Down

Topic: Clock project (Read 1 time) previous topic - next topic

DfReisan

And then I wire the positive lead to Vbat and the negative one to Ground & the ATMega's ground?

CrossRoads

"Also, if I use a battery, do I wire it to the Vbat and ground (and ground to the Arduino's ground) while not wiring Vcc to anything? That's what I seem to understand from the spec sheet. "
Yes. Battery+ to Vbat, Battery - to DS1307 Gnd/Arduino GND.
VCC gets connected to Arduino VCC.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

bperrybap


You will need a coin battery holder:

If there is no need to replace the battery, you can use the batteries
with the leads attached to them (see futurlec "batteries" link above for an example).

--- bill

Go Up