dimanche 19 décembre 2010


Another experiment with fiber light :
Just melting it with heat.
Une autre experimentation avec le lily pad en le faisant fondre sur certains points.

vendredi 17 décembre 2010


Now it's experiment time with optic fiber and plastic fiber
Maintenant c'est le temps de l'experimentation avec la fibre optique et la fibre plastique.

Ce wkend va être chargé.
It will be a busy wkend.

Bussiere

samedi 30 octobre 2010

Make a led blinking

This time this is a led that blink the word amour in morse
ce coup ci c'est une led qui clignote avec le mot amour en morse.
voici le code :

/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.
*/
// declaration des variables
int court = 500;
int longue = 2000;
int pause = 1000;
// initialisation du matos dans le setup
void setup() {
// initialize the digital pin as an output.
// pin 4 correspond a la led de la CM
// Pin 4 has an LED connected on most Arduino boards:
// pinmode declare la pin 4 output
pinMode(4, OUTPUT);

}

void loop() {
// On ecrit la lettre A
// high correpond a on
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second

// On ecrit la lettre M :
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second


// On ecrit la lettre O
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second

// on ecrit la lettre U
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second


// on ecrit la lettre R
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(4, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(4, LOW); // set the LED off
delay(pause); // wait for a second
}
Here i'am making the word AMOUR blink on the lily pad :
Je fait clignoter le mot amour en morse
here is the code :
voila le code :


/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.
*/
// declaration des variables
int court = 500;
int longue = 2000;
int pause = 1000;
// initialisation du matos dans le setup
void setup() {
// initialize the digital pin as an output.
// pin 13 correspond a la led de la CM
// Pin 13 has an LED connected on most Arduino boards:
// pinmode declare la pin 13 output
pinMode(13, OUTPUT);

}

void loop() {
// On ecrit la lettre A
// high correpond a on
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second

// On ecrit la lettre M :
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second


// On ecrit la lettre O
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second

// on ecrit la lettre U
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second


// on ecrit la lettre R
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(longue); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(pause); // wait for a second
}

Bussiere




Here i'am at tmp/lab (http://www.tmplab.org/) workshop to learn more about the lily pad.
Thanks to lionel from http://tetalab.org/ i've learned a lot.

here is my fisrt code for making the led on the lilypad blinking :


La je suis a un atelier temp/lab (http://www.tmplab.org/) pour apprendre plus sur le lilypad.
Grace à lionel du tetalab http://tetalab.org/ j'ai beaucoup appris :
voici mon premier code :

/*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.

This example code is in the public domain.
*/
// declaration des variables
int court = 1000;
int longue = 2000;
int pause = 1000;
// initialisation du matos dans le setup
void setup() {
// initialize the digital pin as an output.
// pin 13 correspond a la led de la CM
// Pin 13 has an LED connected on most Arduino boards:
// pinmode declare la pin 13 output
pinMode(13, OUTPUT);

}

void loop() {
// high correpond a on
digitalWrite(13, HIGH); // set the LED on
// en milli seconde
delay(court); // wait for a second
// je l'eteint pendant une seconde
digitalWrite(13, LOW); // set the LED off
delay(longue); // wait for a second
}



Bussiere

mercredi 27 octobre 2010

First Step (premiere etape)


I've just received the lilypad but it didn't know the cable or the interface to plug it on a computer was not provided so i have to order an interface.

Je viens juste de recevoir le lilypad mais je ne pensais pas que l'interface pour la relier a un pc n'etait pas fournis avec. Resultat je dois commander une interface.



Bussiere