Candy Count
3. The Build
We started by wrapping the small box and the large box with the silver duct tape. Originally we were planning on using silver spray paint, but decided that the fumes might be bad for our 2-year old. The tape worked well and gave it a bit of a rough look.
Next, we cut a small flap in the top of the small box, about 4″ x 4″ for the candy chute. We bent this into the box, and taped it to the bottom of the box at an angle. This provides a protective area to keep the candy from dropping in on the electronics.
Make some holes
Then we made some holes. First, we poked 4 small holes along the bottom for the chainable LEDs. We secured them to the box with some thin wire we had laying around.
We made another hole, big enough for the RGB LED Screen to fit through. We secured the RGB LED Screen with some clear packing tape on the back of the display. We made a similar hole for the Bar-graph LED Display, below it.
Finally, we added the Ultrasonic Sensor. This will be our candy detection sensor: as a hand with candy in it goes towards the candy chute, it triggers the Ultrasonic Sensor. We mounted this at a slight 45 degree angle and wrapped it in silver duct tape to make sure it didn’t move around and trigger false alarms.
We will mount the Pi and GrovePi in the small box with more clear packing tape. We built a small cradle for the bundle on the side, below the candy chute.
We also made a slot for the USB Battery Charger at the bottom. This needs to be securely held in place: it’s the heaviest item and if it breaks loose and combines with the kinetic energy of your 2 year old, could do some damage.