I admit it: I'm a total geek. I love electronics, programming, 3D printing, 3D art, and vintage Apple hardware. I'm always juggling half a dozen projects. I also enjoy documenting it all: my successes, my failures, my experiences... and everything geeky along the way.

Upgrading My Old 7490 Clock, Part IV | Kevin Rye.net - Main

Kevin Rye

Geek Extraordinaire. Yeh, I said it.

Upgrading My Old 7490 Clock, Part IV

The last prototype Arduino board I made for the 7490 clock rework didn’t turn out as well as I had hoped. The board did what it was supposed to do, but the implementation wasn’t that great. I thought the clock rework would have been a good excuse to use some of those ATtiny’s I bought 6 months ago. I was eager to try something with them. However, the design really could have used a few extra digital pins. Once I had the PCB all hooked up, it was clear that I should have designed it differently.

The more I thought about it, the more it became clear that the Bare Bones Arduino boards I designed months ago were the perfect solution. After all, it’s projects like these that inspired me to create the Barebones Arduino in the first place.

BBA3_asembled_10011

The best part about the 3rd revision of the Bare Bones Arduino is that I designed it with shields in mind. It’s easy to throw together a simple shield that only has one or two functions. It beats creating an entire PCB from scratch for every project. For this clock rework, all I needed was a shield with a DS3231 RTC.

BBA3 tempshield 0003

I got to work on a schematic. This time around, instead of feeding each clock section (seconds, minutes, hours) into the next stage, and trying to splice in a settings signal with diodes, I decided to let the ATmega328 direct the traffic.

The input and output signals from the seconds and minutes sections both feed into and out of the ATmega328. It’s perfect. The ATmega keeps track of when the seconds and minutes have rolled over, and tells the next section to increment. Since the seconds, minutes, and hours are no longer directly connected to each other, I can set the minutes without worrying about the hours rolling over while setting it. It’s such a better design. Also, since the DS3231 signal feeds into the ATmega now, I can even stop the clock while setting it. That might come in handy when trying to set the clock while trying to keep the seconds at :00.

7490rework schematic with 328_0003

Happy with the new design, I prototyped it with my Arduino Uno; taking advantage of my Mini Breadboard I/O board. (Told you they’d come in handy!) It’s been running for days and it’s still to the second. Gotta love those DS3231s!

7490rework with 328_0002

While I validated the design, I got to work on the PCB. I opened up the Eagle file for my Bare Bones Arduino v3 Temperature Shield and hacked away at it.

Screen Shot 2014-07-09 at 7.49.41 PM

The shield basically has a DS3231 RTC, a power-in header, and 2 headers for the set buttons.

Screen Shot 2014-07-09 at 7.50.20 PM

The PCBs from OSH Park cost a mere $3.70 each. Not bad at all.

BBA3 RTC Shield v1 top

BBA3 RTC Shield v1 bottom

I can’t wait for these PCBs to arrive. Finally, after almost 3 months of designing and prototyping, I just might finish this clock yet!

See this project from start to finish:
Digital Clock 1.0
Upgrading My Old 7490 Clock, Part I
Upgrading My Old 7490 Clock, Part II
Upgrading My Old 7490 Clock, Part III
Upgrading My Old 7490 Clock, Part IV
Upgrading My Old 7490 Clock, Part V