3.การติดตั้งโปรแกรม Arduino
วิธีการ Install Driver Arduino ลงบน Window
สำหรับผู้ที่ซื้อ Board Arduino คงจะพบกับปัญหาที่จะพูดถึงในบทความนี้ครับ
วันนี้จะแนะนำวิธีการลง Software และ Driver
Arduino บนWindows แบบละเอียดๆ
ถ้าพร้อมแล้ว ก่อนทำการ installing Driver ของ Arduinoทุกชนิด ต้อง Disable อุปกรณ์ Bluetooth เพราะ ว่า Arduino
และ อุปกรณ์ Bluetooth นั้นไม่ Compatibleกัน เพราะฉนั้น ต้องปิดอุปกรณ์ Bluetoothก่อนการInstall
เสมอ
บทความนี้ จะแนะนำเกี่ยวกับการ install drivers ลงบน Arduino
Boards ทุกชนิด บน ระบบปฏิบัติการ Windows และ การ Loading
a sketch สำหรับทำการทดสอบว่าการ Install นั้นถูกต้องหรือไม่
โดยทั้งหมดจะสาธิตบนบอร์ด Arduino UNO R3 คู่กับ Window 7
Download and Install the Arduino Software
1. Download
และ กด click ที่ download เพื่อเข้าสู่ the
download page.
ที่หน้า download, ให้ Click ไปที่ Windows link เพื่อที่จะ download Arduino software สำหรับระบบปฏิบัติการWindows ตามรูปข้างล่าง
2. Install
หลังจาก downloadแล้ว
ให้เลือกที่อยู่ของ downloaded file บนระบบ system และ ทำการ extract the folder จาก zipped
file วางลงบนตำแหน่งที่เหมาะสม
Install the Arduino Windows
Drivers
1. ทำการPlug the Arduino Board ลงบนเครื่อง PC
ทำการ Plug the Arduino
board ลงบนเครื่อง PC.
Windows จะพยายาม install drivers แต่สุดท้ายก็จะไม่สำเร็จ
2. Start the Windows Device
Manager
ให้ Click ไปที่ปุ่ม Start
menu
คลิกขวาที่ My Computer บน Start menu แล้วก็ click Properties
or Manage จาก pop-up menu เพื่อทำการเปิด Device Manager
Click ไปที่ Device
Manager link เพื่อ Start device
manager:
Device Manager จะเปิด
และแสดง Arduino Device ที่เราทำการ Connect ไว้(ขึ้นอยู่กับว่าใช้ board ชนิดไหน ชื่อก็จะแสดงขึ้นมาให้เห็น
ทีนี้เราจะเจอ เครื่องหมายตกใจ ขึ้นสีเหลืองๆ
ซึ่งแสดงว่า อุปกรณ์ Arduino นั้น ไม่สามารถทำการ Install
มาถึงขั้นนี้ก็ต้อง
3. Installing the Device
Driver
ในหน้าต่างของ Device Manager, ให้คลิกขวา ไปที่ Arduino board แล้วก็ click Update
Driver Software, บน pop-up menu
ณ ขณะนี้ จะมีกล่องขึน pop-up มาโชว์ว่า Update
Driver Software ให้คลิกที่ Browse my
computer for driver software เพื่อที่จะ install
Driver Software Manually
ต่อไปก็click
the Browse... button
เลือกไปที่ drivers folder ใน Arduino folder ที่ได้ download มา
จะมี กล่อง pops up ขื้นมา, click Install this driver software anyway, to
continue the Arduino Board Drivers....
เมื่อทำการ Install
Driveเป็นที่เรียบร้อยแล้ว จะมี dialog box ตามรูปข้างล่าง
เราต้องทราบ port
number ที่ บอร์ด Arduino เราทำการเชื่อมต่ออยู่ในตัวอย่างนี้คือ Port
COM3 แต่บอร์ดที่ใช้งานจริงของคุณ อาจจะมาเป็น Port
COM อื่นๆ ก็อย่าได้ตกใจครับ
ถ้าคุณเห็นข้อความนี้แสดงว่าคุณได้ทำการ Install
Driver เป็นที่เรียบร้อยแล้ว ก็ทำการ "Close" ได้เลย
4. ทำการ Set
up Arduino Software หลังจาก Installation แล้ว:
การ set นี้
ทำแค่ครั้งเดียวเป็นอันเสร็จพิธี นอกเสียจากคุณจะต้องการเปลี่ยน รุ่นของ Board หรือ เปลี่ยน port ที่ทำการเชื่อมต่อกับ Boardเท่านั้น. เพียงแค่ เลือกไปที่ folder ที่คุณได้เก็บ Arduino IDE ไว้ และทำการ startSoftware ของ Arduino IDE โดยทำการ double-clickingไปที่ Arduino application.
ทีนี้ก็ทำการ check ว่า serial
port ที่ต่ออยู่ได้ถูกเลือกอย่างถูกต้อง เลือกไปที่ Computer
Serial Port ที่ Arduino ทำการต่อเชื่อมอยู่
ความคิดเห็น
แสดงความคิดเห็น