Arduino Uno | 16x2 I2C LCD Display | Tutorial & Project


Arduino Uno | 16x2 I2C LCD Display | Tutorial & Project

Arduino Uno is a microcontroller-based development board developed by Arduino.cc. It contains Atmel ATmega328P, 8-bit Microcontroller. Arduino Uno supports Two Wire Interface or I2C communication by using the Wire library.

16x2 I2C LCD Display can able to display 16x2 characters on 2 rows. It has a Hitachi HD44780 LCD controller chip. 16x2 I2C LCD Display uses a I2C module, which contains an NXP PCF8574T chip. The chip provides general purpose remote input/output expansion via the Two Wire bidirectional I2C bus. We can control the backlight of the LCD Display by the on-board jumper and can also adjust contrast of the LCD Display by the on-board potentiometer. This 16x2 I2C LCD Display has a default I2C address of 0x27.

COMPONENTS REQUIRED

Components that are required:




- Type-A to Type-B USB Cable: http://s.click.aliexpress.com/e/b28H8fFw

CONNECTIONS

Arduino Uno | 16x2 I2C LCD Display | Tutorial & Project | Connections

Now, let’s see the connections.

- Connect the SDA Pin of 16x2 I2C LCD Display to the SDA Pin of Arduino Uno.

- Connect the SCL Pin of 16x2 I2C LCD Display to the SCL Pin of Arduino Uno.

- Connect the VCC Pin of 16x2 I2C LCD Display to the 5V Pin of Arduino Uno.

- Connect the GND Pin of 16x2 I2C LCD Display to the GND Pin of Arduino Uno.

- Connect the one end of USB cable to the Arduino Uno, and another end to the Computer.

PROGRAMMING

In this tutorial, we will use Arduino IDE to program the board. Software and Source Code that are required:



Now, let’s program the board.

- Open the sketch in the Arduino IDE.

- Select the proper Board from the Tools menu of Arduino IDE.

- Select the proper Serial Port from the Tools menu of Arduino IDE.

- Include the required Library from the Sketch menu of Arduino IDE.

- Click on the Upload button to upload the sketch to the board.

If the upload is successful, the message "Done uploading" will appear in the status bar of Arduino IDE. After a few seconds, you should see the text is displayed on the LCD Display.

Comments

Popular posts from this blog

Heltec ESP32 LoRa DevKit | LoRa Controlled Robot Car | Tutorial & Project

DOIT ESP8285 DevKit | Getting Started & Programming | Tutorial & Project