This semester has been especially brutal. My courses are far more difficult than anticipated, and I’ve had next to no time for anything outside of studying, more studying, and further studying… Last night I decided I should shift gears, and, boy, what a welcome change that was.
After digging around my electronics bins for something to tinker with, I came across a kit I’d purchased months ago, and never got around to assembling: An Adafruit DS1307 Real Time Clock.
I had originally purchased it with the intentions of building some sort of security/surveillance device built off an Arduino platform. And since I already have the rest of the components, and just got a brand new Arduino Leonardo clone from Borderless Electronics, I figured now is as good as time as any to put this thing together. That way, I can test out the new Arduino, and get the clock set up at the same time.
Soldering the kit took all of 10 minutes, including the time it took to unpack all my gear and heat up the iron. A really elegantly simple kit.
Once it was all assembled, I hooked it up to the Arduino and fired up the compiler…. Which turned out to be WAY out of date, so I upgraded the Arduino software, and transferred all my libraries to the new location. Now that THAT was taken care of, surely we would get to the business of setting the clock, right? Not so fast, me…
The directions for setting the clock from Adafruit’s amazing tutorial center: Adafruit Learning System used a different model Arduino, and I hadn’t read up on the I2C pin changes between the older models and the Leonardo model that I’m using… After about 30 minutes of digging around the Adafruit forums, I managed to rectify my problem and get the clock happily ticking along:
since midnight 1/1/1970 = 1380758308s = 15980d
now + 7d + 30s: 2013/10/9 23:58:58
I probably won’t have time to actually cobble this together before this semester is through, but here’s the rest of the parts list so far, much of which I probably will decide is excessive:
- TTL Serial Camera (Currently being tested on another Arduino project.)
- Virtuabotix SD Card Reader/Writer
- Passive Infrared Motion Sensor
- Sonar Range Finder
- XBee Wireless Modules and Adapters
That’s all I have for now. Updates to follow as time permits.