Tag Archives: ESP32
Rui @ randomnerdtutorials.com tipped us with his latest project. He writes:
In this project you’ll create a standalone web server with an ESP32 that can toggle two LEDs using the Arduino IDE programming environment. If you want to learn more about the ESP32 dev board, read my Getting Started Guide with ESP32.
ESP32 Web Server – Arduino IDE – [Link]
[Jeija] was playing with some ESP32s and in true hacker fashion, he wondered how far he could pull them apart and still get data flowing. His video answer to that question covers the Friis equation and has a lot of good examples of using the equation, decibels, and even a practical example that covers about 10km. You can see the video below.
Of course, to get that kind of range you need a directional antenna. To avoid violating regulations that control transmit power, he’s using the antenna on the receiving end. That also means he had to hack the ESP32 WiFi stack to make the device listen only on one side. The hack involves putting the device in promiscuous mode and only monitoring the signals being sent. You can find the code involved on GitHub (complete with a rickrolling application).
Of course, antennas are nothing new–look at all the Pringle can antennas we’ve seen in the past. However, the use of a long range receive-only module is interesting and we can see this technique having applications to remote drone video or telemetry and — of course — wardriving. If you don’t have a big boss antenna lying around, you might try some duct tape. If you want a more detailed refresher on decibels, we did that last month.
@ sparkfun.com has a tutorial on how to build smart and connected water sensor using ESP32. He writes:
For this project, you can use either the ESP8266 Thing, or the ESP32 Thing. One of the many improvements made on the ESP32 is the capacitive touch circuitry built in to ten of the IO pins (we can see the pins capable of capacitive touch in the datasheet below). It should be noted though, that Touch1 cannot be used as capacitive touch sensor because of the pull-up resistor connected to GPIO pin 0. With the capacitive touch, we’ll be able to sense water with just two pins; the first will be connected directly to a capacitive touch pin, and the second will be connected to ground.
Creating a Smart Water Sensor with the ESP32 Thing – [Link]
The ESP32 is a low cost, ultra low power microcontroller with integrated Wi-Fi & dual-mode Bluetooth, which employs a dual-core Tensilica Xtensa LX6 microprocessor. ESP32 is created and developed by Espressif Systems for mobile devices, wearable electronics and IoT applications. It is a successor to the ESP8266 microcontroller.
Other than the ESP32 module, the board has an FTDI FT231XS USB to Serial converter, a 3.3V LDO, reset and flash switches and a multi color LED. The module can be programmed directly from the Arduino environment with 921600 bps upload speed.
It supports auto-download and will automatically be set in download mode by the downloader. Once the download is complete the board will be reset, just like a normal Arduino board.
Features of the ESP32 board:
- 240 MHz dual core Tensilica LX6 microcontroller with 600 DMIPS
- Integrated 520 KB SRAM
- Integrated 802.11BGN HT40 Wi-Fi transceiver, baseband, stack and LWIP
- Integrated dual mode Bluetooth (classic and BLE)
- 16 MByte flash
- 2.2V to 3.6V operating voltage
- On-board PCB antenna
- 3 x UARTs, including hardware flow control
- 3 x SPI
- 2 x I2S
- 12 x ADC input channels
- 2 x DAC
- 2 x I2C
- PWM/timer input/output available on every GPIO pin
- SDIO master/slave 50 MHz
- Supports external SPI flash up to 16 MB
- SD-card interface support
The board is available for $17 on tindie store. Datasheet, documentation, and schematics are also available there.
In this video educ8s.tv reviews the ESP32, the successor of the popular ESP8266!
Hello guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. You can subscribe to our channel by clicking on this button. Today I am very excited because we are going to see this new board which uses the new ESP32 chip and we are going to learn how to program it using the Arduino IDE. The ESP32 chip will be the heart of most of the projects we are going to build in the near future, because it offers everything we need in one low cost solution!
ESP32 Review: Using the ESP32 with the Arduino IDE – [Link]
It has been about one year since the announcement of ESP32 SoC and the beginning of its beta testing for some developers.
Last Month we covered the release of ESP-WROOM-32 module datasheet, which promised that “New SDK features, tutorials and example applications will be released over the next few months.”.
The ESP-32 datasheet was released at the end of August. So let us discover the details of ESP-32 SoC.
ESP32 is a single 2.4 GHz Wi-Fi and Bluetooth combo chip available in QFN48 (6×6 mm) package. The new chip supports 802.11 b/g/n/e/i protocols with a data-rate up to 150Mbps. The previous ESP8266EX SoC supports 802.11 b/g/n only.
The security is enhanced in ESP32 by supporting WPA/WPA2/WPA2-Enterprise/Wi-Fi Protected Setup (WPS), while ESP8266EX supports only WPA and WPA2.
ESP32 features a BT4.2 controller and host stack with Xtensa Dual-Core 32-bit LX6 microprocessors up to 240 MHz. Keep in mind that ESP8266 has single core and lacks a bluetooth transceiver.
A lot of peripherals were added and enhanced. Up to 18-channel ADC with 12-bit resolution, two DAC channels with 8-bit resolution, 4 × SPI, 2 × I2S, 3 × UART and 2 × I2C.
ESP32 also features 1 host (SD/eMMC/SDIO), 1 slave (SDIO/SPI), Ethernet MAC interface with dedicated DMA and IEEE 1588 support, CAN 2.0, IR (TX/RX), Motor PWM and LED PWM with up to 16 channels.
Hall, 10 × touch and temperature sensors are internally available in ESP32 SoC.
Cryptographic Acceleration Hardware
Cryptographic acceleration hardware is for AES, HASH (SHA-2) library, RSA and ECC with Random Number Generator (RNG).
ESP32’s internal Memory units are:
- 448 KBytes ROM for booting and core functions.
- 520 KBytes on-chip SRAM for data and instruction.
- 8 KBytes SRAM in RTC, which is called RTC FAST Memory and can be used for data storage and main CPU during RTC Boot from the deep-sleep mode.
- 1 Kbit of EFUSE, of which 256 bits are used for the system (MAC address and chip configuration) and the remaining 768 bits are reserved for customer applications.
ESP32 runs user application from external memory just like ESP8266EX. ESP32 supports 4 x 16 MBytes of external QSPI Flash, while ESP8266EX supports up to 16 MBytes only. Could we have in the future a version of ESP32 with an internal ROM for user application like ESP8285 (the ESP8266 with internal ROM version) ?
Price And Development Tools
You can order ESP-32 SoC -the chip only not a module- for about 2.9$/unit from the Espressif store on Taobao.
Ai-Thinker, one of the third-party manufacturers of ESP modules, introduces ESP-3212 module on their Taobao store.
The demo board is currently for some beta users, and not yet officially available for public.
It has been a while from the announcement of the new SoC ESP32 from Espressif.
Recently, Espressif released the ESP-WROOM-32 module which is based on ESP32 SoC, the big brother of the well know ESP8266 WiFi module.
ESP32 is a 2.4 GHz Wi-Fi and Bluetooth combo chip with dual CPU cores and a very rich set of peripherals, ranging from capacitive touch sensors, Hall sensors, low noise sense amplifiers, SD card interface, Ethernet, high speed SDIO/SPI, UART, I2S and I2C.
The datasheet of ESP-WROOM-32 module contains pin definitions, functional description, electrical characteristics and a schematic.
ESP32 contains two low-power Xtensa ® 32-bit LX6 microprocessors with 448 KBytes ROM and 520 KBytes on-chip SRAM for data and instruction and supports 4 x 16 MBytes of external QSPI flash and SRAM.
It has various power modes. A 160 ~ 260 mA power consumption for Wi-Fi Tx packet @ 13 dBm ~ 21 dBm.
“New SDK features, tutorials and example applications will be released over the next few months.” according to the datasheet.