Friday, 31 October 2008

The toy without its case


My aim was to put different functions into one program, to challenge the Arduino board and to see how much you can do by only using Arduino programming.

I the video, you can observe three different functions.
1) movement - melody
The circuit is the same as the one of a push button. When the frog is taken away from a sitting position, the circuit is interrupted and an alarm will ring and an LED will be switched on as long as the frog is sitting again.
2) distance - melody
A ping sensor is monitoring the distance in front of it. Once the distance is at a certain value, a melody will start playing and an LED will be turned on.
2) light - led (bluring)
There is also a photo cell. This sensor measures the light intensity. When it is quite dark an LED will start glowing. If it is light, it will be turned off.

No comments: