There are many variations using the ESP32.
These examples are based on a nice solder free breadboard version :
ESP32 ESP-32S Development Board 2.4GHz Dual-Mode WiFi + Bluetooth Dual Cores Microcontroller Processor Integrated with ESP32s Antenna RF AMP Filter AP STA for Arduino IDE
Here is a nice link to the many versions:
To begin ESP32 and verify you have the right board that is working properly, lets start with the most basic functionality of reading a momentary push button switch input and turning on/off an LED output.
The ESP is similar to Arduino boards and is also compatible with the Arduino IDE.
Arduino IDE needs to be installed, the Silicon Labs CP210x USB to UART Bridge Driver will be automated loaded
for your Windows OS when you connect the board .
ESP8266 Github Page:
Boards manager link JSON:
This is the digital equivalent of Hello World.
Here is a modified version on the Arduino IDE included Files>Examples>Digital>Debounce with the pin I/O changed for the ESP32 board and Serial Monitor added. ( That is how similar the ESP32 is to other Arduino boards. )
Connect a Push button and a 1 kΩ pull up resistor to the GPIO32 pin.
Connect a LED and a 1 kΩ current limiting resistor to the GPIO26 pin.
The result will display on the Serial Monitor.
If all works fine your Arduino IDE is successfully configured and the ESP8266 board is functional.
The board LED light will go on when D4 is 0 and off when D4 is 1.
Now we can use this as a basis for more advanced applications.