If everything is correctly configured, your LCD will display the characters as shown in the figure below. Remaining pin are grounded with ground terminal as shown in figure:Īfter completing the setup and uploading the code, run the simulation. SDA pin of I2C IC connect to PIN 21 of Arduino mega 2560.SCL pin of I2C IC connect to PIN 20 of Arduino mega 2560.
Setting up the connections for the LCD involves the following steps: To get started with the I2C LCD simulation in Proteus, you’ll need the following components: There is a second variant of this IC available in the market called the PCF8574A. If we look at the back of the board the pins are all labeled starting from. Then we have the 8 I/O pins plus one Interrupt pin (P0 to P7 ). The PCF8574 IC followed by the 3 jumpers for A0, A1 and A2 with high and low positions.