Hello everyone,
Coming here, because I have searched and googled and read considerable amounts, yet... I'm lost.
Not looking for a step-by-step, but rather a general direction on how to use an RTC module.
The Setup:
Arduino Uno board
DeadOn RTC - DS3234
I believe I know how the wires should be attached.
From SparkFun's product page comment's:
Pin 13 SCK
Pin 12 MISO
Pin 11 MOSI
Pin 8 SS
Although my board doesn't have "SCK", it has "CLK".
Once I have those 4 wires plugged in... what now?
Do I have to plug in all the other wires (GND and VCC)?
And once that is done... here's where I'm lost:
What do I do?
I read in Sparkfun's comments that there's a library made by maniacbug, over at GitHub.
I downloaded RTClib.cpp and RTClib.h
Yet, from there... how do I... do... something with it?
My end goal: Turn ON a pin at a preset time, and turn it off at another time.
I'm at a loss as to how make this go.
In the sketch, should I include the library?
And if I include it, does the program "grab" it?
Does it have to get uploaded onto the Uno board?
Sorry for the barrage of questions... it's just that I'm without direction as to what to do.
Thank you very much for your help and feedback!
Will keep this thread updated with the progress.
=)
Reference: Here's a recent thread from these forums: Problem with Real Time Clock Module