More than a year ago Espressif released the long-awaited ESP32, these modules are low cost microcontrollers, low power consumption, Wi-Fi chip, Bluetooth and what is really amazing the Tensilica Xtensa LX6 dual-core microprocessor !!, another interesting fact has improvements in security and secure connections, is the successor of esp8266.
Unlike ESP8266 espressif design the ESP32 based on characteristics requested by the thousands of users of the maker world.
Complete and detailed information: ESP32 Wikipedia.
Comparison size ESP32 and ESP8266MOD
In this case I purchased a development board ESP32-T created by Widora and ESP32-bit module created by eBox available on icstation.com ESP32-T WiFi IOT ESP32, had some coupons and ordered the module, the only feature that differentiates simple seen this other plate is the u.FL connector. to extend the antenna, but in general the distribution of pins is similar to ESP32Dev.
I took some time to test the esp32 given that at the time they went on sale they were expensive and more importantly there was not enough documentation, examples, implementation or applications.
Features of the ESP32 include the following:
- CPU: Xtensa dual-core (or single-core) 32-bit LX6 microprocessor, operating at 160 or 240 MHz and performing at up to 600 DMIPS
- Ultra low power (ULP) co-processor
Memory: 520 KiB SRAM
- Wi-Fi: 802.11 b/g/n/e/i
- Bluetooth: v4.2 BR/EDR and BLE
- 12-bit SAR ADC up to 18 channels
- 2 × 8-bit DACs
- 10 × touch sensors (capacitive sensing GPIOs)
- Temperature sensor
- 4 × SPI
- 2 × I²S interfaces
- 2 × I²C interfaces
- 3 × UART
- SD/SDIO/CE-ATA/MMC/eMMC host controller
- SDIO/SPI slave controller
- Ethernet MAC interface with dedicated DMA and IEEE 1588 Precision Time Protocol support
- CAN bus 2.0
- Infrared remote controller (TX/RX, up to 8 channels)
- Motor PWM
- LED PWM (up to 16 channels)
- Hall effect sensor
- Ultra low power analog pre-amplifier
- IEEE 802.11 standard security features all supported, including WFA, WPA/WPA2 and WAPI
- Secure boot
- Flash encryption
- 1024-bit OTP, up to 768-bit for customers
- Cryptographic hardware acceleration: AES, SHA-2, RSA, elliptic curve cryptography (ECC), random number generator (RNG)
- Internal low-dropout regulator
- Individual power domain for RTC
- 5uA deep sleep current
- Wake up from GPIO interrupt, timer, ADC measurements, capacitive touch sensor interrupt
Versions available and where to buy them cheap
Next we will make a quick review, I ask for patience since they are my first steps with this module.
In the first connection, from a serial terminal to 115200 bauds, the board has a preloaded firmware I suppose it is the SDK executing a blink on the test led:
1 press RST “reset”, the module provides information.
2. By holding down KEY and pressing RST, the module goes into Bootloader mode “apparently”.
3. When you are running the “flashing” the module is also in AP mode, and creates the network “ESP32_eBox” password “123456789”.
4. After connecting to “ESP32_eBox” and trying to enter the IP address “192.168.1.4” imagining that there could be a web server, unfortunately not, when thinking about an error in the IP address validate with Android fing.
First look at ESP32 eBox & Widora
It could be said that esp32 costs 2 or 3 times as much as esp8266, but the positive is that each time its cost goes down and they will be more affordable.
This first approach with the ESP32 module, we know has more features than the ESP8266,
it is worthwhile to test the performance in Software and Hardware to the maximum using other programming environments that we will see later in next turoriales such as:
As a final conclusion, the ESP32 is quite powerful and I would recommend it in applications that can use a large part of its characteristics, perhaps commercial applications, I consider that for most applications or prototypes in general the ESP8266 will meet all the required expectations, it is my humble opinion, if you agree or think otherwise, comment.
- icstation.com ESP32-T WiFi IOT ESP32
- ESP32 Wikipedia