16x2 alphanumeric LCD and four push-button on Arietta G25

Daisy-24 is a mini I2C terminal which mounts a Winstar alphanumeric 16x2 chars LCD module and 4 push buttons. This article illustrates how to use it with Arietta G25

This is the wires between Arietta G25 and the Daisy-24 module:

Signal Description Arietta Pin # Daisy 24 pin
3V3 Power out 3.3 volt DC J4.5 3V3
SDA0 Data line bus 0 J4.14 SDA
SCL0 Clock line bus 0 J4.12 SCL
GND Ground J4.9 GND

Code examples

What to do if not works

Check if exists a device called i2c-0 by typing:

root@arietta:~# ls -al /dev/i2c-0
crw-rw---T 1 root i2c 89, 0 Jan  1 01:48 /dev/i2c-0

if it not exist go on the Device Tree Compiler page and create a new device tree file with i2c-0 enabled follow the instructions to copy the new device tree file on yoru microSD and reboot.

Related links