As I ported it to an ESP8266 you might as well have a look (no TFT screen support)
What is going on with my ESP32's WiFi connection?
JLCPCB Only $2 for PCB Prototype any colour https://jlcpcb.com/
So we look at WiFi connectivity issues with my ESP32 Dev Board (Revision 0) and then compare its Internet performance with a faultless Wemos Lolin NodeMCU V3 ESP8266.
We also take a good look at circular buffers which are built into the ESP32 core.
For constructional details of my ESP32 Web Radio (plus components list) see:
https://github.com/RalphBacon/205-Internet-Radio/tree/main/ESP32-Web-Radio-Construction
Thingspeak - an IoT cloud-based company for makers to upload data easily
https://thingspeak.com/
The 30-pin ESP32-WROOM pinout and more information
https://circuits4you.com/2018/12/31/esp32-devkit-esp32-wroom-gpio-pinout/
Important information about which GPIO pins can be used on an ESP32
https://desire.giesecke.tk/index.php/2018/07/06/reserved-gpios/
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphBacon
All about creating circular buffers - but we have the capability to use the ESP32's built-in version
https://embeddedartistry.com/blog/2017/05/17/creating-a-circular-buffer-in-c-and-c/
See the code for the ESP32 core version (no example, though)
https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/cbuf.h
To support my channel please do click on the affiliate links below before ordering ANYTHING from Banggood, AliExpress or Amazon. It expires 24 hours after clicking it so do come back and re-click at any time!
The 2.8" TFT touch screen used in my demo for just $6.66 (plus $2.05 shipping) or from USA & UK direct:
2.8 Inch ILI9341 240x320 SPI TFT LCD Display Touch Panel SPI Serial Port Module
https://www.banggood.com/custlink/v33EPJT6cF
38-pin ESP32 with headers for just $4.99 plus $2.25 shipping ($9.00 plus 0.99 shipping if ordered from USA):
https://www.banggood.com/custlink/KGKEHpfeCc
**NOTE the 30-pin works just as well, the extra pins are not for end-user use anyway!
Amazon UK sell this 2.8" screen (in the UK) for just £12.50 + free delivery!
https://amzn.to/38utf96
NB: Make sure you select the TOUCH version!!!
Amazon UK also sell the 38-pin ESP32 DEv Kit for just £5.55 in the UK:
https://amzn.to/3mFhy30
AliExpress offer both 30-pin and 38-pin ($3.36 + $1.04 shipping) of the ESP32 Dev Kit:
https://www.aliexpress.com/item/32959541446.html
I couldn't get an affiliate link for above, click here first: https://s.click.aliexpress.com/e/_ADe0jl
That's a link for a bare ESP32 with a whopping 16Mb on board! But needs an expansion board/PCB.
If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite journey
My channel, GitHub and blog are here:
------------------------------------------------------------------
https://www.youtube.com/RalphBacon
https://ralphbacon.blog
https://github.com/RalphBacon
------------------------------------------------------------------