One excellent demo for video on ESP32 is the esp32-dali-clock by marciot. This is an Arduino sketch and supporting libraries, so make sure you have the Arduino IDE installed and can successfully run the Blink sketch before proceeding. This guide shows how, but is for the newer ESP32-S2 -- we'll update this once the QT Py ESP32 Pico guide is ready.
Download
To run this demo, first download the .zip file and uncompress it.
Move the esp32-dali-clock folder into your Arduino sketches directory.
Settings, Compile, Upload
In order to compile and upload to the board, first select Tools > Board > ESP32 Arduino > Adafruit QT Py ESP32.
Then, match the other settings shown here. Very important: Click Tools > PSRAM > Disabled. If you don't disable the PSRAM the video will suffer vertical sync issues and jiggle up and down!
When you're ready, click Sketch > Upload (or use the upload button) to compile and upload the code to the board.
The board will reset after upload and begin immediately running the code. Plug the nub into a composite video input on your TV or monitor and you'll see the awesome vaporwave clock.
Set the Clock
The ESP32's built in WiFi makes it possible to host a small web server in order to configure the clock.
On your computer or mobile device, choose the "ESP32 Dali Clock" network. You'll be taken to a setup page where you can configure the graphics style, date/time, and local network settings.
You can even set the color theme to a specific choice or allow it to change based on the time of day.
Text editor powered by tinymce.