My first arduino project

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
philross
 
Posts: 5
Joined: Fri May 12, 2017 9:11 pm

My first arduino project

Post by philross »

Clock ready for duty
Clock ready for duty
clock1.jpg (46.96 KiB) Viewed 1484 times
Hey guys!

This project was a lot of fun. It utilizes the big 1.2 Digital Display with backpack, a chornodot for real-time-clock duties, a passive buzzer for the alarm, and the adafruit 5 sensor capacitive touch sensor all plugged in to an arduino uno.

I wrote the code myself using Eric Ayer's DS3231 library to support the chonodot's alarm functions. This was my first C/C++ code...and I'm glad I don't have to submit it for a grade is all I can say...but it runs, so that's a win.

I made the case out of dribs and drabs of materials left over from other projects. The top is walnut that I used a burl veneer on. The sides are 1/4" red oak with 1-inch oak dowels at each corner, the bottom is maple, just because I had a piece that was about the right size. The whole case disassembles into 3 pieces by removing 4 bolts from the bottom that are countersunk into that piece, go through drilled holes in the corner dowels, and screw into brass inserts in the walnut top.

The copper coins are soldered to input leads that plug into the capacitive sensor breakout board. When any of them are touched, it drags that input LOW, and that gets read by the arduino. For instance, the big coin is the alarm on/off button. So, you push it and the alarm LED lights. You touch it again and the alarm gets turned off. The leftmost button is "clock set" to set the time. The next button is "alarm set" to set the alarm time. The third small coin is touched to advance the hours or minutes forward, the last button is used to roll the time back when setting either the clock or alarm. A couple of other bells and whistles in there...but that's the gist of it.

It was a really fun project...and IT WORKS. I unplugged my old alarm clock (which kept horrible time) and now I'm using the homebuilt one.

By the way...the coins are just copper replicas of real coins and were pretty cheap. The big coin is a 1 oz coin, the smaller "nickles" are 1/2 oz BU coins. I inset them into the walnut burl by using my largest forstner bit in a drill press and then setting the lid up on my milling machine and using a flycutter to tweak the holes out until they were exactly the right size and depth.


Phil
Attachments
clock4.jpg
clock4.jpg (92.13 KiB) Viewed 1484 times
clock
clock
clock2.jpg (82.64 KiB) Viewed 1484 times

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: My first arduino project

Post by adafruit_support_bill »

Nicely done! Thanks for the photos.

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: My first arduino project

Post by adafruit_support_bill »

According to his post, he is using the Chronodot RTC module: https://www.adafruit.com/product/255

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: My first arduino project

Post by adafruit_support_bill »

I have built several clocks using the ChronoDot. I have also retrofitted some older clocks based on the DS1307. The DS3231 chip used in the ChronoDot is temperature compensated, so it has much less drift than the DS1307.

We now also carry our own board based on the DS3231 chip: https://www.adafruit.com/product/3013

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”