3th Project interative toy

이미지
춤추는 발레리나 Arduino Logic Source Code #include < Servo.h > Servo myservo ;              // create servo object to control a servo int potpin = 0;              // analog pin used to connect the potentiometer int val ;                            // variable to read the value from the analog pin void setup() {   myservo.attach (9);     // attaches the servo on pin 9 to the servo object } void loop() {   val = analogRead ( potpin );           // reads the value of the potentiometer (value between 0 and 1023)    val = map( val , 0, 1023, 0, 180);           // scale it to use it with the servo (value between 0 and 180) myservo.write ( val );                               // sets the servo position according to the scaled value    delay(15);                                              // waits for the servo to get there } Video

Interactive toy_report

이미지
[ 영감보고서 ]  [ 실패보고서 ]

Interactive toy _ Sketch

이미지
 [ 춤추는 사람 참고 영상 ] [ 캠방식 참고 영상 ]

2st Project_Interaction Light

이미지
1. 컨셉설명 판넬 2. 회로 구성 및 센서설명 3. 코딩 및 설명 //arduino code int button1Val = 0; int button1Pre = 0; int button2Val = 0; int button2Pre = 0; int rangeVal = 0; int blue = 11; int red =  10; int green = 9; int tiltPin = 5; int tiltVal = 0; int tiltPre = 0; int touchPin = 2; int touchVal = 0; int touchPre = 0; bool isOn = false; int rVal = 0; int bVal = 0; int gVal = 0; void setup() {   // put your setup code here, to run once:   Serial.begin(9600);   pinMode(blue, OUTPUT);   pinMode(red, OUTPUT);   pinMode(green, OUTPUT);   pinMode(tiltPin, INPUT);   analogWrite(blue, 0);   analogWrite(red, 0);   analogWrite(green, 0); } void loop() {   // put your main code here, to run repeatedly:   rangeVal = analogRead(A1);   //Serial.println(rangeVal);   delay(100);   tiltVal = digitalRead(tiltPin);   //Serial.println(tiltVal);   touchVal = digitalRead(touchPin);   //Serial.pr

Workshop Brief 2017.11.15

이미지
Make something that moves 리차드, 고현준, 이수민, 이가영

Interactive Light_Sketch

이미지
1. Metaphor : 달맞이꽃, 나팔꽃 2. Metaphor : 달맞이꽃, 나팔꽃 3. Metaphor : 달맞이꽃, 나팔꽃 4. Metaphor : 달맞이꽃, 나팔꽃 5. Metaphor : 미러볼

Interactive Light

이미지
루나 스퀘어2 LED 조명  -  모션스위치  - 밝기 조절  - 타이머  -  터치스위치 Nice-Lighting - 사운드스위치 - 밝기 조절 Xiaomi Yeelight Bedside Lamp - 터치스위치