ESP32  
Suche: 

Kinder

Informatik und Computer

Elektronik

Segeln

Musik

Lego

Kochen

4x4 Wohnmobil

4x4 Wohnmobil V2.0

Bootsanhänger

Andere Basteleien

Linksammlung

Projekte

Merkzettel

Impressum


User
Password

ESP32

Descriptions for ESP32 at heise.de.

Technical Overview

Datasheet at https://www.espressif.com/sites/default/files/documentation/esp32_datasheet_en.pdf

Some infos at https://desire.giesecke.tk/index.php/2018/01/30/esp32-wiki-entries/

Boards

NameDescriptionPinoutExt. Link
LOLIN32 Lite ext. Linkhttp://wiki.wemos.cc/products:lolin32:lolin32_lite
TTGOESP32 with LoRa   
WROOM32Plain ESP32 Module  
    
    

GPIO

Reserved GPIOs

Some GPIO pins have special functions. You can get into trouble when using them.

PINUseDescription
GPIO0 boot strappinglow to enter UART programming mode on boot ESP32BootStrapping
GPIO2 boot strappinglow to enter UART programming mode on boot ESP32BootStrapping
GPIO06 - GPIO11 Flash reserved for the FLASH. You cannot use them at all
GPIO12boot strapping select output voltage of an internal regulator which powers the flash chip (VDD_SDIO) ESP32BootStrapping
GPIO15boot strapping If driven Low, silences boot messages printed by the ROM bootloader. Internal pull-up, so unconnected = normal output. ESP32BootStrapping
GPIO34-39input no software pullup or pulldown
GPIO34, GPIO35, GPIO36, GPIO39 input only not available for output
GPIO34-39input no software pullup or pulldown
GPIO37 and 38 are not available on most modules
GPIO16 and 17 PSRAM  
   

Analog

ESP32 has two 12bit ADCs. The can be multiplexed to 18 channels.

ADC2 has limitations if WiFi is used (see here: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/adc.html)

The sample width can pe configured to:

GPIO
ADC1ADC2
32 0
33 2
34 4
35 12
36 13
37 14
38 15
39 25
  26
  27

I2C

SignalGPIO
SDA 21
SCL 22

SPI

espressif

https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/spi_master.html#

SPI-NameSSMOSIMISOSCKRemark
 GPIO 
VSPI 5 23 19 18  
HSPI 15 13 12 14  

When using espressif arduino there are small differences

https://github.com/espressif/arduino-esp32

The pin definition of the ttgo lora board ( https://github.com/espressif/arduino-esp32/blob/master/variants/ttgo-lora32-v1/pins_arduino.h ) differs from the espressif definition

https://github.com/espressif/arduino-esp32/blob/master/libraries/SPI/src/SPI.cpp

SPI-NameSSMOSIMISOSCKRemark
 GPIO 
VSPI 18 27 19 5 the default SPI interface
HSPI 15 13 12 14 see here https://github.com/espressif/arduino-esp32/blob/master/libraries/SPI/src/SPI.cpp