Close

Getting to menus

A project log for HP Bubble clock

Yet another HP bubble clock, using ATTiny84A.

jeremy-gJeremy g. 03/02/2018 at 02:340 Comments

Ok this update wont be huge, just a small update on the progress so far. 

Menus:

I have a simple menu in place now with 2 buttons being shared by the same ADC. One as Enter and the Other as select. This will allow the user to set the time, alarm, date etc.

EEPROM:

The Attiny84A's eeprom is super easy to deal with thanks to the library included with AVRGCC. I have alarm settings, # of device resets (for fun), and a last stored time for when the power cuts off.. (haven't figured out how this would be useful yet, as the DS1307 uses a battery backup.) I just wanted to mess with the eeprom.

ADC's:

The adc was a bit tricky to get working, but now that I have found a few forum posts on how to use them it works a treat with interrupts.

Display:

Nothing has really changed in this category aside from displaying time in 12 hour format, this will be configurable in the settings.

At this point, I can design a board and feel I should have everything I need to further work on the clock with a PCB fabricated. I plan on making a 3d printed case for it as well. The clock will run off a 9V battery. But this may change as I have not tested the power consumption yet.

Next update will be bigger, promise. The github repo has been updated with the latest firmware as well. Also when I get the schematics finished I will put them here as well.

Discussions