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

This guide is tested on Ubuntu 16.04(kernel C1-3.10.104, C2-3.14.79).

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
$ sudo apt-get install git
$ 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