Jhd-2x16-i2c Proteus Today

| Problem | Solution | |--------|----------| | LCD shows only black boxes | Adjust contrast: Add a 10k pot to V0 pin of LM016L, even with I2C | | No display at all | Check if I2C address is correct (use I2C Debugger in Proteus) | | Compiler error: LiquidCrystal_I2C.h not found | Use #include <LiquidCrystal_I2C.h> and ensure the library is installed in Proteus > Library Manager | | Simulation runs too slow | Reduce I2C polling in code (add small delays) |

#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// Initialize the library with the I2C address found in Proteus
// Standard JHD simulation usually resolves to 0x27
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup() 
  // Initialize the LCD
  lcd.init();
// Turn on the backlight (simulation visual effect)
  lcd.backlight();
// Print a message
  lcd.setCursor(0, 0);
  lcd.print("JHD-2x16-I2C");
lcd.setCursor(0, 1);
  lcd.print("Proteus Sim OK");
void loop() 
  // Nothing to do here for static text

The JHD-2x16-I2C is a 16x2 character LCD with an onboard I2C (PCF8574) backpack. It significantly reduces the number of MCU pins required from 6 (or more) down to just 2: SDA and SCL.

In Proteus 8 Professional or later, you can simulate this exact model without building physical hardware. jhd-2x16-i2c proteus

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

LiquidCrystal_I2C lcd(0x20, 16, 2); // Address 0x20, 16x2

void setup() lcd.init(); lcd.backlight(); lcd.setCursor(0, 0); lcd.print("Hello Proteus!"); lcd.setCursor(0, 1); lcd.print("JHD-2x16-I2C OK"); | Problem | Solution | |--------|----------| | LCD

void loop() // Your code here

Important: In Proteus, you must include the LiquidCrystal_I2C library in the Arduino sketch properties. You may need to copy the library files into the Proteus Arduino library folder.

| Feature | Specification | |-----------------------|-----------------------------| | Display format | 16 characters × 2 lines | | Interface | I2C (only 2 pins: SDA, SCL) | | I2C address | Typically 0x27 or 0x3F | | Backlight | Yes (controlled via I2C) | | Operating voltage | 5V DC | | Controller chip | PCF8574 (I2C I/O expander) | The JHD-2x16-I2C is a 16x2 character LCD with

Note: The JHD-2x16 in Proteus is often represented as LCD PCF8574 or LM044L with an I2C backpack.