Presentation is loading. Please wait.

Presentation is loading. Please wait.

Korea University of Technology and Education

Similar presentations


Presentation on theme: "Korea University of Technology and Education"— Presentation transcript:

1 Korea University of Technology and Education
Building Applications with arduino and nodejs Korea University of Technology and Education Jung-ki Kim ( November 12 , 2014

2 nodejs => arduino => nodejs
Indeed we’ll connect 2 technologies to each other creating a kind of “loop of awesomeness”:  nodejs => arduino => nodejs Board : arduino MEGA2560 OS : Windows 8 참조 :

3 Arduino board setup

4 Arduino board Programming
buttonPin = 50; ledPin = 22;

5 Arduino board Programming

6 예제 설치방법 1. 링크된 사이트에 들어가 그림에 표시된 곳에서 다운로드 후 압축을 푼다.

7 예제 설치방법 1.

8 예제 설치방법 2. npm install socket.io

9 npm install serialport
예제 설치방법 3. npm install serialport

10 예제 설치방법 4.

11 Node.js server (server.js)
‘Com4’ -> 현재 윈도우에 연결된 포트No.

12 Node.js server (server.js)

13 Frontend code (app.js)


Download ppt "Korea University of Technology and Education"

Similar presentations


Ads by Google