Projects / Parallel LCD wiring primer

Parallel LCD wiring primer

Beginner1.3 hGuided buildReviewed

Build it step by step

0 of 8 done
  1. UNO519 lux16X2

    Match every pin

    Read the numbers printed beside the LCD pins.

  2. UNO

    Wire power and contrast

    Pins 1, 2, 3 and the pot.

  3. UNO

    Wire RS, RW and E

    D12, ground and D11.

  4. UNO

    Wire the four data lines

    Pins 11 to 14 to D5, D4, D3, D2.

  5. UNO522 lux16X2

    Wire the backlight

    Pin 15 through 220 ohm to 5V, pin 16 to GND.

  6. UNO

    Upload the sketch

    Turn the pot until the text shows.

  7. UNO

    Read the uptime

    The second line counts seconds.

  8. UNO

    Compare

    Count the wires against an I2C backpack.

In short

How do you build a parallel LCD wiring primer?

Wire a 16x2 LCD the long way, with data lines and a contrast pot, to learn what the I2C backpack hides. You need Arduino Uno R3, 16x2 LCD blue backlight (parallel), Potentiometer 10 kΩ, Resistor 220 Ω, Jumper wires male to male (40 pcs, 20 cm) and Breadboard 830 Tie Points. It takes 8 steps and about 75 minutes.

Level
Beginner
Time
About 75 min
Parts
6

Parts list

Tick what you already own. It saves to My Garage, so “Build with what I have” knows.

Wiring

FromToWhy
LCD pin 1 (VSS)Uno GNDGround
LCD pin 2 (VDD)Uno 5VPower
LCD pin 3 (V0)Pot middle legContrast voltage
Pot outer legsUno 5V and GNDContrast range
LCD pin 4 (RS)Uno D12Register select
LCD pin 5 (RW)Uno GNDWrite only
LCD pin 6 (E)Uno D11Enable pulse
LCD pins 11 to 14 (D4 to D7)Uno D5, D4, D3, D2Four data lines
LCD pin 15 (A)220 ohm resistor to Uno 5VBacklight anode
LCD pin 16 (K)Uno GNDBacklight cathode

Code

A plain 16x2 character display has sixteen pins, and an I2C backpack hides most of them behind two wires. Wiring one the long way once shows you what the backpack does. Pins 1 and 2 give ground and 5 volts. Pin 3, V0, sets the contrast and must sit between about 0 and 1 volt for the characters to show, which the pot provides: too high a voltage makes the screen look blank, which is the most common first problem. RS tells the display whether a byte is a command or a character, E is a pulse that tells it to read the data, and RW is tied to ground because we only write. The display can take eight data lines, but the LiquidCrystal library uses four, D4 to D7, and sends each byte in two halves, so pins 7 to 10 stay unconnected. Pins 15 and 16 are the backlight and need a series resistor unless your module already has one. The sketch prints a line, creates a small heart character and shows the running time. When it works, count the wires you used, then compare with an I2C backpack, which needs only four: power, ground, SDA and SCL.

Runs on a virtual Arduino Uno in your browser, with sliders for the sensors. Happy with it? Verify and upload to your real board from the same page (Chrome or Edge on a computer).

#include <LiquidCrystal.h>

// RS, E, D4, D5, D6, D7
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

byte heart[8] = {
  B00000, B01010, B11111, B11111, B11111, B01110, B00100, B00000
};

void setup() {
  lcd.begin(16, 2);              // 16 columns, 2 rows
  lcd.createChar(0, heart);      // one custom character
  lcd.setCursor(0, 0);
  lcd.print("ElectroLark");
  lcd.write(byte(0));
}

void loop() {
  lcd.setCursor(0, 1);
  lcd.print("Uptime ");
  lcd.print(millis() / 1000);
  lcd.print(" s    ");           // spaces clear leftover digits
  delay(500);
}

Test checklist

What you should see at each check. If a reading is far off, stop and use the troubleshooting list.

CheckExpected
Power on with the pot lowBoxes on the top row
Turn the potText appears clearly
Second lineUptime counts up
Custom heartShows after the name
Unplug D4Garbled characters, showing why all four lines matter

If it does not work

Blank screen

Turn the pot slowly and check pins 1, 2 and 3.

Dark boxes only

Check E, RS and the four data wires.

Garbled text

A data wire is on the wrong pin.

No backlight

Check pins 15 and 16 and the resistor.

Text on one line only

Check lcd.begin(16, 2).

Still stuck? Find the fault step by step with your multimeter →

Ask Lark AI

Common questions

What parts do I need for the parallel LCD wiring primer?

Arduino Uno R3, 16x2 LCD blue backlight (parallel), Potentiometer 10 kΩ, Resistor 220 Ω, Jumper wires male to male (40 pcs, 20 cm) and Breadboard 830 Tie Points.

How long does the parallel LCD wiring primer take to build?

About 75 minutes for a beginner maker, in 8 steps.

How do I know the parallel LCD wiring primer works?

Power on with the pot low: Boxes on the top row. Turn the pot: Text appears clearly. Second line: Uptime counts up.

Blank screen: what should I check?

Turn the pot slowly and check pins 1, 2 and 3.

Dark boxes only: what should I check?

Check E, RS and the four data wires.

Garbled text: what should I check?

A data wire is on the wrong pin.

No backlight: what should I check?

Check pins 15 and 16 and the resistor.