Home Arduino Projects Arduino Projects: Arduino LCD Display

Arduino Projects: Arduino LCD Display

by Nikodem Bartnik

We have used LCD displays in the previous posts with the I2C, but it is possible to use it without an I2C. Let’s see how this is done.

We will take the advantage to visit some of the useful function you can make use of when working with LCDs.

Using the Arduino serial LCD module

Arduino Projects: Arduino LCD Display

Here are the parts we will need

Follow the sketch below to connect the part together. Make sure the connections are right before powering up the project. A bad connection can easily damage the LCD.

There are 4 pins of the LCD we are not using, those pins are used to read data coming from the LCD which is not needed for this project. We are only using the LCD to write on, nothing more.

Arduino Projects: Arduino LCD Display

The Potentiometer is used to control the contrast of the LCD. In some case, you might need to rotate the potentiometer handle to see anything appearing on the LCD.

The last 2 pins of the LCD are used to light the LCD’s LED. You will need to connect them one pin to 5V and the other to Ground.

Arduino Projects: Arduino LCD Display
Arduino Projects: Arduino LCD Display

When you are done connecting everything, you can upload the following code to the Arduino. But before doing that you need to add the Adafruit_LiquidCrystal.h to your code. To do so, simply navigate to the library manager, search for LCD and it will be right there. Click on it to add it.

The major functions used here are clear, print, setCursor. These are really easy to use and self-explanatory.

That’s it for this session. Here are other projects where we made good use of the serial LCD module.

You might also like:

Related Posts

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy