+21622886281
Arduino I2C LCD 1602 Display

Display text on the I2C LCD 1602A display with Arduino

Purpose of this tutorial:

In this tutorial we will see how to display text in an LCD display with Arduino.

1602 LCD I2C display:

The 16×2 text display is used to display sensor information, display menus or prompts. The screen displays black characters with a size of 5×8 pixels. The built-in backlight is turned on by applying power to the module pins. The 16×2 text display without IIC module is connected to the microcontroller by 16 pins. The pinout of the 1602a display with a connection example is shown in the image below.

The liquid crystal display has two rows of 16 characters, hence its name LCD 1602. The device memory has 192 characters, an additional 8 characters can be defined by the user. If you connect the display without an IIC module, you will need to use 6 general purpose ports at the Arduino microcontroller, not including the power supply. Assemble the circuit and load the following program into the board.

necessary components

  • Arduino UNO Board
  • 1602A LCD I2C display
  • connecting wires

Mounting

To complete the assembly you must connect:

  • the SDA pin of the LCD display to A4 PIN of the Arduino
  • the SCL pin of the LCD display to A5 PIN  of the Arduino
  • the GND pin of the LCD display to GND pin of the Arduino
  • the VCC pin of the LCD display to  5V pin of the Arduino

Program

Here is the program to display text on the LCD display.

 

Note: You must download the LiquidCrystal_I2C library(Download).




12 commentaires

Adrian 07-07-2222

Hi, I do believe your blog might be having web browser compatibility problems. When I take a look at your web site in Safari, it looks fine however when opening in I.E., it has some overlapping issues. I merely wanted to give you a quick heads up! Apart from that, excellent site!

Kermit 13-06-2222

Excellent article. I definitely love this website. Continue the good work!

Jack 09-06-2222

Wonderful blog! I found it while surfing around on Yahoo News. Do you have any tips on how to get listed in Yahoo News? I've been trying for a while but I never seem to get there! Thank you

Mabel 30-05-2222

I’m not that much of a online reader to be honest but your sites really nice, keep it up! I'll go ahead and bookmark your site to come back later on. All the best

Lester 24-05-2222

Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your site is great, as well as the content!

Belle 24-05-2222

Tremendous things here. I'm very happy to see your article. Thank you a lot and I am having a look forward to contact you. Will you kindly drop me a mail?

Roma 23-05-2222

When someone writes an piece of writing he/she keeps the plan of a user in his/her mind that how a user can be aware of it.

Magdalena 18-05-2222

I like the helpful information you provide in your articles. I will bookmark your weblog and check again here frequently. I'm quite certain I will learn many new stuff right here! Best of luck for the next!

Josephine 18-05-2222

My coder is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he's tryiong none the less. I've been using WordPress on a number of websites for about a year and am anxious about switching to another platform. I have heard good things about blogengine.net. Is there a way I can import all my wordpress posts into it? Any help would be really appreciated!

Bernd 27-04-2222

Does your blog have a contact page? I'm having problems locating it but, I'd like to shoot you an email. I've got some creative ideas for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it improve over time.

Colby 27-04-2222

Can I simply just say what a comfort to discover somebody that really knows what they're talking about on the internet. You definitely realize how to bring a problem to light and make it important. A lot more people should read this and understand this side of the story. I was surprised you aren't more popular since you most certainly possess the gift.

Conrad 27-04-2222

I don't even understand how I stopped up right here, but I assumed this post was once great. I don't recognise who you are but certainly you're going to a famous blogger in case you aren't already. Cheers!


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top