PROJECTS: Motion-Triggered LED Skirt
the skirt panels. Just cut away 2cm sections of
the adhesive backing on the strips, and stick the
Velcro to the adhesive (Figure
G
).
5. ATTACH LEDS TO SKIRT
Place the LED strips on their desired positions
and fasten with the Velcro (Figure
H
). Route
the cables through the double-layer waistband,
and the guide the wires at the skirt’s hem in
the closure.
6. CONTROLLER AND POWER
SUPPLY
Connect the electronics as shown in the wiring
diagram (Figure
I
). The LED strip’s signal wire
is soldered to pin A3 of the QT Py board. The
6-axis IMU sensor is connected via the short
STEMMA/Qwiic cable.
The cable connectors that are originally pre-
soldered to the LED strips can be reused to make
it easier to unplug and remove the electronics
from the skirt for washing (Figure
J
). This way,
no additional connectors are necessary.
To power the QT Py, you can use a standard
USB power bank. 5000mAh seems to be more
than enough for a full day’s use if you’re not using
effects that light all the LEDs at the same time.
The power bank and the QT Py and sensor nicely
fit into the pocket at the back of the skirt (Figure
K
). Plugging the QT PY’s USB into the power
bank will power up the LEDs.
7. PROGRAMMING
You can use either CircuitPython or Arduino IDE
to program the QT PY board. We used Arduino
IDE in combination with Visual Studio Code and
PlatformIO, so that we could include a special
library (github.com/ArminiusM/Neopixel) which
can easily divide an LED strip into multiple
segments to control them as if they were wired
56 makercampus.com
I
G H
M77_052-59_LEDskirt_F1.indd 56M77_052-59_LEDskirt_F1.indd 56 4/11/21 1:55 PM4/11/21 1:55 PM
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.159.224