Home Arduino From Microcontroller to Mini TV: Greening’s ESP32 Breakthrough

From Microcontroller to Mini TV: Greening’s ESP32 Breakthrough

From Microcontroller to Mini TV: Greening’s ESP32 Breakthrough


In an try to unleash the potential of the ESP32 microcontroller developer and tinkerer, Chris Greening has constructed an ESP32 Mini TV and defined how he did it in an in depth video.

Lately, ESP32 has change into highly regarded among the many maker group merely because of its superior efficiency, low worth, and to not point out its innate means to help wifi and Bluetooth. So Youtuber Taylor Galbraith AKA atomic14 used that energy to construct this ESP32 Mini TV and defined how he did it.

In his video, he explains earlier than even constructing the server, he wants to determine how briskly an ESP32 can show a picture onto the show. To take action, he hard-coded an uncompressed picture so he may confirm the body price; in his check, the ESP was in a position to replace the display each 17ms which interprets to 59FPS.

Now all that the ESP must do is obtain the pictures over Wi-Fi and show them. Nevertheless, there is a matter with this methodology an uncompressed picture measurement is 132KB, and if we add within the obtain time with the show time the body price drops to 15FPS. So, to repair this situation he he used the JPEGDEC library to compress the picture. Subsequent, he used the DMA to show the picture, giving him a good refresh time of 36ms which interprets to round 30FPS.

For sound, he pulled the audio information from the server and used the 8–bit PCM over the I2S bus to get the sound out from the ESP32. The issue with this method was that the audio may get out of the sink if there was a delay in streaming the audio or the compressed pictures from the server.


In accordance with Galbraith, the answer to this drawback was fairly apparent – he may use the output audio stream to calculate elapsed time. “Each time the I2S peripheral pushes information out we all know how a lot time has handed so we are able to use this to maintain the pictures in sync”. With this, he developed himself a totally perform video streaming system.

Now, one factor each TV ought to have is a Distant Controller; Greening solves this situation by including an IR Receiver to the ESP32 with the assistance of the Arduino-IRremote library.

On the finish of the undertaking, the whole lot labored as anticipated; now you possibly can activate/off the TV with the distant you may also change the quantity, and as a of completion, he additionally added a channel change animation. Total, it was an important undertaking, and if you wish to check out the i undertaking your self, the whole lot is freely obtainable in his GitHub repo.

Please comply with and like us:

Pin Share



Please enter your comment!
Please enter your name here