Projects / Solder your own LCD backpack

Solder your own LCD backpack

Beginner2 hGuided buildReviewed

Build it step by step

0 of 8 done
  1. UNOHelloPCF8574Hello1602

    Check the pin order

    Pins on the backpack line up with the LCD pads.

  2. UNOHelloPCF8574

    Fit the adapter

    Pins through the pads, board flat.

  3. UNO

    Solder pin 1

    Check the alignment.

  4. UNO

    Solder the other pins

    A short, clean joint on each.

  5. UNO

    Inspect for bridges

    Look for solder between neighbours.

  6. UNO

    Wire to the Uno

    GND, 5V, SDA to A4, SCL to A5.

  7. UNO

    Scan for the address

    Note the hex value.

  8. UNO

    Print text

    Adjust the contrast with the trimmer.

In short

How do you build a solder your own LCD backpack?

Solder a small I2C adapter onto a plain 16 by 2 LCD, find its address and compare the two-wire connection with the wiring the bare LCD needs. You need Arduino Uno R3, I2C LCD adapter (PCF8574 backpack), 1602 Character LCD, Jumper wires male to male (40 pcs, 20 cm) and Breadboard 830 Tie Points. It takes 8 steps and about 120 minutes.

Level
Beginner
Time
About 120 min
Parts
5

Parts list

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

Wiring

FromToWhy
Backpack GNDUno GNDGround
Backpack VCCUno 5VPower for the LCD and backlight
Backpack SDAUno A4I2C data
Backpack SCLUno A5I2C clock
Backpack 16 header pinsLCD 16 pads, pin for pinSoldered joint, pin 1 first
Backpack blue trimmerTurn with a small screwdriverSets the contrast

Code

A plain 16 by 2 character LCD needs six or more signal wires plus power and a contrast pot, which uses up many pins and makes a mess on a breadboard. A small adapter board with a PCF8574 chip converts it to just two I2C wires, SDA and SCL, plus power and ground. Fitting the adapter is a short soldering job, since its sixteen pins line up with the sixteen pads of the LCD. Put the adapter on the back with the pins through the holes, solder one pin first so the board stays flat and straight, check the alignment, then solder the rest. Use a clean tip, a little solder and no more than a few seconds per joint, and look at the joints for solder bridges between neighbouring pins. Once it is on, run the scanner sketch to find the address, usually 0x27 or 0x3F, put that address in the LCD sketch, and print some text. If you only see blocks or nothing, turn the blue trimmer pot on the backpack to set the contrast. Solder in a ventilated space and keep the iron in its stand.

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).

// Step 1: run this scanner first to find the I2C address of the backpack.
#include <Wire.h>

void setup() {
  Wire.begin();
  Serial.begin(9600);
  Serial.println("Scanning...");
  for (byte addr = 1; addr < 127; addr++) {
    Wire.beginTransmission(addr);
    if (Wire.endTransmission() == 0) {
      Serial.print("Found device at 0x");
      Serial.println(addr, HEX);              // usually 0x27 or 0x3F
    }
  }
  Serial.println("Done");
}
void loop() {}

// Step 2: replace the sketch with this one, using the address you found.
// #include <Wire.h>
// #include <LiquidCrystal_I2C.h>
// LiquidCrystal_I2C lcd(0x27, 16, 2);        // change 0x27 to your address
// void setup() {
//   lcd.init();
//   lcd.backlight();
//   lcd.setCursor(0, 0);
//   lcd.print("Hello, ElectroLark");
//   lcd.setCursor(0, 1);
//   lcd.print("I2C backpack OK");
// }
// void loop() {}

What the serial monitor should show

Open the serial monitor at the baud rate in the code. This is what our simulator prints for a virtual Arduino Uno with its sensors at their default values. Your numbers will follow your real readings, but the format should match.

Scanning...
Found device at 0x27
Done

Test checklist

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

CheckExpected
Scanner sketchOne device found, usually at 0x27 or 0x3F
LCD with backlightBacklight glows
Contrast set rightCharacters are clear, not blocks
Hello messageTwo lines of text show
Wire countTwo signal wires against about six for a bare LCD

If it does not work

Scanner finds nothing

Check SDA and SCL are on A4 and A5.

Only blocks show

Turn the contrast trimmer.

Garbled text

Check for a solder bridge or a bad joint.

Wrong address

Use the address from the scanner.

Backlight off

Check the jumper on the backpack.

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

Ask Lark AI

Common questions

What parts do I need for the solder your own LCD backpack?

Arduino Uno R3, I2C LCD adapter (PCF8574 backpack), 1602 Character LCD, Jumper wires male to male (40 pcs, 20 cm) and Breadboard 830 Tie Points.

How long does the solder your own LCD backpack take to build?

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

How do I know the solder your own LCD backpack works?

Scanner sketch: One device found, usually at 0x27 or 0x3F. LCD with backlight: Backlight glows. Contrast set right: Characters are clear, not blocks.

Scanner finds nothing: what should I check?

Check SDA and SCL are on A4 and A5.

Only blocks show: what should I check?

Turn the contrast trimmer.

Garbled text: what should I check?

Check for a solder bridge or a bad joint.

Wrong address: what should I check?

Use the address from the scanner.