Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:wb_odroid_show [2015/11/02 09:29] john1117 [Writing firmware on Ubuntu] |
en:wb_odroid_show [2015/11/02 16:58] (current) john1117 [Setting Preferences] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Overview ====== | + | ===== WEATHER-BOARD on ODROID-SHOW ===== |
- | [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141743018597|{{:en:odroidshow:show_wb_bat.jpg?500|}}]] | + | [[http://www.hardkernel.com/main/products/prdt_info.php?g_code=G141743018597|{{:en:weather_board:show_wb_bat.jpg?500|}}]] |
- | The Weather board is an easy to use ODROID-SHOW Add-on that grants you access to UV Index, barometric pressure, altitude, relative humidity, illumination and temperature. Each board comes with a 6-pin connector for ODROID-SHOW connection. All the sensor data goes though I2C communication between sensor ICs and ATMEGA328P MCU on the ODROID-SHOW. | + | The Weather board is an easy to use ODROID-SHOW Add-on that grants you access to UV Index, barometric pressure, altitude, relative humidity, illumination and temperature. Each board comes with a 6-pin connector for ODROID-SHOW connection. All the sensor data go though I2C communication between sensor ICs and ATMEGA328P MCU on the ODROID-SHOW. |
With a lithium polymer battery, you can make a portable outdoor weather data capture system. | With a lithium polymer battery, you can make a portable outdoor weather data capture system. | ||
Line 8: | Line 8: | ||
To use Weather board in ODROID-SHOW, you need to write a WEATHER-BOARD firmware. | To use Weather board in ODROID-SHOW, you need to write a WEATHER-BOARD firmware. | ||
- | ===== Setting up the ODROID-SHOW on ubuntu ===== | + | ===== Writing firmware the WEATHER-BOARD on Ubuntu ===== |
- | ==== Download the ODROID-SHOW source code ==== | + | ==== Settings Arduino IDE ==== |
- | <code> | + | Install the Arduino IDE |
- | # sudo apt-get install git | + | sudo apt-get install arduino |
- | # 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 |
- | + | arduino | |
- | ==== Run arduino IDE ==== | + | Download the WEATHER-BOARD source code |
- | Open "show_main.ino" sketch file in this path.\\ | + | sudo apt-get install git |
- | ODROID-SHOW/show_main/show_main.ino | + | git clone https://github.com/hardkernel/WEATHER-BOARD |
==== Setting Preferences ==== | ==== Setting Preferences ==== | ||
- | You MUST locate sketchbook path to ODROID-SHOW directory. | + | You MUST locate sketchbook path to WEATHER-BOARD directory. |
+ | |||
+ | {{:en:weather_board:preferences.png?500|}} | ||
+ | |||
+ | Load WEATHER-BOARD sketchbook file | ||
+ | |||
+ | {{:en:weather_board:sketchbook.png?500|}} | ||
- | {{:en:preferences.png?500|}} | ||
==== Add Libraries ==== | ==== Add Libraries ==== | ||
- | You need to add the ODROID-SHOW libraries in the IDE through the menu skech -> import Library... -> Add Library...\\ | + | You need to add the WEATHER-BOARD libraries in the IDE through the menu skech -> import Library... -> Add Library...\\ |
- | {{:en:add_library.png?500|}} | + | {{:en:weather_board:add_library.png?500|}} |
- | The following way, add ODROID-SHOW folder. (sketchbook folder) | + | The following way, add WEATHER-BOARD folder. (sketchbook folder) |
- | {{:en:add_library2.png?500|}} | + | {{:en:weather_board:add_library2.png?500|}} |
==== Compile and Upload ==== | ==== Compile and Upload ==== | ||
- | Check the serial port between /dev/ttyUSBn and "tools -> Serial Port" of arduino IDE. | + | Check the serial port between /dev/ttyUSBn and "tools -> Serial Port" of Arduino IDE. |
<code> | <code> | ||
# ls /dev/ttyUSB* | # ls /dev/ttyUSB* | ||
</code> | </code> | ||
- | {{:en:check_serialport.png?500|}} | + | {{:en:weather_board:serial.png?500|}} |
+ | |||
+ | Finally, after connecting the jumper, click "upload" button on Arduino IDE. | ||
+ | |||
+ | {{:en:weather_board:uploading.png?500|}} | ||
- | Finally after connecting the jumper, click "upload" button of arduino IDE. | ||
<WRAP center round important 100%> | <WRAP center round important 100%> | ||
** The DTR reset jumper MUST be installed when you upload the firmware.**\\ | ** The DTR reset jumper MUST be installed when you upload the firmware.**\\ | ||
** The DTR reset jumper must NOT be installed in normal usage mode.** | ** The DTR reset jumper must NOT be installed in normal usage mode.** | ||
</WRAP> | </WRAP> | ||
+ | |||
{{http://dn.odroid.com/homebackup/show2_boarddetail.jpg}} | {{http://dn.odroid.com/homebackup/show2_boarddetail.jpg}} |