Wiki¶
- Table of contents
- Wiki
Overview¶
ESP32 is a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-Fi (802.11 b/g/n) and dual-mode Bluetooth(v4.2 BR/EDR and BLE). The ESP32 series employs a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations and includes in-built antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power-management modules. ESP32 is created and developed by Espressif Systems, a Shanghai-based Chinese company, and is manufactured by TSMC using their 40 nm process. It is a successor to the ESP8266 microcontroller.
https://www.espressif.com/en/products/hardware/esp32/overview
Hardware¶
Core¶
S3¶

ESP32-S3 is a low-power MCU-based system on a chip (SoC) with integrated 2.4 GHz Wi-Fi and Bluetooth®
Low Energy (Bluetooth LE). It consists of high-performance dual-core microprocessor (Xtensa® 32-bit LX7), a low
power coprocessor, a Wi-Fi baseband, a Bluetooth LE baseband, RF module, and numerous peripherals.
C3¶

UltraLowPower SoC with RISCV SingleCore CPU
Supporting IEEE 802.11b/g/n (2.4 GHz WiFi) and Bluetooth ® 5 (LE)
H2 (Zigbee 3.0, Thread, Matter)¶

RISC-V 32-bit single-core microprocessor
Bluetooth® Low Energy and IEEE 802.15.4
3.3 V flash in the chip’s package
19 GPIOs
QFN32 (4×4 mm) Package
Wi-Fi¶
Wi-Fi: 802.11 b/g/n
Bluetooth¶
Bluetooth v4.2 BR/EDR and BLE
ESP BLE Mesh
https://esp32.com/viewtopic.php?f=13&t=7875
ADC¶

Features
• Two SAR ADCs, with simultaneous sampling and conversion
• Up to five SAR ADC controllers for different purposes (e.g. high performance, low power or PWDET /PKDET).
• Up to 18 analog input pads
• One channel for internal voltage vdd33, two for pa_pkdet (available on selected controllers)
• Low-noise amplifier for small analog signals (available on one controller)
• 12-bit, 11-bit, 10-bit, 9-bit configurable resolution
• DMA support (available on one controller)
• Multiple channel-scanning modes (available on two controllers)
• Operation during deep sleep (available on one controller)
• Controlled by a ULP coprocessor (available on two controllers)
Software¶
ESP32-C3 supermini¶

https://michiel.vanderwulp.be/domotica/Modules/ESP32-C3-SuperMini/
PlaterformIO¶
pour la carte Seeed Studio XIAO ESP32C3

[env:seeed_xiao_esp32c3]
platform = espressif32
board = seeed_xiao_esp32c3
pour la carte ESP32-C3 super mini
[env:lolin_c3_mini]
platform = espressif32
board = lolin_c3_mini
I2C
Wire.setPins(8, 9); //SDA, SCL
Wire.begin();
FLASH¶
https://espeasy.readthedocs.io/en/latest/Reference/Flashing.html#esp32

flash module ESP32-WROOM-32
utilisation de la carte support
utilisation du logiciel Realterm
https://realterm.i2cchip.com/
désactiver RTS et DTS
Filesystem¶
File system object (SPIFFS)
The filesystem implementation for ESP8266 had to accomodate the constraints of the chip, among which its limited RAM. SPIFFS was selected because it is designed for small systems, but that comes at the cost of some simplifications and limitations.
https://arduino-esp8266.readthedocs.io/en/2.4.2/filesystem.html
OTA Updates¶
OTA (Over the Air) update is the process of loading the firmware to ESP module using Wi-Fi connection rather than a serial port. Such functionality became extremely useful in case of limited or no physical access to the module.
https://arduino-esp8266.readthedocs.io/en/2.4.2/ota_updates/readme.html
MQTT¶
https://docs.arduino.cc/libraries/esp32mqttclient/
https://github.com/cyijun/ESP32MQTTClient
Example¶
WebSockets for awesome on the ESP8266
https://www.youtube.com/watch?v=8ISbmQTbjDI
https://github.com/cnlohr/colorchord
ESP32-C3 avec antenne IPEX¶

Updated by Frédéric Blanc 6 months ago · 27 revisions