2013년 12월 4일 수요일

arduino IDE ubuntu 설치

이전 블로그에서 이전 함 (원본 글 2013/12/04 작성)

arduino 사이트


arduino IDE 및 기타 등등 설치 방법
1. Ubuntu 클릭
2. 맞는 버전에 맞춰 설치

난 12.04 이므로 아래 명령어만 실행 하면 OK

sudo apt-get update && sudo apt-get install arduino arduino-core   

3. 설치 완료 후 콘솔에서 arduino를 실행 하면 IDE가 뜬다.

~$ arduino 

* arduino board를 컴터에 연결 된 상태에서 IDE의 Tools > Serial port 에 연결이 표시 되지 않는다면 한번 컴터를 재부팅 해보길 


아니면 executable을 다운 받아 실행하는 방법도 있음.

아래에서 맞는 버전 다운 받고 압축 해제 해서 실행하면 OK

혹시나 Ubuntu 12.04 에서 arduino IDE 실행 시 아래 메시지가 나온다면

Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Preferences.save(Preferences.java:735)
at processing.app.Preferences.init(Preferences.java:249)
at processing.app.Base.main(Base.java:117)
Caused by: java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:234)
at processing.core.PApplet.<clinit>(Unknown Source)
... 3 more

=> defualt jre를 설치하시라 (sudo apt-get install default-jre)

http://forum.arduino.cc/index.php/topic,199316.0.html

댓글 없음:

댓글 쓰기