IOT 16×2 LCD using Nodemcu esp8266, wireless LCD Display

(Last Updated On: July 18, 2019)

iot 16x2 LCD

Description:

IOT 16×2 LCD can be used for the remote data monitoring using Nodemcu Esp8266 wifi Module and Blynk Application. I have been using 16×2 LCD for displaying the sensors data. 16×2 LCD Physical interfacing with Arduino or Mega or Nodemcu esp8266 wifi module is really a hectic job, as it needs a lot of soldering and needs many IO pins to control a 16×2 LCD.

In this Tutorial, you will learn how to use a 16×2 LCD on your cell phone and display the sensor values and text messages just like the ordinary 16×2 LCD. But this version of the 16×2 LCD is pretty advanced as this is an IOT based LCD. You can also call this a wireless LCD, with the help of this LCD you can monitor your sensors from anywhere around the world using your cell phone.


In this Article based on the IOT 16×2 LCD display system, I will explain the very basic things, how to use the 16×2 LCD widget in blynk application. For the demonstration purposes I will use a variable resistor with the analog pin A0 of the Nodemcu module, so that you can easily understand the basics. While in the next tutorial I will show you how you can use this LCD with Arduino in an advanced level project, in which the Nodemcu esp8266 wifi module will be interfaced with the Arduino. So the next Tutorial will be based on the 110/220V ac mains frequency monitoring system using the 16×2 LCD widget in blynk application.

The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Nodemcu esp8266 wifi module: Best price https://amzn.to/2NAvmiB
16×2 LCD: https://amzn.to/2FcXuUS
330 ohm resistors pack: https://amzn.to/2NtlAeh
5v 2A adaptor: https://amzn.to/2GsNfcw
2n2222 npn transistors: https://amzn.to/2EmXsIb
10k Resistor: https://amzn.to/2KTd6OW
lm7805 Voltage Regulator: https://amzn.to/2IZEl5x
330-ohm resistors pack: https://amzn.to/2NtlAeh
female DC power jack socket: https://amzn.to/2KEo1gt
470 uf capacitors: https://amzn.to/2xDCOzf
5×7 cm vero board: https://amzn.to/2OHGbvn
female headers: https://amzn.to/2zqmtiJ
connection wires: https://amzn.to/2DpBuW7
Super Starter kit for Beginners: https://amzn.to/2KJvmKG
Jumper Wires: https://amzn.to/2KMoVXs
Bread Board: https://amzn.to/2MS4q8X
12v Adaptor: https://amzn.to/2Ntr6h1
PCB plate: https://amzn.to/2IUwpCt
Variable Supply: https://amzn.to/2MT4Qfj
Digital Multimeter: https://amzn.to/2Nvft9i
Vero Board / strip board: https://amzn.to/2MTf9jD
Soldering iron kit: “best” You guys should definitely purchase this: https://amzn.to/2zfoNuJ
Solder wire: https://amzn.to/2ufUMWf
Wire Stripper: https://amzn.to/2KOqxfU
wire cutter: https://amzn.to/2ucIq14
PCB small portable drill machine: https://amzn.to/2Nu62XF

Circuit Diagram of the iot 16×2 LCD:

iot 16x2 LCD

This is the complete circuit diagram designed in cadsoft eagle 9.1.0 version. If you want to learn how to make schematics and pcb’s then watch the below tutorial.

Let’s start with the power supply, J1 is a dc female power jack where we can connect a 12v adaptor or a battery, this 12v will be used for powering up the Nodemcu module. As you can see this 12v is connected with the input of the 7805 voltage regulator. 470uf capacitors are connected at the input and output of the voltage regulator. A 330 ohm resistor is connected in series with the led.



This is a current limiting resistor. The output pin of the 7805 voltage regulator is connected with the Vin pin of the Nodemcu module while the ground is connected with the ground. Make sure you connect all the grounds together. A0 pin of the Nodemcu will be used for monitoring the variable resistor; this variable resistor can be replaced with any analog sensor.  As you can see the variable resistor middle pin is connected with A0 pin of the Nodemcu while the rightmost and leftmost pins of the variable resistor are connected with 3.3v and gnd. Now let’s make an application using Blynk. I will be doing the screen recording, so that you can easily understand.


Blynk Application Designing for the IOT 16×2 LCD Display Widget:

  • First of all open the blynk application.
  • Click on the new project.
  • set the project name as lcd.
  • Click on the choose device and select Nodemcu and make sure you set the connection type to wifi, then click on the create button, an authentication token will be send on your email id, which will be then used in programming, simply copy and paste it in programming.
  • Click anywhere on the screen and search for the lcd widget and add it.
  • click on the lcd widget, change the input type to advanced then click on the pin and select virtual pin V2. If you want you you can change the screen color and fonts color. if you want you can select any other color.

iot 16x2 LCD

  • our application is ready and now let’s discuss the programming….

For the Step by Step cell phone Blynk Application designing watch video Tutorial available at the end of this Article.


Nodemcu ESP8266 wifi Module Programming:

Before you start the programming for the iot 16×2 LCD Project first of all make sure that you download all the necessary libraries and you install the Nodemcu board and you also install a driver for the USB UART. I have a separate video on this given below

 

Unlike Arduino  and Mega, Nodemcu also  has at least two functions, which are the void setup and void loop functions.  Void means that this function is not returning any value and the empty parenthesis means that these functions are not taking any arguments as the input.



Watch Video Tutorial:

 

Iot 16×2 LCD Related Project:

Nodemcu ESP8266 IOT Power Lines Mains frequency monitoring 50Hz

 

IOT Water Quality monitoring using Arduino,pH Sensor,Nodemcu ESP8266

 

 

 

 

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...

Leave a Reply