Connect ESP32 to WiFi - Step-By-Step Tutorial
Tomasz Tarnowski Tomasz Tarnowski
11.2K subscribers
66,621 views
0

 Published On Premiered Jan 13, 2022

In this video tutorial for absolute beginners, I show how to connect ESP32 to the WiFi network in the simplest way using Visual Studio Code with PlatformIO. Watch this guide to learn about two methods you can try to establish the connection and how you can use the built-in diode as a status indicator.

👍 Subscribe for more IoT and programming tutorials like this:    / @tomasztarnowski4434  

Getting Started with ESP32 Video:
   • Getting Started with ESP32 - Step-By-...  

Link to the code:
- blocking example: https://github.com/ttarnowski/esp32-w...
- non-blocking example: https://github.com/ttarnowski/esp32-w...

ESP32 Datasheet(specification): https://www.espressif.com/sites/defau...
NodeMCU-32S Datasheet(specification): https://docs.ai-thinker.com/_media/es...

Parts and components used in this video (affiliate links):
- NodeMCU-32S Development Board:
eBay UK - https://ebay.us/fpZEVO
eBay USA - https://ebay.us/7TqjQu
eBay DE - https://ebay.us/SUf9t1
AliExpress - https://s.click.aliexpress.com/e/_Dc9...

- USB Type-C to Micro USB cable (tested and working):
eBay UK - https://ebay.us/7z9AF6
eBay USA - https://ebay.us/cwrWGo
eBay DE - https://ebay.us/ixcU7P
AliExpress - https://s.click.aliexpress.com/e/_Dm6...

Software used in the video:
Visual Studio Code IDE: https://code.visualstudio.com/
PlatformIO Extension: https://platformio.org/platformio-ide
Clang-Format Extensions (Code Formatter): https://marketplace.visualstudio.com/...

If you don't want to hold the "BOOT" button whenever you upload your code, here's a good article with the workaround (it requires one 10uF electrolytic capacitor):
https://randomnerdtutorials.com/solve...

Social Media:
Twitter:   / t_tarnowski​  
Linkedin:   / tomasz-ta...​  
GitHub: https://github.com/ttarnowski​

Thank you for watching and see you soon!

00:00 Intro
00:22 Requirements
01:17 Creating a new project with VS Code and PlatformIO
02:45 Quick project and program structure overview
03:25 Initial setup (Serial, LED Diode, and WiFi Credentials)
05:28 Blocking method: coding part
10:43 Blocking method: deployment and test of the solution
12:24 Non-blocking method: coding part
20:05 Non-blocking method: deployment and test of the solution
21:18 The End

show more

Share/Embed