
Using an LCD — SIK Circuit 15
Anweisungen
Parts & Introduction
Parts & Introduction
A 16x2 character LCD can display 2 rows of 16 characters each. Using Arduino's LiquidCrystal library, you can display text, numbers, and custom characters. This is the HD44780 standard used by most character LCDs.
Parts Needed
- 1x Arduino Uno + USB cable
- 1x Breadboard
- 1x 16x2 Character LCD
- 1x Potentiometer (for contrast adjustment)
- 16x Jumper Wires
Materialien für diesen Schritt:
SparkFun Inventors Kit - V3.21 Set
Arduino Uno R31 Stück
Breadboard1 Stück
16x2 Character LCD1 Stück
Potentiometer (10K)1 Stück
Jumper Wires16 StückBenötigte Werkzeuge:
Hardware Hookup
Hardware Hookup
Wiring Instructions
The LCD has 16 pins. Pin 1 is closest to the corner of the board.
| LCD Pin | Connection |
|---|---|
| 1 | GND |
| 2 | 5V |
| 3 | Potentiometer wiper (contrast) |
| 4 | Arduino Pin 12 (RS) |
| 5 | GND (R/W) |
| 6 | Arduino Pin 11 (Enable) |
| 7-10 | Not connected |
| 11 | Arduino Pin 5 (D4) |
| 12 | Arduino Pin 4 (D5) |
| 13 | Arduino Pin 3 (D6) |
| 14 | Arduino Pin 2 (D7) |
| 15 | 5V (backlight +) |
| 16 | GND (backlight -) |
Connect the potentiometer: one side to 5V, other to GND, center pin to LCD pin 3 for contrast adjustment.
Materialien für diesen Schritt:
16x2 Character LCD1 Stück
Potentiometer (10K)1 Stück
Breadboard1 Stück
Jumper Wires16 StückArduino Code
Arduino Code
Open the Arduino IDE and upload the following sketch to your Arduino board.
Materialien für diesen Schritt:
Arduino Uno R31 StückBenötigte Werkzeuge:
Test & Experiment
Test & Experiment
What You Should See
"hello, world!" appears on the first line of the LCD. The second line shows a running counter of seconds since power-on. You may need to twist the potentiometer to adjust contrast until text is visible.
Troubleshooting
- Screen blank or solid blocks: Adjust the potentiometer until you see text. The contrast range is narrow.
- Nothing at all: Verify the LiquidCrystal library is included and all 16 wires are connected correctly.
- Flickering: Check breadboard connections — loose wires cause display glitches.
Experiments to Try
- Display the temperature sensor reading (from Circuit 7) on the LCD instead of the Serial Monitor.
- Use
lcd.setCursor(col, row)to place text at specific positions. - Create custom characters with
lcd.createChar()for icons and symbols. - Display messages from serial input — type on your computer, see it on the LCD.
Materialien
6- €90.00
- 1 StückPlatzhalter
- 1 StückPlatzhalter
- €13.00
- 1 StückPlatzhalter
You can swap these in
Can't get one of the materials? Swap it for an equivalent — these work just as well.
- Instead of Arduino Uno R3, try:
Prototyping Shield for Arduino Uno (3-Pack)
Arduino Uno R3 Board
Arduino Uno - Instead of Potentiometer, try:
Digital Potentiometer - 10K
SoftPot Membrane Potentiometer - 100mm
SoftPot Membrane Potentiometer - 50mm
SoftPot Membrane Potentiometer - 200mm
10K Ohm Linear Potentiometer (5-Pack) - Instead of Basic 16x2 Character LCD - 5V, try:
Arduino Display Module - 4.3 Touchscreen LCD
Basic 8x2 Character LCD - 5V
Serial Enabled 20x4 LCD - 5V - Instead of Breadboard, try:
Solder-able Breadboard
Recommended for this build
Products makers often use with builds like this one.
5mm LED Assortment Kit (300pcs, 5 Colors)Used together and in similar builds
Push Button - 33mmUsed together and in similar builds
Piezo ElementUsed together and in similar builds
Resistor 330 Ohm 1/6 Watt PTH - 20 packUsed together and in similar builds
Resistor 10K Ohm 1/6th Watt PTH - 20 packUsed together and in similar builds
Servo MotorFrequently used with this build's materials
BC547 NPN Transistor (50-Pack)Frequently used with this build's materials
Diode KitFrequently used with this build's materialsRelated blueprints
Other builds that share materials, tools, or techniques with this one.






CC0 Gemeinfrei
Dieser Blueprint ist unter CC0 veröffentlicht. Sie dürfen dieses Werk für jeden Zweck frei kopieren, ändern, verbreiten und verwenden, ohne um Erlaubnis zu fragen.
Unterstützen Sie den Maker, indem Sie Produkte über seinen Blueprint kaufen, wo er eine Maker-Provision von Anbietern festgelegt, verdient. Oder erstellen Sie eine neue Iteration dieses Blueprints und verbinden Sie ihn in Ihrem eigenen Blueprint, um Einnahmen zu teilen.