AR-187ArduinoBeginnerPremium

LilyPad Glow-in-the-Dark Bracelet: A Light Sensor Switches On Breathing, Spinning and Steady LED Effects

Put the bracelet on and let the dark do the rest. The LilyPad on it measures the ambient light with an LDR; when it gets dark six LEDs fade in, and when it gets bright again they slowly fade out. Two separate thresholds (hysteresis) keep the LEDs from flickering when the light hovers around the threshold. Every press of the button changes the effect: gentle breathing, a light spinning along the bracelet, or a steady glow. The LilyPad is sewn onto fabric and wired with conductive thread.

0.0(0)
LilyPad Glow-in-the-Dark Bracelet: A Light Sensor Switches On Breathing, Spinning and Steady LED Effects
Sew six LEDs, an LDR and a button onto a fabric bracelet and let it start glowing by itself in the evening. It keeps you visible on a night walk or on your bike, and switches itself off when daylight returns. You learn the basics of wearable electronics, how to sew conductive thread lines that never touch, how to measure light with a voltage divider, how to stop flicker with hysteresis, how to set LED brightness with PWM, and how to run effects with millis without blocking.

Source Code

Premium Content

The source code, block version and FAQ of this project are open to Premium members.

  • All Project Code
  • Block version
  • Frequently Asked Questions