Prepare the tools and materials
To make things clear, I took some photos of the components.
i) Electronic Components:
Logic DC Jack (Mainboard) from Techbox Tricks ×1
Grove – Universal 4 Pin Buckled 20cm Cables ×1
Grove – Light Sensor ×1
Grove – Infrared Emitter ×1
9V to Barrel Jack Adapter ×1
9V Battery ×1
Glue Gun ×1
Step 1 Connectthe light sensor, colorful light and battery with the logic DC jack usingcables.
Step 2 Surroundthe modules with clay. Please note that put the interfaces of light and batteryoutside.
Step 3 Make afirefly with colorful clay.
Finally, the fireflyis completed and it can light up in the dark.