Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:weatherboard_setting [2015/04/06 10:48] john1117 [Compile and Upload] |
en:weatherboard_setting [2015/04/06 10:48] (current) john1117 [Compile and Upload] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Setting up the Weather-Board ====== | ||
+ | First download the ODROID-SHOW source code with github.\\ | ||
+ | Then add libraries after install the arduino IDE.\\ | ||
+ | Finally after **connecting jumper**, compile and upload. | ||
+ | ==== Download the ODROID-SHOW source code ==== | ||
+ | === Ubuntu === | ||
+ | <code bash> | ||
+ | #sudo apt-get install git | ||
+ | #cd ~/work | ||
+ | #git clone https://github.com/hardkernel/ODROID-SHOW | ||
+ | </code> | ||
+ | === Windows === | ||
+ | {{https://github.com/hardkernel/ODROID-SHOW/archive/master.zip|ODROID-SHOW.zip}} | ||
+ | ==== Install the arduino IDE ==== | ||
+ | === Ubuntu === | ||
+ | Launch Ubuntu Software Center, search for "arduino", and install it | ||
+ | |||
+ | {{:en:software_center.png?500|}} | ||
+ | |||
+ | === Windows === | ||
+ | {{http://arduino.googlecode.com/files/arduino-1.0.5-r2-windows.zip|ArduinoIDE.zip}} | ||
+ | ==== Run arduino IDE ==== | ||
+ | Open "weather_board.ino" sketch file in this path.\\ | ||
+ | ODROID-SHOW/weather_board/weather_board.ino | ||
+ | ==== Setting Preferences ==== | ||
+ | You MUST locate sketchbook path to ODROID-SHOW directory. | ||
+ | |||
+ | {{:en:preferences.png?500|}} | ||
+ | ==== Add Libraries ==== | ||
+ | You need to add the ODROID-SHOW libraries in the IDE through the menu skech -> import Library... -> Add Library... | ||
+ | |||
+ | {{:en:add_library.png?500|}} | ||
+ | |||
+ | The following way, add ODROID-SHOW folder. (sketchbook folder) | ||
+ | |||
+ | {{:en:add_library2.png?500|}} | ||
+ | ==== Compile and Upload ==== | ||
+ | Check the serial port between /dev/ttyUSBn and "tools -> Serial Port" of arduino IDE. | ||
+ | |||
+ | ls /dev/ttyUSB* | ||
+ | |||
+ | {{:en:check_serialport.png?500|}} | ||
+ | |||
+ | Finally **after connecting jumper**, click "upload" button of arduino IDE. | ||
+ | ==== Output screen ==== | ||
+ | {{ :en:weatherboard_setup.jpg?500 |}} | ||