We will construct a fully-interactive arduino powered alarm clock.
Here is a video of the alarm clock:
The alarm clock has the following functions:
1. Displays the time and date
2. User adjustable time and date
3. User settable alarms with various settings "weekday, weekend, daily, once, off", with buzzer and flashy led to wake you up.
4. Remembers its alarm settings even when power is removed.
5. More importantly, a special key that stops the alarm so you can get back to sleep!
6. Use the alarm function to power any shenanigans you want against your sleepy head :)
We will need the following parts:
1. Arduino duenilanove or UNO
2. Phi-1 shield kit for arduino
We will need the following tools:
1. A soldering iron. Anything from radioshack will work just fine. I use a set that is $8 with the iron and a few tools including some solder .
2. 45 degree cutter for electrical cords, to trim after you're done solder. You can buy one from radioshack or other places.
3. Optional third hand for holding circuit board. I can just lay the board down and solder it
4. Masking tape to hold down parts to be soldered
Let's get started!
Step 1: Step 1 assemble the Phi-1 shield
Use masking tape to hold parts on the board and solder at least one pin. Be best if you can solder two pins on opposite ends of the headers. Make sure the headers are straight up and not tilted to the side.
After soldering the two pins, remove the tape and solder the rest of the pins. Then reuse the tape on the next parts.
1. Solder on the three rows of female pins first.
2. Solder on the three rows of male pins.
3. make sure you don't solder on these two pins 0 and 1.
4. Solder the 16-pin female headers for LCD.
5. Solder 5V and GND pins. This is for convenience when you use a breadboard.
6. Solder all 7 tactile switches.
7. Solder the Dip sockets and battery holder. Observe orientation.
8. Solder the crystal, one 220Ohm resistor, optionally the GPS connector.
9. Solder the variable resistor.
10. Solder the buzzer, + on top, the LED, short pin or a cut on the casing on left, 150Ohm resistor, 5V GND headers, and optionally the GPS breakout female headers.
11. Place the DS1307 and optionally the 24LC256 and the battery. Observe the orientation. Dot or grooves down for chips.
12. Solder male headers on the LCD. You just need 6 pins on each side.
Here is a 360 degree view of a complete shield:
Step 2: Step 2 - check the function of the Phi-1 shield with testing code
First turn the potentiometer all the way on direction until you hear clicking or can't turn. If you don't get anything, then turn the other way. You will see message on the screen. Just follow the instructions. Here is a video.
Make sure your shield is working.