-
Notifications
You must be signed in to change notification settings - Fork 14
ESP32 Setup
-
Original installation instructions: https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md
-
Add following url to "Additional Board Manager URLs": "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" https://dl.espressif.com/dl/package_esp32_index.json". If you have already entered the URL of your ESP8266 there, simply write the URL of the ESP32 behind it, separated by a comma. Then you will have both in the Arduino IDE.
-
Open Boards Manager and install "esp32"
-
Select your board under Tools > Board (ESP32 Dev Module) and set upload speed to default 921600.
-
First simple test is to go to "File > Examples" and choose "Wifi/WifiScan" and upload.
-
If upload fails hold down the BOOT button on your ESP32 and start the upload. As soon as the status “Connecting…” appears in the Arduino IDE, you can release the button. The upload should now proceed.
Hardware: ESP-32 Dev Kit C V4, bought at AZ-Delivery
- ATTENTION: ADC2 cannot be used (because WIFI is running)!
- LED Display using I2C: 21,22
- ATTENTION: This I2C connection cannot be used by other I2C components. Use separate I2C ports instead (eg 17,4).
- OUTPUT
- Working: 2,4,12,13,16,17,18,23,25,27,32,33
- High on powerup/reset: 0,2 (should be a strapping pin?),5,14,15
- Not working: 26 ?, 34, 35, plus other well described ones (pins >32 can only be input)
- Preferred not to use as output: 34,35 (ideally to be used for ADC)
- INPUT
- without pullup/down: 34,35 (best used in combination with resistor network to support multiple switches on one GPIO)
- also check: https://randomnerdtutorials.com/esp32-pinout-reference-gpios/
- Datasheet: https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32_datasheet_en.pdf