Home Creators Posts Import Register Favorites Logout

Content

My Arduino is in a good state and I thought it would be nice to have a beginner tutorial since many people are overwhelmed or simply lazy with the sophisticated ones. ;-)
I spent most of the time working on the library since the last upload. Nevertheless, I like how that video turned out. Let's see how many people hate the music :-D

Files

ESP32 VGA Beginner Tutorial [Arduino Library ESP32Lib]

This is a beginner tutorial how to set up VGA with the least effort on the ESP32. My new Arduino library makes ist super simple to get started and provides many examples that explain the capabilities. The performance boost is insane compared to older implementations. Hardware (affiliate links): ESP32 MINI KIT (~$4.90) http://s.click.aliexpress.com/e/8fMcA6M LOLIN32 (~$4.92) http://s.click.aliexpress.com/e/byshmypE Software: Arduino IDE - https://www.arduino.cc/en/main/software Link for the Boards Manager for ESP32 support. This need to be added to the preferences: https://dl.espressif.com/dl/package_esp32_index.json The link to my library with some extra documentation: https://github.com/bitluni/ESP32Lib plz share :-) Consider supporting my lab on Patreon for some extras and frequent updates: https://www.patreon.com/bitluni I'm also thankful for any donation on PayPal: https://paypal.me/bitluni Twitter: @bitluni reddit: r/bitluni #ESP32Lib #Arduino #IoT

Comments

Ristomatti Airo

Awesome! I'm really really surprised if this won't be a hit. I think it'd be a good idea put out videos like this for some time to grow your channel now that you're doing this full time. Nothing beats stuff any viewer can easily reproduce for gathering up a bigger audience. :)

Morten Hanasand

That must have been a ton of work! Well done, retro type stuff isn't really my cup of tea, but I will give this a go when life is less crazy.

bitluni

I hope that saves me a ton of work in future. It was a nightmare to maintain the duplicated code for each project. The lib will have some other interesting stuff for you as it grows.

bitluni

the reception is indeed quite good. 99.8% like ratio is the highest ever.. I'll try to keep a mix of simple tutorials as well as challenging stuff for the veterans.

Bryan Siepert

This is some amazing work; I'm really looking forward to doing some tests on my huzzah32 as it looks like it has the potential to fill a need a I have for one of my many projects. How resource strapped is the ESP32 with this running? I think it would be super cool to use your library to make a version of the firmware that exposes API like the ST7735 or ILI9341. That would allow people to use relatively common driver with other MCUs and have the ESP32 act as a VGA co-processor/GPU of sorts. Again, amazing work! I'm upping my Patreon donation ;)

bitluni

it depends on the driver. VGA3Bit VGA14Bit don't use any cpu while VGA3BitI and VGA14BitI use some (depending on resolution) cpu. VGA3Bit is wasteful with the memory to match I2S data format. When the performance modes are used the cpu is really underutilized for being just a co-processor. On the other hand 320x240 would barly fit with double buffering if nothing else is done on the esp. I tried to design the classes as generic as possible. The actual hardware layer is joining with the VGA class at a higher level. I designed this to be transferable to other technologies. Composite will join the the VGA in the lib pretty soon.

Bryan Siepert

Cool, thanks for the info; This work came across my email right around the same time ladyada/adafruit started working with the ESP32 as a Wifi co processor for circuit python boards. The real dream would be having it handle Wifi and VGA both. Once I have some spare cycles I'll give the VGA stuff a go. Thanks for the prompt response and again for the work. PS: I loved the music

Matthew Saint-Gregory

Hi - really enjoyed following this project pushing in resistors to the breadboards.

Matthew Saint-Gregory

I wanted to ask - how about an 8 bit mode with HVRRGGBB ? over 3 bit color mode. Would leave more memory if its possible yet give a good color range. I would like to run some CPU emulation on the ESP32 which needs 64K along side this project and whilst RGB mode is OK RRGGBB mode would be great.