Presentation is loading. Please wait.

Presentation is loading. Please wait.

Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Development Environment Chin-Shiuh Shieh ( 謝欽旭 ) Department.

Similar presentations


Presentation on theme: "Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Development Environment Chin-Shiuh Shieh ( 謝欽旭 ) Department."— Presentation transcript:

1 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Development Environment Chin-Shiuh Shieh ( 謝欽旭 ) http://bit.kuas.edu.tw/~csshieh Department of Electronic Engineering National Kaohsiung University of Applied Sciences, Taiwan

2 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan2 Installing Arduino Software Download arduino-1.0.1-windows.zip from http://arduino.cc/en/Guide/HomePage http://arduino.cc/en/Guide/HomePage Unzip arduino-1.0.1-windows.zip into C:\Program Files\arduino-1.0.1 arduino.exe is the main program

3 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan3

4 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan4

5 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan5

6 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan6

7 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan7 Installing USB-to-RS232 Driver Plug in Arduino MEGA 2560 Manually install the drive from “C:\Program Files\arduino-1.0.1\drivers” Check assign COM port from 控制台  系 統  硬體  裝置管理員  連接埠 (COM 和 LPT)

8 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan8

9 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan9

10 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan10

11 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan11 Configure Board and COM Port Create program shortcut if you like. Select Tools  Board  Arduino Mega 2560 Select Tools  Serial Port  assigned COM port

12 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan12

13 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan13

14 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan14

15 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan15 User Interface Verify sketch (program) Verify and upload sketch Serial 0 monitor Close Open

16 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan16 Sample Program – Hello, Arduino! void setup() { Serial.begin(9600); } void loop() { Serial.println("Hello, Arduino!"); delay(500); }

17 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan17

18 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan18

19 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan19

20 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan20 Sample Program – Flash LED int LED = 13; void setup() { pinMode(LED,OUTPUT); } void loop() { digitalWrite(LED,HIGH); delay(500); digitalWrite(LED,LOW); delay(500); }

21 Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan21


Download ppt "Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Development Environment Chin-Shiuh Shieh ( 謝欽旭 ) Department."

Similar presentations


Ads by Google