First prototype

A project log for ESP32 video deck

This board switches between two video inputs and an internal composite video generator. Complete with a LM1881 hardware sync separator

[ E C C 0 ][ E C C 0 ] 08/01/2019 at 12:370 Comments

Using the information found on OSD systems, I started building a prototype. The chosen microcontroller for this board is the Espressif ESP32, a chip intended mainly for IoT applications, since it features Wi-Fi connectivity and BLE (Bluetooth Low Energy), not only for its connectivity, but due to the great expandability of the platform. With a dual core architecture, we have plenty of resources even for problems that are considered hard for a microcontroller to do, such as composite video generation, and 3D rendering. The communication capabilities of the chip are not used fully in this application, but the board is designed in a way that allows further development and use of these features.

One the important peripheral is the I2S port, that is leveraged in order to generate the composite video, due to the high data rates and parallel processing capabilities. More information can be found at Bitluni's lab video:

A breadboard circuit was made to test out the functionality of the microcontroller, an LM1881 sync separator. The circuit was made to accompany the ESP32CompositeVideoLM1881 project that is based heavily on Bitluni's ESP32CompositeVideo project. The LM1881 project tries to use Bitluni's code to generate some sort of OSD, but is incomplete at the moment. However, this was enough to test the components and set a final hardware configuration. 

This is what we have at this point, besides all the cool example demos. The LM1881 is read by the ESP32 and the vertical and horizontal sync intervals are shown on screen. Since no major problems have been found, the schematic gets the green light as the next step.