LilyPad Arduino is a wearable Arduino.
It uses conduct threads in stead of regular metal wires so that it enable to make a wearable art work or interactive wall cloth.
I did a following experiment with Lily pad; however, I do not recommend you to do a same thing with me since I did not planed perfectly and it was the first time trial.
I made a gloves with LED. If I press or hold something with finger, the color of LED will be changed.
Requirement
Lily pad Arduino
conduct thread
power supply for Lily pad Arduino
AAA battery
10K resistor
Force sensor
LED that came with Lily Pad
Sewing Stuffs (needle, thread)
Cloth or material which you want to be sewed
Warning: this experiment potentially causes unexpected danger to you and Arduino.
Be safe when you do a experiment with Lily Pad.
If you find anything that unexpected result, plug out power charger( USB or battery ).
I actually almost broke down the circuit of the LilyPad because of shorts of the circuit.
First thing that you need to do is to imagine the final form of the circuit.
It must be better to spend a time to figure out how you sew thread to the glove.
I am sure that you will encounter a lot of problems while you are sewing since I also encountered a lot of problems.
Basic idea of circuit
As you see some of the threads nearly touch each other, that really bad.
I should have planned more nicely.
Program
int ledPin=10; // declare variables
int ledPin2=10;
int pressure=0;
int val,val2;
void setup()
{
pinMode(ledPin, OUTPUT); //setup pin
}
void loop()
{
val = analogRead(pressure)/4;
//load data and convert it to suitable value for PWM
val2 = 255-val;
//load data and convert it to suitable value for PWM
analogWrite(ledPin, val);
delay(400);
analogWrite(ledPin, val2);
delay(400);
}
0 件のコメント:
コメントを投稿