Dripify stands with all people of Ukraine against the russian invasion Join us

Coupon code copied!

Jhd2x16i2c Proteus Free

The standard LM016L or JHD162A models in Proteus use 16 pins (Parallel). They do not natively support the 2-pin I2C interface (SDA, SCL).

One of the most fascinating aspects of using the JHD2X16I2C in Proteus is dealing with the I2C Address.

In the physical world, you have to check the solder bridges on the backpack to know the address (usually 0x27 or 0x3F). In Proteus, this is simulated elegantly. jhd2x16i2c proteus free

Here is free C code for Arduino IDE (exported as HEX for Proteus):

#include <Wire.h>
#include <LiquidCrystal_I2C.h>

// Set the I2C address (usually 0x27 or 0x3F) // For PCF8574 default address in Proteus is often 0x20 or 0x27 LiquidCrystal_I2C lcd(0x27, 16, 2); The standard LM016L or JHD162A models in Proteus

void setup() lcd.init(); // Initialize LCD (For Proteus, you might need lcd.begin()) lcd.backlight(); lcd.setCursor(0, 0); lcd.print("JHD2x16 I2C FREE"); lcd.setCursor(0, 1); lcd.print("Proteus Success!");

void loop() // Nothing here for static text void loop() // Nothing here for static text

Note: For Proteus simulation, compile this in Arduino IDE (free) and copy the HEX file path into the Arduino component in Proteus.