Saturday, November 7, 2026
HomeIoTSome Intelligent Coding Turns an ESP32 LED Matrix Right into a Low-Res...

Some Intelligent Coding Turns an ESP32 LED Matrix Right into a Low-Res Copy of Your Pc’s Desktop

[ad_1]

Pseudonymous maker “fabe1999” has written a program, which turns a low-resolution LED matrix construct round an Espressif ESP32 microcontroller right into a mirror of his laptop’s desktop — transmitted by way of Wi-Fi.

“I made a program to screencast my PC to the ESP[32] which is controlling my self-made LED matrix,” fabe1999 writes of the work. “The display screen seize basically takes a screenshot of the entire desktop and makes use of the coordinates of the window to reframe the picture so it matches the clear a part of the applying. This screenshot is than downscaled to an image with 14×16 pixels. From the rescaled [image] you possibly can merely request the RGB worth of every pixel and ship it to the matrix.”

This useful hack streams the contents of your major monitor to a low-res LED matrix, by way of Wi-Fi. (📹: fabe1999)

The undertaking builds on a bigger effort to create an software for designing and enjoying again customized animations, despatched to the ESP32-based matrix over a Wi-Fi hyperlink. There is a catch, nonetheless: maintaining with a rapidly-refreshing video isn’t any simple process.

“Each UDP [packet] incorporates the RGB values of a line (16 pixels),” fabe199 explains. “The ESP receives [the packet] and decodes the string to the matching LEDs on the matrix and show[s] the acquired colour values. I am at present sending 16 UDP packages for each Body and a brand new body is created each 100ms.

The undertaking stems from a broader effort to put in writing an animation utility in C#. (📹: fabe1999)

“However the ESP is just too sluggish and solely exhibits about 85% of the UDP [packets] despatched by this system. I attempted so as to add latency to extend the accuracy however that resulted in a really sluggish animation. And since each line of pixels get refreshed each 100ms if a [packet] obtained ignored the following one will repair it. (That is why there are typically traces which might be a body behind.)”

Extra particulars can be found on fabe1999’s Reddit thread, although not the C# supply code for the desktop-streaming software program. “It is in all probability higher to not take a look at the code,” the maker admits, “it is fairly janky.”

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments