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_c_16x2lcd [2015/11/02 17:05]
john1117
en:wb_c_16x2lcd [2017/07/06 15:30] (current)
john1117 [WEATHER-BOARD with 16x2 LCD on ODROID-C]
Line 1: Line 1:
-====== WEATHER-BOARD with 16x2 LCD on ODROID-======+====== WEATHER-BOARD with 16x2 LCD on ODROID-C1/​C1+/​C2 ​======
 [[http://​www.hardkernel.com/​main/​products/​prdt_info.php?​g_code=G141637550797|{{:​en:​weather_board:​wb_16x2.png?​400|}}]] [[http://​www.hardkernel.com/​main/​products/​prdt_info.php?​g_code=G141637550797|{{:​en:​weather_board:​wb_16x2.png?​400|}}]]
-====== I2C settings ​======+ 
 +**I2CA (/​dev/​i2c-1)** 
 +^Pin Number^Net Name^Export Number^^ 
 +^:::​^:::​^C0/​C1/​C1+^C2^ 
 +|3|I2CA.SDA|74|205| 
 +|5|I2CA.SCL|75|206| 
 + 
 +**I2CB (/​dev/​i2c-2)** 
 +^Pin Number^Net Name^Export Number^^ 
 +^:::​^:::​^C0/​C1/​C1+^C2^ 
 +|27|I2CB.SDA|76|207| 
 +|28|I2CB.SCL|77|208| 
 +====== ​Settings ​I2C ======
 Add I2C module Add I2C module
   sudo modprobe aml_i2c   sudo modprobe aml_i2c
   ls /dev/i2c-*   ls /dev/i2c-*
-<code bash> 
-/​dev/​i2c-1 ​ /​dev/​i2c-2 ​ /​dev/​i2c-3 ​ /dev/i2c-4 
-</​code>​ 
  
 To always load the kernel module on boot up, run the following command. To always load the kernel module on boot up, run the following command.
   echo "​aml_i2c"​ | sudo tee -a /​etc/​modules   echo "​aml_i2c"​ | sudo tee -a /​etc/​modules
 +  ​
 +
 ====== Download & Run ====== ====== Download & Run ======
   git clone https://​github.com/​hardkernel/​WEATHER-BOARD.git   git clone https://​github.com/​hardkernel/​WEATHER-BOARD.git
Line 16: Line 27:
   make   make
 Check your I2C node, and run the program. Check your I2C node, and run the program.
-  sudo ./wether_board+  sudo ./weather_board
 or or
   sudo ./​weather_board /dev/i2c-2   sudo ./​weather_board /dev/i2c-2
  
-{{:​en:​weather_board:​print_wb.png?​400|}}+{{:​en:​weather_board:​print_wb.png?​500|}}
en/wb_c_16x2lcd.1446453325.txt.gz · Last modified: 2015/11/02 17:05 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0