Download presentation
Presentation is loading. Please wait.
Published byRandall Heath Modified over 9 years ago
1
Autumn, 2014C.-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, 2014C.-S. Shieh, EC, KUAS, Taiwan2 Installing Arduino Software Download arduino-1.0.5-r2 from http://arduino.googlecode.com/files/arduin o-1.0.5-r2-windows.exe, local copy http://arduino.googlecode.com/files/arduin o-1.0.5-r2-windows.exelocal copy Run arduino-1.0.5-r2-windows.exe arduino.exe is the main program Drivers in directory “…\Arduino\drivers” Examples in directory “…\Arduino\examples”
3
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan3
4
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan4
5
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan5
6
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan6 Installing USB-to-RS232 Driver Plug in Arduino MEGA 2560 Manually install the drive from “…\Arduino\drivers” Check assigned COM port from 控制台 硬體和音效 裝置管理員 連接埠 (COM 和 LPT)
7
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan7
8
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan8 Configure Board and COM Port Select Tools Board Arduino Mega 2560 Select Tools Serial Port assigned COM port
9
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan9
10
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan10 User Interface Verify sketch (program) Verify and upload sketch Serial 0 monitor Close Open
11
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan11 Sample Program – Hello, Arduino! void setup() { Serial.begin(9600); } void loop() { Serial.println("Hello, Arduino!"); delay(500); }
12
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan12
13
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan13
14
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan14
15
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan15 Sample Program – Flash LED int LED = 13; void setup() { pinMode(LED,OUTPUT); } void loop() { digitalWrite(LED,HIGH); delay(500); digitalWrite(LED,LOW); delay(500); }
16
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan16
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.