We're no longer updating This wiki!!

WEATHER-BOARD with 16x2 LCD on ODROID-C1/C1+/C2

I2CA (/dev/i2c-1)

Pin NumberNet NameExport Number
C0/C1/C1+C2
3I2CA.SDA74205
5I2CA.SCL75206

I2CB (/dev/i2c-2)

Pin NumberNet NameExport Number
C0/C1/C1+C2
27I2CB.SDA76207
28I2CB.SCL77208

Settings I2C

Add I2C module

sudo modprobe aml_i2c
ls /dev/i2c-*

To always load the kernel module on boot up, run the following command.

echo "aml_i2c" | sudo tee -a /etc/modules

Download & Run

git clone https://github.com/hardkernel/WEATHER-BOARD.git
cd WEATHER-BOARD/c_weather
make

Check your I2C node, and run the program.

sudo ./weather_board

or

sudo ./weather_board /dev/i2c-2

en/wb_c_16x2lcd.txt · Last modified: 2017/07/06 15:30 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0