NodeMcu ESP8266 DevKit | 16x2 I2C LCD Display | Tutorial & Project


NodeMcu ESP8266 DevKit | 16x2 I2C LCD Display | Tutorial & Project

NodeMcu ESP8266 DevKit is a microprocessor-based development board developed by NodeMcu Team. It contains ESP12E Wi-Fi Module, which integrates an ESP8266EX Wi-Fi System-on-a-Chip (SoC). NodeMcu ESP8266 DevKit 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:

- NodeMcu ESP8266 DevKit: http://s.click.aliexpress.com/e/c5fWjmAM


- 400 Tie-Points Breadboard: http://s.click.aliexpress.com/e/b9Q3KNu8


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

CONNECTIONS

NodeMcu ESP8266 DevKit | 16x2 I2C LCD Display | Tutorial & Project | Connections

Now, let’s see the connections.

- Connect the SDA Pin of 16x2 I2C LCD Display to the Digital Pin D2 of NodeMcu ESP8266 DevKit.

- Connect the SCL Pin of 16x2 I2C LCD Display to the Digital Pin D1 of NodeMcu ESP8266 DevKit.

- Connect the VCC Pin of 16x2 I2C LCD Display to the VIN Pin of NodeMcu ESP8266 DevKit.

- Connect the GND Pin of 16x2 I2C LCD Display to the GND Pin of NodeMcu ESP8266 DevKit.

- Connect the one end of USB cable to the NodeMcu ESP8266 DevKit, 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