Source: https://mokxi.com/teachers/plans/wearables-and-e-textiles
Updated: 2026-11-19

Lesson plan

# 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.

3 chapters, 7 lessons, about 6 hours, on the Arduino Nano. Every lesson runs in the browser, with nothing to install.

Start a class from this course

The unit

## 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.

Chapter 1. About 2 h 30 min

## Power and thread

A tiny board, a LiPo budget, and the resistance of a sewn circuit.

Lesson | Time | What students do

Tiny boards Meet 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

- A jacket that reacts
- An Uno, shrunk
- One wire, eight LEDs
- Any color
- Dark

LiPo power A 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

- A flat battery
- Full white
- Dim lasts longer
- Running low
- Charging safely

Sewn circuits Conductive thread is a resistor you sew. Measure the volts it drops, see why long runs limit the current, and plan the stitches. | 50 min

- Thread that conducts
- Light it
- Measure the thread
- A longer run
- Plan the stitches

### 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".

Chapter 2. About 1 h 40 min

## Triggers

Make the lights react to a shake and to a clap.

Lesson | Time | What students do

Motion triggers Read an ADXL345 accelerometer register by register, turn its counts into g, and make the strip sparkle when someone shakes. | 50 min

- An accelerometer
- Gravity
- Tilt it
- Shake
- Sparkle

Sound triggers A KY-038 sound sensor on an interrupt: catch the first edge of a clap, ignore the rest, and count double claps. | 50 min

- A loud-noise detector
- Clap
- One clap, many pulses
- Double clap
- Loud places

### 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".

Chapter 3. About 1 h 50 min

## A reactive jacket

Comfort, washing, and the finished jacket.

Lesson | Time | What students do

Comfort and washing Clothes 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

- Cool on skin
- Sleep when still
- Wake on a move
- Wash mode
- Seal and soften

Project: a reactive jacket Put 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

- Jacket on
- Clap
- Shake
- Low battery
- Status
- Make it yours

### 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".

Your class

## 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.

Start a class from this course See the demo class

More units

## Other lesson plans

Electronics basics 20 lessons, about 10 h. Embedded on the Arduino Uno 16 lessons, about 12 h. Embedded on the ESP32-C3 13 lessons, about 11 h. Embedded on the Raspberry Pi Pico 7 lessons, about 6 h. Build your own fight stick 5 lessons, about 4 h. Embedded on the STM32F411 6 lessons, about 6 h. C++ on a board 13 lessons, about 10 h. Digital logic and memory 4 lessons, about 4 h. Interactive devices on the Uno 9 lessons, about 8 h. From gates to a computer 23 lessons, about 16 h. Build a claw machine 8 lessons, about 6 h. Every unit All the courses as ready-made units, on the teachers page.
