On one side of the module, we see I2C pins – ground, power, and 2 for data transfer. Therefore, the most affordable and popular option today is to buy and use a separate I2C module – adapter, which looks like this: But a variety of standard screens have already been released in huge numbers. But there are not many of them, and they are not cheap. The fastest and most convenient way to use the I2C display in the Arduino is to buy a ready-made screen with built-in protocol support.
I2C/IIC (Inter-Integrated Circuit) – is a protocol originally created to communicate integrated circuits in an electronic device. Description of the I2C Protocolīefore discussing connecting the display to the Arduino with an i2C adapter, let’s talk briefly about the i2C protocol itself.
Using I2C reduces the number of wires to 4 and the occupied pins to 2. The standard circuit for connecting the monitor directly to an Arduino microcontroller without I2C is as follows.īecause of the number of pins you have to connect, you may not have enough space to connect all the parts you need.
If the pins are not enough, you will have to buy an Arduino Mega board or save the pins by connecting the display via I2C, among other things. So using this LCD screen without i2c adds serious limitations for Arduino Uno or Nano boards.
But the most important disadvantage of this screen is the fact that the display has 16 digital pins, of which at least six are mandatory.
Arduino i2c example two way data communication download#
It is inexpensive, there are different backlight colors, and you can easily download ready-made libraries for Arduino sketches. The LCD 1602 Liquid Crystal Display is a good choice for displaying character strings in various projects.