Wearables and light-up clothing lesson plan
Build a jacket that reacts to claps and shakes: a tiny board, a LiPo, sewn circuits, motion and sound triggers, and clothes you can wash.
Objectives and materials
By the end, students can
- A tiny board, a LiPo budget, and the resistance of a sewn circuit.
- Make the lights react to a shake and to a clap.
- Comfort, washing, and the finished jacket.
Materials for the whole unit
- Accelerometer, ADXL345
- Addressable RGB LEDs
- Arduino Nano
- Battery: AA, coin cell, LiPo
- LED
- Resistor x 2
- Sound sensor, KY-038
Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.
Power and thread
A tiny board, a LiPo budget, and the resistance of a sewn circuit.
| Lesson | Time | What students do |
|---|---|---|
| Tiny boardsMeet the Nano, an Uno small enough to sew into a sleeve, and drive a strip of eight WS2812 LEDs from one data pin. | 50 min |
|
| LiPo powerA one-cell LiPo: 3.7 V, a mAh rating, a budget for the LEDs at full white and dim, and the rules for charging it safely. | 50 min |
|
| Sewn circuitsConductive thread is a resistor you sew. Measure the volts it drops, see why long runs limit the current, and plan the stitches. | 50 min |
|
Materials
- Accelerometer, ADXL345
- Addressable RGB LEDs
- Arduino Nano
- Battery: AA, coin cell, LiPo
- LED
- Resistor x 2
- Sound sensor, KY-038
Check for understanding
Each student finishes "Sewn circuits" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Plan the stitches".
Triggers
Make the lights react to a shake and to a clap.
| Lesson | Time | What students do |
|---|---|---|
| Motion triggersRead an ADXL345 accelerometer register by register, turn its counts into g, and make the strip sparkle when someone shakes. | 50 min |
|
| Sound triggersA KY-038 sound sensor on an interrupt: catch the first edge of a clap, ignore the rest, and count double claps. | 50 min |
|
Materials
- Accelerometer, ADXL345
- Addressable RGB LEDs
- Arduino Nano
- Battery: AA, coin cell, LiPo
- LED
- Resistor x 2
- Sound sensor, KY-038
Check for understanding
Each student finishes "Sound triggers" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Loud places".
A reactive jacket
Comfort, washing, and the finished jacket.
| Lesson | Time | What students do |
|---|---|---|
| Comfort and washingClothes are worn for hours and washed: cap the brightness, sleep when still, and build in a wash mode that says to take the battery out. | 50 min |
|
| Project: a reactive jacketPut it all together: a jacket that breathes, flashes on a clap, sparkles on a shake and saves its battery when it runs low. | 60 min |
|
Materials
- Accelerometer, ADXL345
- Addressable RGB LEDs
- Arduino Nano
- Battery: AA, coin cell, LiPo
- LED
- Resistor x 2
- Sound sensor, KY-038
Check for understanding
Each student finishes "Project: a reactive jacket" on their own, without opening the hints. The simulator checks 6 of its 6 steps as they go.
Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Make it yours".
Teach this unit as a class
Start a class from this course and its 7 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.
The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.