An I2c LCD screen like the Hd44780 model in A00 version (ascii support + Japanese characters) or A02 (ascii support + European characters).
Connecting the I2C on a Raspberry Pi
#Activate I2C
dtparam=i2c1=on
dtparam=i2c_arm=on
/boot/cmdline.txt
with nano or vim and add the following lines:bcm2708.vc_i2c_override=1
You will need to know the address of your I2C** to run some display scripts. Typically, the address is 0x27
or 0x3f
.
To check this:
i2cdetect -y 0
i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- 27 -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The address returned by the command in the table tells us: 0x27
This script is available in this discussion.