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:33] 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 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. | ||
- | ====== 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 | ||
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 ==== |
+ | 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. | Check the serial port between /dev/ttyUSBn and "tools -> Serial Port" of Arduino IDE. | ||
<code> | <code> |