0

My first arduino project
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

My first arduino project

by philross on Wed May 24, 2017 8:46 am

clock1.jpg
Clock ready for duty
clock1.jpg (46.96 KiB) Viewed 1141 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 1141 times
clock2.jpg
clock
clock2.jpg (82.64 KiB) Viewed 1141 times

philross
 
Posts: 5
Joined: Fri May 12, 2017 9:11 pm

Re: My first arduino project

by adafruit_support_bill on Wed May 24, 2017 9:01 am

Nicely done! Thanks for the photos.

adafruit_support_bill
 
Posts: 71801
Joined: Sat Feb 07, 2009 10:11 am

Re: My first arduino project

by adafruit_support_bill on Thu Sep 07, 2017 5:47 am

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

adafruit_support_bill
 
Posts: 71801
Joined: Sat Feb 07, 2009 10:11 am

Re: My first arduino project

by adafruit_support_bill on Fri Sep 08, 2017 6:04 am

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

adafruit_support_bill
 
Posts: 71801
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.