|
ESP-12F(ESP8266MOD)Ai-Thinker
|
x 1 |
|
Soldering iron |
|
|
Soldering Iron Wire Welding Lead Roll |
|
|
MINIWARE MHP30 Mini Hot Plate Preheater |
P10 Display WiFi Controller Board (ESP8266 - MQTT)
How it Works?
In this project, I will show you how to wirelessly send scrolling text to P10 LED display using ESP module, MQTT and smartphone. It is an "Internet of Things" project, a display connected to a WiFi network using ESP8266 module and data communication between this LED display and a smartphone using the MQTT protocol.
The PCB I designed combines the ESP module and the P10 LED display, allowing you to control this display over WiFi. In this project, you will see how to solder the PCB, programming it and then use it in your project to display the messages or images you want on the LED display.
Printed Circuit Board
I designed a Printed circuit board for this project and ordered it from PCBWay. Why not a breadboard circuit? Because breadboard circuits are ideal for testing and running small-scale designs, they are not durable for long-term use. Printed circuit boards, are used to design electronic circuits more durable and stable for long-term use. If you want to have this PCB, you can find the order link in the descriptions!
SMD Components and Stencil
Some "surface mount device" ie SMD components are preferred in this board, this affects the size and cost of the board design. For the assembly of SMD components, a stencil is generally preferred.
Solder stencils help to accurately apply solder paste in position of components and the stencil is usually ordered with the PCB. This process is simple, first fix the printed circuit board and place the stencil to match the board. Then put some solder paste on the stencil with the help of a spoon and spread it with a spatula.
Place the necessary components on the PCB
After applying the solder paste, it is necessary to place the required components on the PCB.
Where to place these components is usually indicated by a designator or footprint reference. These references are used as part of the PCB design and ensure the correct placement of components. Designator shows what a component is and where it is located. For example, a resistor's designator starts with a number such as "R1", "R2", which indicates the resistor's position on the PCB. A footprint specifies the physical dimensions of a component and the locations of its ports.
Soldering
After the components are placed on the solder pads with the help of solder paste, the soldering process begins. Soldering is usually done with a hot plate machine or a hand soldering iron.
The soldering machine heats and melts the solder paste and fixes the components in place. After the soldering is complete, the components are completely fixed in place when the solder paste has cooled. After soldering a few more components, the board will be complete. These components are a few headers and a screw terminal block. It can be easily soldered with a soldering iron.
Programming
MQTT
Now it's programming time, grab a cup of coffee! The MQTT protocol is a messaging method that facilitates data communication. In this method, data is shared between devices through a server called "Broker". "Broker" is an intermediate server that will provide data communication between your smartphone and the ESP8266 device. You can use an MQTT broker like Mosquitto or HiveMQ. Devices are connected to the Broker by naming a "Topic" and send and receive data over this "Topic".
MQTT Broker
An MQTT broker, which is the heart of the MQTT Publish/Subscribe protocol, is a server that receives all messages from the MQTT clients and then routes the messages to the appropriate subscribing clients - https://www.hivemq.com/public-mqtt-broker/
Source Code and Library
Although this method of communication sounds complicated, we will use a library shared by "Ronin" that makes it easy. Download library from shared link and open source code with "Arduino IDE".
https://github.com/byronin/MQTT-DMD/tree/main/Lib%26Software
It is enough to enter the network connection information and MQTT parameters in the code. If you are going to program an ESP8266 for the first time, install the ESP8266 from Board manager and go to settings and add the shared URL for the ESP8266. Finally, you need to install the "Client" library used in the code.
ESP8266 package link - http://arduino.esp8266.com/Arduino/versions/2.0.0/doc/installing.html
USB to TTL
If the code is ready, let's move on to the installation part! A USB converter is required to program the ESP modules. USB to TTL converters are used to connect to the ESP, program it and operate the device using serial communication.
Connect the board to the converter and connect it to the computer. The important point here is that it should be fed with 3.3V.
A one-time process must be taken when using the ESP for the first time. Press the "Reset" and "Flash" buttons at the same time, then release the "Reset" button first, then the "Flash" button. This will make the ESP ready for code. After this process, you can upload the code by selecting the port.
P10 LED Display
P10 LED displays are generally used to design outdoor or indoor LED display panels.
The P10 screen size is 32 by 16, which means there are 32 LEDs in each row and 16 LEDs in each column. That is, each panel unit has a total of 512 LEDs.
There are 3 ports on the back of the P10 screen. One of the ports is the pin inputs for the microcontroller, the power inputs in the middle, and finally the port used to connect more panels together.
Each panel needs 5 volts, also 5 volts is required for the ESP controller. I created a common line for both. Meanwhile each panel needs about 3 amps. Then connect the common ground line.
How to print text wirelessly via MQTT!
When the screen is powered on, the welcome message specified in the source code will be displayed first. Now let's take a look at how to print text wirelessly via MQTT! There are several MQTT tools for this, I will control it via an android based smartphone.
It will be enough to install the application on the phone and enter the necessary parameters and run it. There are 2 important points here, the first is to depend on the network parameters specified in the code, and the second is to enter the "Topic" parameter specified in the code.
Now you can print the scrolling text on the P10 screen by entering the desired message. Please don't forget to subscribe and hit the like button for more content! Thanks for reading.
P10 Display WiFi Controller Board (ESP8266 - MQTT)
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(6)
- Engineer Sep 24,2023
- Engineer Jun 26,2023
- Camilo Parra Apr 12,2023
- Shogun112 Jan 30,2023
- Engineer Jan 28,2023
- MERT KILIC Dec 28,2022
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by MERT KILIC
- Creative Pogo LED Lighting Design Hi everyone! Welcome to my latest project: a modular, plug-in LED lighting system that is as fun as ...
- Build a simple 3D printed CNC plotter machine Hi friends, do you remember this Mini CNC Plotter machine that uses hobby stepper motors and a few 3...
- Circuit Activity Board - Educational Electronics Circuit Activity Board – A Hands-On Project to Learn Basic ElectronicsIn this project, we're going t...
- Build a Simple 3D Wall Lighting Hi friends, this project shows how to make and control 3D hexagonal LED lighting panels. The project...
- Robot Sumo Board Robot-sumo, or pepe-sumo, is a sport in which two robots attempt to push each other out of a circle ...
- ESP32 Mecanum Wheels Robot and Bluetooth Gamepad Controller In this project we will see how to make an ESP32 Mecanum Wheels Robot which is capable of moving in ...
- DIY Motorized WiFi Roller Blind - ESP8266 & Blynk In this project we will see how to control a roller blind via a smartphone application. The reason w...
- Pet Feeder Controlled Via WiFi - ESP8266 How It Works?As you can see, a 3D design was used for the pet feeder. ESP8266-based Wemos D1 Mini bo...
- ESP8266 Two Wheel Robot (NodeMCU and Stepper Motor) Generally, robot cars are built on a chassis with 2 DC motor wheels and a bovine wheel. While surfin...
- 3D Printed Rotating Table Board with Arduino Nano and 28BYJ-48 Stepper Motor This project shows how to make a 3D printed Rotating Table using Arduino and a hobby stepper motor. ...
- Hand Gesture Controller for Robotic Hand Gesture Controller for RoboticThe hand gesture controller makes it possible to control applicat...
- How To Make DIY Remote Control Hoverboat at Home In this video, I showed you how to make your own hoverboat from materials available at home and chea...
- How to Make DIY Arduino Gesture Control Robot at Home Parts Required for Receiver (Tank):1) Robot Tank Chassis - https://bit.ly/3j8y2Q52) Arduino Nano V3 ...
- DIY Circuit Activty Board with Paperclips | MAKER | STEM You can be creative and design your own circuit and add different sensors (other LEDs...). The idea ...
- ATtiny85 Wearable Activity Tracking Watch How to make the wearable activity tracking watch? This is a wearable gadget designed to vibrate when...
- Face With Animatronic Eyes, Motion Detection and Voice Are you ready to create something both eerie and captivating? This project combines 3D printing, ser...
- Build a simple 3D Arduino Mini CNC Plotter Hi friends, we will see how to make a simple and awesome mini CNC plotter machine in this project. I...
- Build a simple 3D Sphere Drawing Robot (SphereBot - EggBot - EggDuino) Hi friends in this video we will see how to make a simple and awesome sphere drawing robot. Actually...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
124 0 0 -
DIY Laser Power Meter with Arduino
172 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
162 0 2 -