Fall, 2017 | Sungkyunkwan University


Lecture PPT download


Homework 1 : Bring a servo motor

 


Homework 2 : Arduino <-> Processing

Write a Processing application that makes use of sensor signal from Arduino.

Think about where it will be installed and who will be the audience.

Reference : Processing -> Examples -> Libraries -> Serial -> SimpleRead


11/20 Midterm Presentation

12/18 Final Presentation


 

//// Arduino – Processing Example code

import processing.serial.*;

Serial myPort; // Create object from Serial class
int val; // Data received from the serial port

void setup()
{
size(700, 500);
println( Serial.list() );
    String portName = Serial.list()[5]; // <- change this number
myPort = new Serial(this, portName, 9600);
}

void draw()
{
if ( myPort.available() > 0) { // If data is available,
val = myPort.read(); // read it and store it in val
println(val);
}

background(0);

}


Deadline (Every Sunday 9pm)



Submit Your Homework

name
student ID
content
Spam Filter What is the name of your university? University


2017-12-09 06:51
양회현 | 2013314208
http://blog.naver.com/m_jackson_ko/221158982001

2017-11-13 02:13
전다은 | 2015311529
http://blog.naver.com/yo_r/221138541274

2017-11-12 20:52
박민서 | 2013314049
http://neocubism.cafe24.com/?p=4809

2017-11-12 20:35
옥구슬 | 2013311382
http://blog.naver.com/okgsl/221138347221

2017-11-12 20:30
남정원 | 2016311814
http://namjungwon.egloos.com/6228016


2017-11-12 20:16
이준용 | 2016310050
http://ftm17ljy.egloos.com/1201530

2017-11-12 19:39
정수영 | 2014311839
http://jojo1214.egloos.com/6227951

2017-11-12 19:33
Lila Calderon | 2017314283
https://mizzmonzter.wordpress.com/2017/11/12/week-8-sensor/

2017-11-12 05:59
권희건 | 2016311349
http://blog.naver.com/zwnox/221137988013
저번 수업시간과 같은 오류가 발생합니다 ㅜㅜ

2017-11-12 00:15
전혜림 | 2016312196
http://hanmadi.egloos.com/6227754