Programming Protosnap Componentsafter snapping them from the board• Reconnect the board after snapping the components• Go ...
I did not assign the RGB light. Iprogrammed it by assigning specificPINS to be output for the RGB,and used the Digital Wri...
SketchSpeakerRGB lightLED2LED3Switch
Sewinghttp://www.youtube.com/watch?v=3V-13Qs_7r8I ran out of thread for the LEDs…This is where my beads will mysewn. I rea...
CodesSwitch function works onceassigned.I used two lights from theRGB here. PIN 9 and 10 wereconnected to Blue and Redspec...
Codes
Codes
Other Points• The battery can be charged while the board isconnected to the USB. The switch on theboard will function unle...
Upcoming SlideShare
Loading in …5
×

e-Textile Project using LilyPad Arduino Protosnap components (sewn on felt)

977 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
977
On SlideShare
0
From Embeds
0
Number of Embeds
81
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

e-Textile Project using LilyPad Arduino Protosnap components (sewn on felt)

  1. 1. Programming Protosnap Componentsafter snapping them from the board• Reconnect the board after snapping the components• Go to hardware and select LilyPad Simple 328• The LilyPad Simple will appear, but with the variouscomponents of the Protosnap at the side (Slide 2)• Assign the components to the PINS accordingly. This isusually dependent on your sketch (Slide 2)• You may need to adjust the code you programmedoriginally while the components are on the board.• See my sketch and sewing on the next two slides
  2. 2. I did not assign the RGB light. Iprogrammed it by assigning specificPINS to be output for the RGB,and used the Digital Write Function(see code on Slide 5.
  3. 3. SketchSpeakerRGB lightLED2LED3Switch
  4. 4. Sewinghttp://www.youtube.com/watch?v=3V-13Qs_7r8I ran out of thread for the LEDs…This is where my beads will mysewn. I realize this is too long for abracelet. Hence I will put it on myT-shirt. The buzzer will be damagedif washed, so I intend to either usefabric glue or simple stitches to getthis onto the shirt.
  5. 5. CodesSwitch function works onceassigned.I used two lights from theRGB here. PIN 9 and 10 wereconnected to Blue and Redspecifically. We need to setpinMode PIN 9 and 10 to beOutput.Note that for RGB,DigitaWrite PIN# LOW meansON.DigitaWrite PIN# HIGH meansOFF.This is opposite to the LEDs.
  6. 6. Codes
  7. 7. Codes
  8. 8. Other Points• The battery can be charged while the board isconnected to the USB. The switch on theboard will function unless detached from theUSB• Be careful – do not leave the batteryunattached. It can burn out and cause a fire.

×