Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:show_setting [2015/04/06 12:04] john1117 [Compile and Upload] |
en:show_setting [2017/02/27 09:27] (current) odroid [Setting Preferences] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Setting up the ODROID-SHOW on ubuntu ===== | ||
+ | ==== Download the ODROID-SHOW source code ==== | ||
+ | <code> | ||
+ | # sudo apt-get install git | ||
+ | # mkdir ~/work | ||
+ | # cd ~/work | ||
+ | # git clone https://github.com/hardkernel/ODROID-SHOW | ||
+ | </code> | ||
+ | ==== Install the arduino IDE ==== | ||
+ | Launch Ubuntu Software Center, search for "arduino", and install it | ||
+ | {{:en:software_center.png?500|}} | ||
+ | |||
+ | ==== Run arduino IDE ==== | ||
+ | Open "show_main.ino" sketch file in this path.\\ | ||
+ | ODROID-SHOW/show_main/show_main.ino | ||
+ | |||
+ | ==== Setting Preferences ==== | ||
+ | You MUST locate sketchbook path to ODROID-SHOW directory. (File -> Preference) | ||
+ | |||
+ | {{: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. | ||
+ | <code> | ||
+ | # ls /dev/ttyUSB* | ||
+ | </code> | ||
+ | {{:en:check_serialport.png?500|}} | ||
+ | |||
+ | Finally after connecting the jumper, click "upload" button of arduino IDE. | ||
+ | <WRAP center round important 100%> | ||
+ | ** The DTR reset jumper MUST be installed when you upload the firmware.**\\ | ||
+ | ** The DTR reset jumper must NOT be installed in normal usage mode.** | ||
+ | </WRAP> | ||
+ | {{http://dn.odroid.com/homebackup/show2_boarddetail.jpg}} |