Raspberry Pi Lego Alarm Clock

Oct 1, 2014

christmas-bells

Last Christmas my son had some bells lying around and one day said "Dad, I want these to wake me up in the morning". Fresh from completing the Ping Pong Ball Thrower (tm), I knew exactly how to solve the problem.

It was a straight forward build with the only hitch that I wanted to use the c# 5.0 async and await which weren't available in the default mono rpm's on Raspbian at the time. Compiling mono from source on the Pi sorted that out.

The experiment with the generic 3V motor tied down with rubber bands didn't go so well since the connecting axle didn't align exactly with the technic beam it was inserted through and it showed signs of wear after a few runs. As the axle heated up from friction it also seemed to bind up more and slow the motor down. Swapping in a proper 9V Technic motor fixed this.

The source code for the alarm clode is on github, The console app does a few other things like run the ping pong thrower, you just need to pass the correct command line parameter.