ติดตั้งไดรเวอร์ Arduino บน Linux
เคล็ดลับที่เป็นประโยชน์นี้แสดงวิธีการติดตั้งไดรเวอร์ Arduino ภายใต้ Linux
ไดรเวอร์ Arduino: ดาวน์โหลดและติดตั้งบน Linux
ก่อนการเขียนโปรแกรมด้วยบอร์ด Arduino ต้องติดตั้งไดรเวอร์:
- ดาวน์โหลดไดรเวอร์และ IDE จากเว็บไซต์ Arduino
- หากคุณยังไม่ได้ติดตั้ง Java Runtime ให้ป้อนคำสั่ง "apt-get -y install openjdk-6-jre libjna-java libjna-java-doc" และ "apt-get -y install extra-xdg-menu",
- ตอนนี้เชื่อมต่อบอร์ด Arduino กับพีซีผ่าน USB ตอนนี้ควรติดตั้งไดรเวอร์โดยอัตโนมัติ
- เริ่ม IDE ด้วย "cd arduino; ./arduino" ภายใต้ "เครื่องมือ" → "พอร์ตอนุกรม" เลือกพอร์ตที่บอร์ด Arduino เชื่อมต่อ
- เพื่อให้สามารถสื่อสารกับบอร์ดผ่านทางอินเตอร์เฟสอนุกรมให้ป้อนคำสั่ง "usermod -aG tty $ USERNAME usermod -aG dialout $ USERNAME"
ผู้ใช้ Windows และ Mac ช่วยให้การติดตั้งใช้งานได้ง่ายขึ้น ในเคล็ดลับการปฏิบัติคุณสามารถอ่านวิธีการติดตั้งไดรเวอร์ Arduino สำหรับระบบปฏิบัติการสองระบบ