Introduction: Shine + Rise
This smart alarm clock was made as a school project for NMCT.
YOU WILL NEED:
a raspberry pi
a charger for the raspberry pi
a small speaker that works by aux cord
a 4x7 segment display
a light sensor
four strong RGB LEDs
a 10K Ohm resistor
two 540 Ohm resistors
a small breadboard
a bunch of cables
thin wood veneer
thin MDF board
fabric suitable for covering speakers
tracing paper or semi-see through plastic
ruler and pencil
hot glue gun
Step 1: Soldering
Solder wires to each of the 4 legs of each of the 4 LEDs, to 3 of the legs of each of the 2 buttons, with a 570 Ohm resistor on the ground leg, and to both sides of the light sensor.
Attach the LEDs together so they can be installed more easily - I used a twisty tie for this.
Step 2: General Build
Figure out how big you want your alarm clock to be, make sure you consider the size of your speakers and raspberry pi so that everything will fit inside. Cut three parts of the wooden dowel according to the with you want. Cut two bigger pieces of the MDF board for the front and the downside and twho smaller pieces for the backside.
Cut a hole in the front that fits your display and hot glue it in place. Glue a wooden dowel to each side, then glue on the remaining pieces so the silhouette of the alarm clock becomes triangular.
If needed, glue in some pieces of elastic to later keep your components securely in place.
Step 3: Finishing Touches
Draw the silhouette of your alarm clock on a piece of cardboard. Cut it out and cut a hole in the middle to make sure sound gets through well. Cover in with a soft fabric and glue it down over the edges with your hot glue gun. Glue down to the alarm clock on the side you want the speaker to be.
Cut a piece of veneer to the exact with of your clock and make it long enough to go from the bottom over the front to just over the dowel in the back. With some spray glue or wood glue, glue the piece in place. If needed, sand down the veneer a bit in the area where the display will need to shine through.
Step 4: Assembly
Build the circuit according to the pdf. Make sure you provide a backing for the buttons so they stay pushable.
Once everything is in place and attached, shove it inside of the alarm clock and finish off by placing some milky plastic or thick tracing paper over the opening in the back. This will make sure the LED light is nice and diffused.
Step 5: Setup
On your raspberry pi, make sure that mysql, flask and python3 are installed and able to run.
Upload all necessary files and route them so they run on startup.
Enjoy your very own alarm clock!
We have a be nice policy.
Please be positive and constructive.