
Blinking an LED with LilyPad Arduino
Step up from a plain sewn circuit to a sewable computer. The LilyPad Arduino is a washable microcontroller you program from your PC, then run on a coin cell — so your fabric can blink, fade and react on its own. This project sews an LED to the board and uploads the classic 'blink' sketch: the gateway to every sensor-driven wearable that follows.
Instruções
Sew the LilyPad Arduino and an LED
Sew the LilyPad Arduino and an LED
Sew a LilyPad Arduino Simple board and a LilyPad LED onto felt with conductive thread: the LED's + tab to numbered pin 5, and the LED's - tab to the board's - tab. Loop 3–4 times through each hole, trim tails, and keep the two lines from crossing.
Materiais para este passo:
LilyPad Arduino Simple Board1 peça
LilyPad LED - 5 pcs1 pacote
Conductive Thread - 60g (Stainless Steel)1 bobina
Agulhas de costura à mão1 pacote
Folha de feltro de lã1 folhaConnect the FTDI programmer
Connect the FTDI programmer
Plug a LilyPad FTDI Basic Breakout onto the board's 6-pin programming header (line up GND to GND, DTR to DTR) and connect it to your computer with a USB cable. Install the free Arduino IDE, then choose the LilyPad Arduino board and the FTDI's serial port under Tools.
Materiais para este passo:
LilyPad FTDI Basic Breakout - 5V1 peça
SparkFun Cerberus USB Cable - 1.8 meter1 peçaFerramentas necessárias:
Computador com o IDE ArduinoUpload the blink sketch
Upload the blink sketch
Paste this sketch into the Arduino IDE and click Upload. It flashes the LED on pin 5 on and off twice a second.
Go wireless on a coin cell
Go wireless on a coin cell
Unplug the FTDI. Sew a LilyPad coin-cell battery holder to the board — + tab to +, - tab to - — and drop in a CR2032. Switch it on and the LED blinks on its own, no computer attached. Your fabric now runs its own program.
Materiais para este passo:
LilyPad Coin Cell Battery Holder - w/Switch - 20mm1 peça
Pilha de botão CR20321 peçaExperiment
Experiment
Re-attach the FTDI and change the sketch: adjust the delays for a heartbeat rhythm, or sew a second LED to another pin and blink them in turn. This is the base every LilyPad sensor project builds on.
Materiais
9- LilyPad Arduino Simple Board10% de comissão1 peçaR$99.75
- LilyPad LED - 5 pcs10% de comissão1 pacoteR$21.35
- Conductive Thread - 60g (Stainless Steel)10% de comissão1 bobinaR$204.30
- 1 pacoteReferência
- 1 folhaReferência
- LilyPad FTDI Basic Breakout - 5V10% de comissão1 peçaR$73.18
- SparkFun Cerberus USB Cable - 1.8 meter10% de comissão1 peçaR$29.19
- LilyPad Coin Cell Battery Holder - w/Switch - 20mm10% de comissão1 peçaR$25.70
- 1 peçaReferência
Ferramentas necessárias
2- Referência
- Referência
Blueprints relacionados
Estes blueprints compartilham conhecimento — técnicas, materiais ou princípios
CC0 Domínio Público
Este blueprint é liberado sob CC0. Você é livre para copiar, modificar, distribuir e usar este trabalho para qualquer finalidade, sem pedir permissão.
Apoie o Maker comprando produtos através do Blueprint, onde ele ganha uma Comissão Maker definida pelos vendedores, ou crie uma nova versão deste Blueprint e inclua-o como conexão no seu próprio Blueprint para compartilhar receita.

