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/10/29 18:07] 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 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. | ||
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 on Ubuntu ====== | ||
+ | ===== Writing firmware the WEATHER-BOARD on Ubuntu ===== | ||
+ | ==== Settings Arduino IDE ==== | ||
+ | Install the Arduino IDE | ||
+ | sudo apt-get install arduino | ||
+ | |||
+ | Run Arduino IDE | ||
+ | arduino | ||
+ | Download the WEATHER-BOARD source code | ||
+ | sudo apt-get install git | ||
+ | git clone https://github.com/hardkernel/WEATHER-BOARD | ||
+ | |||
+ | ==== Setting Preferences ==== | ||
+ | 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|}} | ||
+ | |||
+ | ==== 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. | ||
+ | <code> | ||
+ | # ls /dev/ttyUSB* | ||
+ | </code> | ||
+ | {{:en:weather_board:serial.png?500|}} | ||
+ | |||
+ | Finally, after connecting the jumper, click "upload" button on Arduino IDE. | ||
+ | |||
+ | {{:en:weather_board:uploading.png?500|}} | ||
+ | |||
+ | <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}} |