Introduction: Non-I2C LCD (16x2) Arduino

About: I primarily do Arduino instructables, because I like wiring and coding :D

Welcome back to another Instructable. Today, I will be showing you how to correctly wire and code your LCD.

Supplies

For this tutorial, you will need the following.

  1. LCD (16x2): https://s.click.aliexpress.com/e/_DkBPmvn (x1)
  2. Arduino Uno R3: https://a.co/d/0lki3hk (x1)
  3. Jumper Wires: https://s.click.aliexpress.com/e/_DEv98Cd (x12)

Step 1: Wiring

For this step, you might want to use the picture above. But some of the pins are self-explanatory.

Note: The resistor on the LED anode is 68 Ω, 100 Ω will work too.

Step 2: Coding

Now, it is time to code our LCD. This shouldn't be too hard, since we are still using Adafruit's LiquidCrystal library. Below, I have linked a file containing our code, but you can copy and paste it from here.

Note: You're pins may not be the same as mine, if you wired it differently, I will provide a key to the pins below.

RS=Register-Select, EN=Enable, D4=DB4 (Rest of the D4, D5, is self explainatory)

#include <LiquidCrystal.h>

const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2; // Replace with your pins
LiquidCrystal lcd (rs, en, d4, d5, d6, d7);

void setup() {
lcd.begin(16, 2);
lcd.print("Hello, World!");
}

void loop() {
// No loop code
}


There you have it! Your very own, non-I2C LCD! If you liked this instructable, please favorite it!

Attachments