IOT Notice Board using Nodemcu ESP8266 & 8×8 LED Matrix

(Last Updated On: January 14, 2020)

IOT Notice Board

Description:

IOT Notice Board- In this tutorial, you will learn how to make an IOT “Internet of Things” based Notice Board using Nodemcu ESP8266 Wifi Module, Max7219 8×8 LED Matrix modules, and Blynk application. The scrolling text message on the 8×8 LED Matrix can be updated at any time from anywhere around the world using the Blynk application. The scrolling speed of the text message can be controlled using a variable resistor or a Potentiometer. This is version 3 of the 8×8 scrolling message which is entirely based on my previous two tutorials.

8×8 LED Matrix MAX7219 Control using Bluetooth and Arduino

Version1 is based on the computer-controlled scrolling text, while version2 is based on the Bluetooth controlled 8×8 LED Matrix Scrolling text display system. So, I highly recommend first read my previous two tutorials and then you can resume from here.

Without any further delay, let’s get started!!!

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

Nodemcu ESP8266 Wifi Module: https://amzn.to/2QIf5Yu

MAX7219 8X8 LED Matrix module: https://amzn.to/30h0k27

LM7805 Voltage Regulator: https://amzn.to/2Ra0Drc

Other Components and tools:

Mega 2560: https://amzn.to/2ze1kdu

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 / stripboard: 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

Wirecutter: https://amzn.to/2ucIq14

PCB small portable drill machine: https://amzn.to/2Nu62XF

*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!



8×8 Dot LED Matrix Module:

IOT Notice Board

An LED matrix or LED display is a large, low-resolution form of dot-matrix display, useful both for industrial and commercial information displays as well as for hobbyist human-machine interfaces. It consists of a 2-D diode matrix with their cathodes joined in rows and their anodes joined in columns (or vice versa). By controlling the flow of electricity through each row and column pair it is possible to control each LED individually. By multiplexing, scanning across rows, quickly flashing the LEDs on and off, it is possible to create characters or pictures to display information to the user.

In this project, we are going to make a smart notice board, which can be controlled using wifi “internet”. The scrolling text can be updated using the Blynk application.

Max7219 8×8 LED Matrix Module:

IOT Notice Board

This is the 8×8 dot LED Matrix module based on the MAX7219 chip. This module has a total of 10 pins. 5 pins on the input side and 5 pins on the output side. The pins on the input side are clearly labeled as CLK, CS, DIN, GND, and VCC. The pins on the output side are labeled in the same way except the middle pin which is labeled as the DOUT. So, these output pins are connected with the input pins of the other 8×8 dot Matrix LED module. So this way you can connect multiple 8×8 LED display modules which I will explain in the circuit diagram.

The module operating voltage is 5 Volts.


IoT Notice Board Circuit Diagram:

IOT Notice Board

This is the complete circuit diagram of the IoT based Notice Board. As you can see the circuit diagram is very simple. The 8×8 LED matrix display modules are connected in the cascaded form. The output clock pin of the first 8×8 LED module is connected with the input clock pin of the second 8×8 LED display module. similarly, the output CS pin of the first 8×8 LED module is connected with the input CS pin of the second 8×8 LED module, the DOUT pin is connected with the Din pin of the 2nd 8×8 LED module and similarly, the GND and VCC pins of the first 8×8 LED module are connected with the GND and VCC of the second 8×8 LED module. The same connections are done for the third 8×8 Matrix LED display module. You can increase and decrease the number of 8×8 Matrix LED modules as per your requirement.

The Clock pin, CS pin, and DIN pins of the first 8×8 Matrix LED module are connected with the Nodemcu ESP8266 digital pins D6, D7, and D8. While the GND and VCC pins are connected with the 5 Volts regulated power supply based on the LM7805 voltage regulator.  This power supply is used to power up the Nodemcu Module and all the 8×8 Matrix LED display modules. J1 is the female power jack and this is where we connect an adaptor, a 12 volts battery or a Solar Panel. Just by adding the solar panel you can turn this project into a solar-powered IoT Notice Board.

Finally, a variable resistor or Potentiometer R2 is connected with the Analog pin A0 of the Nodemcu Module. This variable resistor is used for controlling the scrolling speed of the text.


About the Nodemcu ESP8266 Power Supply PCB board and Sponsor:

IOT Notice Board

High quality & Only 24 Hours Build time

For the easy interfacing, I designed a PCB board for the Nodemcu ESP8266 Wifi Module. This PCB is sponsored and manufactured by the PCBway Company, which is one of the most experienced PCB and PCB assembly manufacturer. They create high-quality PCBs at reasonable prices. As you can see the quality is really great, the silkscreen is quite clear and the black solder mask looks amazing. I am 100% satisfied with their work. Now I can easily interface the Nodemcu ESP8266 Wifi module with the Arduino and other electronic devices.

Download Gerber files

Download link of the Nodemcu library for Cadsoft eagle

IoT Notice Board 8×8 LED Matrix Interfacing with Nodemcu ESP8266:

IOT Notice Board

All the connections are done as per the circuit diagram already explained. Now let’s have a look at the Nodemcu ESP8266 Wifi Module programming.


IoT Notice Board Programming using Arduino IDE:



IOT Notice Board program explanation:

All the libraries used in this project can be downloaded by clicking on the download link given below.

Download Arduino Libraries:

Arduino Libraries Download and Projects they are used in “Project codes”

This is almost the same program that I have already explained in my previous 8×8 LED Matrix-based projects, this time I added the libraries for the esp8266 and Blynk. Added the authentication token which is generated the time we create a new project in Blynk. I added the name of my wifi router and password.

I defined pins for the Variable resistor, DIN, CS, and Clock pins.

 String str;

 char cstr[100];

 unsigned int mlength; // message length

 int textspeed = 100; // default speed

Finally, I defined some variables of the typed string and char, and integer, which later will be used for converting a string message into an array of characters and controlling the scrolling speed of the text message.

The rest of the programming is exactly the same as explained in my previous tutorials. So that’s all about the IoT based Notice Board programming. Now, let’s make the Blynk application.


Cell phone application for the IoT Notice Board, Blynk App:

So finally, we need a cell phone application that we can use to send messages to the 8×8 Matrix LED. For this Blynk is the best choice, it’s free and easy to use.

  • First of all, open the blynk application.
  • Click on the create a new project, enter the project name, select Nodemcu, and make sure you select the wifi.
  • Click on the create button, an authentication token will be sent on your email id. This authentication token will be used in the programming, which you can see in the programming given above.
  • Now, click anywhere on the screen and search for the terminal widget and add it.
  • Click on the terminal widget, click on the pin and select virtual pin V4.

Our application is ready. For the step by step explanation, watch the video given below.


Watch Video Tutorial:

 

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

Close