bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more
Control a LED Matrix via web interface with Arduino ESP32
Via a local web server at the ESP we can change the ticker on the LED matrix (MAX7219 8x32)
Created by Markus Edenhauser, offered on Udemy
To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 210 students which left 7 reviews at an average rating of 4.43, which is below the average.
We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 2 hours 22 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 4 hours 58 minutes.
This course currently has a bestcourses score of 4.6/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.
We build this practical project step by step and you can download all the codes for each chapter. Frustration-free development is guaranteed!
In this video course you will learn how to control a 8x32 LED matrix (or a MAX72xx module). We use the MD_Parola library for this project. With this library we can control the text in many different ways. With this library we have the possibility to implement different ticker settings easily and fast. A text can slide in from one side and stop in the middle of the matrix for a certain time. The duration of the ticker can be adjusted and also the speed and brightness of the ticker can be easily adjusted.
We will also insert dot graphics that will make the text "disappear" as soon as the graphic slides over the text.
We will create a website in the course using a local web server running on the ESP32/8266. The web server will be configured in such a way that you can access the created (also in this course) website using a fixed IP address. On the website there is an input field where you can enter text. Using jQuery we send a GET request to the Arduino, which evaluates the content and displays it on the LED matrix. This way you can individually control the text via the web server.
The text as well as the website data are stored on the ESP using SPIFFS. This is the flash memory of the Arduino. This means that the current text can be displayed on the website after each opening. By storing the data on the flash memory, every person/end device that calls up the website can see the current text on the LED matrix. Thus, one could also design a larger advertising space via a web server. If the Arduino were disconnected from power, the content of the output would not disappear and would automatically output the text again when the power source is connected again.
We will also display the local time. For this we connect to a NTP server and download the current timestamp. We convert this timestamp into a readable date/time.
Last but not least, we fetch the current bitcoin price from a public interface. Thus you learn how to control public APIs with the Arduino and how to evaluate the return value using Arduino JSON.
After each video I have saved my code. You can download all codes, so you can get to the result without frustration.
We use the following components in this project.
MAX7219 8x32 LED-Matrix
Step-down-Modul for external 12v power supply (optional)
See you in class.
What you will learn
- Control of LED matrix via created web interface
- Using HTTP request to load data from public APIs
- Using JSON objects in Arduino
- Displaying graphics and text on a display
- First experience in Arduino development. You know how to use the IDE and include libraries.