3HOT GLUE NIGHT-LIGHT

IN THIS PROJECT, YOU’LL CREATE A TINY, CUSTOMIZED LIGHT BY USING A HOT GLUE GUN, A SILICONE ICE CUBE OR BAKING MOLD, AND AN LED. THEN YOU’LL WRITE A PROGRAM TO MAKE THE LIGHT FLASH ON AND OFF OR FADE IN AND OUT. YOU’LL TAKE THIS PROJECT FURTHER BY ADDING A LIGHT SENSOR TO MAKE A NIGHT-LIGHT THAT TURNS ON AUTOMATICALLY IN THE DARK AND TURNS OFF AS THE SUN COMES UP.

Hot glue is a type of plastic adhesive that’s runny when hot, so it’s ideal for filling up any shape and drying quickly into that shape. Silicone molds are heat resistant, which prevents the glue from sticking to the mold, making it easy to pop out the glue when it’s set. Figure 3-1 shows a completed light.

FIGURE 3-1 R2-D2 glue gun light

WHAT YOU’LL NEED

Here ...

Get Raspberry Pi Projects for Kids now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.