Inspiration

image.png

image.png

Sketches

pcomp-mid-candy-sketch.jpg

Circuit diagram by William Xuan.

Circuit diagram by William Xuan.

We want to make it detect the distance of the hand, if it’s too close or inside the candy bowl, the “ghost” will create some loud sound to frighten people away.

As long as the hand is close to the candy bowl, the sound will keep going on.

Sensor/Module

3389eaacddabd1d41bc4a41ec5d3b9c.png

The SD card holder for mp3 music upload.

The SD card holder for mp3 music upload.

FX Sound Arduino board WAV/OGG

image.png

SoundPin: digital-LOW(flipped with LED); Output digitalPin

Photo Sensor

5038b8d2d343255623bf2d636c6b43c.png