Adafruit Holiday Shipping Deadlines 2018: Attention! Place all UPS 3 Day orders by 11am ET Wednesday 12/13/2018
0

Homemade Clock uses Copper Coins for Capacitive Touch Control | #Arduino

Thanks to forums user philross for sending this in – it’s a great looking build, it’s his first C/C++ Arduino build, and the inset coins a real nice…touch!

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.


Featured Adafruit Products!

NewImage

Adafruit 1.2″ 4-Digit 7-Segment Display w/I2C Backpack – Red: What’s better than a single LED? Lots of LEDs! A fun way to make a numeric display is to use a 4-digit 7-segment display. LED matrices like these are ‘multiplexed’ – so to control all the seven-segment LEDs you need 14 pins. That’s a lot of pins, and there are driver chips like the MAX7219 that can control a matrix for you but there’s a lot of wiring to set up and they take up a ton of space. Here at Adafruit we feel your pain! After all, wouldn’t it be awesome if you could control a matrix without tons of wiring? That’s where these adorable LED matrix backpacks come in. We have them for a variety of 8×8 and 7-segment displays. They work perfectly with the displays we stock in the Adafruit shop and make adding a bright display trivial. Read more.


Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Join 8,700+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – Python on Microcontrollers is here!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — Japanese word working and more in December’s issue of HackSpace magazine!

Wearables — Solder-less magic

Electronics — = != ==.

Biohacking — Finding Bliss with Anandamide

Python for Microcontrollers — sysfs is dead! long live libgpiod! libgpiod for linux & Python running hardware @circuitpython @micropython @ThePSF #Python @Adafruit #Adafruit

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.