We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:wb_odroid_show [2015/11/02 09:31]
john1117 [Install the arduino IDE]
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.
  
-===== Writing firmware the WEATHER-BOARD on ubuntu ​===== +===== Writing firmware the WEATHER-BOARD on Ubuntu ​===== 
-==== Download the WEATHER-BOARD source code ==== +==== Settings Arduino IDE ==== 
-<​code>​ +Install the Arduino ​IDE
-# sudo apt-get install git +
-# cd ~/work +
-# git clone https://​github.com/​hardkernel/​WEATHER-BOARD +
-</​code>​ +
-==== Install the arduino ​IDE ====+
   sudo apt-get install arduino   sudo apt-get install arduino
  
-==== Run arduino ​IDE ==== +Run Arduino ​IDE 
-Open "​show_main.ino"​ sketch file in this path.\\ +  ​arduino 
-ODROID-SHOW/show_main/show_main.ino+Download the WEATHER-BOARD source code 
 +  sudo apt-get install git 
 +  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}}
en/wb_odroid_show.1446426085.txt.gz · Last modified: 2015/11/02 09:31 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0