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 10:29] john1117 |
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 go 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. | ||
Line 9: | Line 9: | ||
===== Writing firmware the WEATHER-BOARD on Ubuntu ===== | ===== Writing firmware the WEATHER-BOARD on Ubuntu ===== | ||
- | == Settings Arduino IDE == | + | ==== Settings Arduino IDE ==== |
Install the Arduino IDE | Install the Arduino IDE | ||
sudo apt-get install arduino | sudo apt-get install arduino | ||
Line 16: | Line 16: | ||
arduino | arduino | ||
Download the WEATHER-BOARD source code | Download the WEATHER-BOARD source code | ||
- | <code> | + | sudo apt-get install git |
- | # sudo apt-get install git | + | git clone https://github.com/hardkernel/WEATHER-BOARD |
- | # cd ~/work | + | |
- | # git clone https://github.com/hardkernel/WEATHER-BOARD | + | |
- | </code> | + | |
- | == Setting Preferences == | + | ==== Setting Preferences ==== |
You MUST locate sketchbook path to WEATHER-BOARD directory. | You MUST locate sketchbook path to WEATHER-BOARD directory. | ||
Line 31: | Line 28: | ||
{{:en:weather_board:sketchbook.png?500|}} | {{:en:weather_board:sketchbook.png?500|}} | ||
- | == Compile and Upload == | + | ==== Add Libraries ==== |
- | Check the serial port between /dev/ttyUSBn and "tools -> Serial Port" of arduino IDE. | + | You need to add the WEATHER-BOARD libraries in the IDE through the menu skech -> import Library... -> Add Library...\\ |
+ | |||
+ | {{:en:weather_board:add_library.png?500|}} | ||
+ | |||
+ | The following way, add WEATHER-BOARD folder. (sketchbook folder) | ||
+ | |||
+ | {{:en:weather_board:add_library2.png?500|}} | ||
+ | |||
+ | ==== Compile and Upload ==== | ||
+ | Check the serial port between /dev/ttyUSBn and "tools -> Serial Port" of Arduino IDE. | ||
<code> | <code> | ||
# ls /dev/ttyUSB* | # ls /dev/ttyUSB* | ||
Line 38: | Line 44: | ||
{{:en:weather_board:serial.png?500|}} | {{:en:weather_board:serial.png?500|}} | ||
- | **Finally after connecting the jumper, click "upload" button of arduino IDE.** | + | Finally, after connecting the jumper, click "upload" button on Arduino IDE. |
+ | |||
+ | {{:en:weather_board:uploading.png?500|}} | ||
<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}} |