|

The LED sensor for the bin

the light sensor that will also be put into the bin

The PD code that allows the bin to work.
|
The technical issues for the project, are actually quite simple. I use the light sensor on one side of a tube that allows the bottle to go into the bin on the otherside of the tube I will have an LED that will shine onto the light sensor. When an abject goes in between the LED and the sensor it sends a signal to the PD code and starts up the interface to play music to the user.
The PD code itself is quite simple, it works by the bang sensor being activated by the bottle passing through the sensor, it then receives a music file containing smashing glass sound after that the music itself will begin to play.
|