In this project I am going to show you how to make an alarm clock that works with an Arduino Uno ATMega328PU microcontrollerchip.
For school we had the assignment to make a product flat pack; I chose to do an alarm clock. Basically it the clock is only a circuitboard with all the nessecary components attached to it.
Step 1: Materials
What do you need?
- Arduino Uno
- ATMega 328 PU
- 4 Pushbuttons
- Perf board
- 4 Shift registers; I used TI SN74HC595N, although you can also use U74HC595AG registers
- 7 segment LED display
- Piezo buzzer to set off alarm
- Soldering Iron
- Soldering Wire
- Utility knife
- Wire stripper
Step 2: Layout of the Board
To get your dimensions; lay out everything on your board.
With components in their place I cut out a rectangle that measures 9cm x 4.5cm
The displays are centered on the board; in between comes our ATMega chip and on the top and the bottom
we will place our shift registers.
The pushbuttons on the left are for setting time and alarm; the ones on the right are for adjusting the hour and minutes.
Step 3: Circuit
First of all, shift registers come in handy because they give us extra outputs on the Arduino Board.
We will daisychain the shift registers; this means we connect the 2nd to the 1st, the 3rd to 2nd and the 4rd to the 3rd.
I stronly recommend first testing on a breadboard if you aren't so familiar with shift registers.
Links that will help:
Step 4: Soldering
Grab your soldering iron and start soldering everything on to the perf board.
In case you want only the chip attached to the board and not the whole Arduino:
Thanks for reading.