Arduino starter kit has finally arrived!
                  so I tried basic practice, like blinking LED, using a button & a light sensor.
                  so far, interesting.



                  this Arduino code(?) was "kinda" familiar to me.



                  resistance test.

                  playing with light sensor

int sensorPin = 0;
int POS = 7;
int POSS = 8;
int POSSS = 9;                           
int val = 0;

void setup()
{
  Serial.begin(9600);           // 시리얼포트를 9600bps속도로 사용하겠다라는 설정
  pinMode(POS, OUTPUT);
  pinMode(POSS, OUTPUT);
  pinMode(POSSS, OUTPUT);
}

void loop()
{
  val = analogRead(sensorPin);
  Serial.println(val);           // 변수val의 값을 시리얼포트를 통해서 전송하라는 얘기
   if (val < 500)
      {digitalWrite(POS, HIGH);
      digitalWrite(POSS, HIGH);
      digitalWrite(POSSS, HIGH);}
   else 
      {digitalWrite(POS, LOW);
      digitalWrite(POSS, LOW);
      digitalWrite(POSSS, LOW);}
}

light sensor + 3 LEDs
신고

'me > physical computing' 카테고리의 다른 글

getting started with Arduino Uno  (0) 2010.11.26
Posted by jimmii

댓글을 달아 주세요

                 the secret life of star wars people, so cute!!!!

                 clone veteran

                 cup of jawa..

               

                 hyper travel for drink

                 it's a frap!

                 jedi needs cash.

                 R2D2 love story

                 vote for che!

                 stormtrooper on toilet

                 stormtrooper housewife

                 need money

                 mining

                 family

                 will plow!

                 by an argentinian photographer
Marker
신고

'my obsession > star wars geek' 카테고리의 다른 글

star wars costume  (0) 2010.11.26
star wars hoodies  (0) 2010.11.26
the secret life of star wars people  (0) 2010.11.26
star wars dubai  (0) 2010.11.26
dark vador  (0) 2010.11.26
stormtrooper 365  (0) 2010.11.26
Posted by jimmii

댓글을 달아 주세요

                  star wars dubai.
                  star wars forever! seriously.


                  oh lord vador...





















                  reminds me of Equilibrium







                  Photographie : Cédric Delsaux

                  Battle droid 3D : Pierrick Gueneugue
신고

'my obsession > star wars geek' 카테고리의 다른 글

star wars costume  (0) 2010.11.26
star wars hoodies  (0) 2010.11.26
the secret life of star wars people  (0) 2010.11.26
star wars dubai  (0) 2010.11.26
dark vador  (0) 2010.11.26
stormtrooper 365  (0) 2010.11.26
Posted by jimmii

댓글을 달아 주세요

                  dark vador











 photos by Esteban Diacono

신고

'my obsession > star wars geek' 카테고리의 다른 글

star wars costume  (0) 2010.11.26
star wars hoodies  (0) 2010.11.26
the secret life of star wars people  (0) 2010.11.26
star wars dubai  (0) 2010.11.26
dark vador  (0) 2010.11.26
stormtrooper 365  (0) 2010.11.26
Posted by jimmii

댓글을 달아 주세요

                           stormtrooper!!





                                                     their secret life...ㅋㅋㅋ



                                                     refreshment











                                                     friendship ㅋ













                           photos by
PowerPig
신고

'my obsession > star wars geek' 카테고리의 다른 글

star wars costume  (0) 2010.11.26
star wars hoodies  (0) 2010.11.26
the secret life of star wars people  (0) 2010.11.26
star wars dubai  (0) 2010.11.26
dark vador  (0) 2010.11.26
stormtrooper 365  (0) 2010.11.26
Posted by jimmii

댓글을 달아 주세요

티스토리 툴바