Переглядів 357,467
Today, this channel will try to start into a new area: The area of the replacement of our beloved ESP8266 by the new ESP32. I invite you to join this journey. At the end of this video, you should be able to judge, if you want to order your first board (or take it out of your drawer)
Summary:
• We checked the GPIOs out and discovered, that we have many more of them, and that they abandoned the Dx numbering scheme. So, we do not have to write our sketches differently for the different boards.
• Then, we looked at the different examples provided with the infrastructure. This will be stuff for many videos to come. Today, we tried PWM and it worked. We were able to generate a fading LED, steer a servo, and even create a primitive DAC with this function.
• Next, we tried a simple example to check, if the Wi-Fi really works. And it does. We learned, that we will have to change all our ESP8266 sketches if we want to port them to the ESP32.
• Then, I ported my NTP library to the ESP. With one small change, it worked and delivered accurate time also on the ESP32.
• At the end, we checked also the new touch pins, and, together with the PWM functionality from the beginning of the video, we're able to create a small instrument.
Attention: If your Arduino IDE is installed in the "Program file" area of Windows, you need to run "get.exe" as administrator.
Links:
An easier way to install ESP32 software: • #214 New: Easier ESP32...
Arduino Core for ESP32: github.com/espressif/arduino-...
Board in this video:
WeMos® LOLIN32 Board bit.ly/2t2zXeW
Other ESP32 boards (from video #143):
TTGO ESP32 Module www.aliexpress.com/item/TTGO-...
ESP32 (NodeMCU type) Board bit.ly/2sOMR3E
ESP32 Development Board (Yellow Pins) www.aliexpress.com/item/ESP32...
ESP32 X-Shield www.aliexpress.com/item/Lolin...
ESP32 Lolin Board with LiPo www.aliexpress.com/item/WEMOS...
ESP32 OLED Board bit.ly/2tosirM
ESP32 Board with 18650 www.aliexpress.com/item/WEMOS...
D1 mini ESP32 board www.aliexpress.com/item/MH-ET...
WeMos Arduino like ESP32 Board bit.ly/2tUZVnC
Cheapest ESP32 board (source not tested by me): www.aliexpress.com/item/Lolin...
WEMOS Official Store: s.click.aliexpress.com/e/jUzBiIq
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
If you want to support the channel and buy from Banggood use this link to start your shopping: bit.ly/2jAQEf4 (no additional charges for you)
Official Wemos Store: s.click.aliexpress.com/e/jUzBiIq
/ sensorsiot
/ spiessa