Prepare Sensor and Piezo Buzzer

sensors_photoresistor-prep-03.jpg

The photo cell will be your sensor to detect darkness and activate your hat. Start by bending the two wires slightly apart. Then, using a needle nose pliers, bend the legs at a 90 degree angle so that while the sensor points outward, the legs will sit nicely against your hat.

sensors_photoresistor-prep-04.jpg

Cut two small pieces of heat shrink tubing and place them on the legs of the photoresistor. Then use a heat gun or blow dryer on hottest setting to shrink the tube in place.

sensors_photoresistor-prep-00.jpg

Now, take your needle nose pliers and bend the tips of the legs into circles. Be gentle as the wires are fragile.

sensors_sensor4.jpg

Insert the legs of the photo cell into the grommet on the hat closest to the GEMMA. Gently wriggle them in one at a time, so they fit nicely against the inside of the hat.

sensors_PiezoTin.jpg

Let's move on to the piezo buzzer. This tiny piece will create the sounds for your hat. Start by stripping 1/4" off each wire. Do this very gently as the wires can break easily. Tin the wires with a bit of solder.

sensors_PiezoSnap.jpg

Now solder each wire to the end of the snap pieces. It doesn't matter which snap piece you choose, as we are only using them as conductive pieces that allow us to stitch onto fabric. Okay, speaking of stitches, it’s sewing time!

This guide was first published on Aug 06, 2014. It was last updated on Aug 06, 2014. This page (Prepare Sensor and Piezo Buzzer) was last updated on Sep 14, 2019.