The ESP32 is a System on chip (SoC) designed by Espressifs systems that can be used to add both Wi-Fi and Bluetooth functionality to projects. It is ideal for the development of mobile devices, IoT applications and wearable electronics due to its wireless capabilities and smart power management amon..
The ESP32 is a System on chip (SoC) designed by Espressifs systems that can be used to add both Wi-Fi and Bluetooth functionality to projects. It is ideal for the development of mobile devices, IoT applications and wearable electronics due to its wireless capabilities and smart power management among other features. Since the ESP32 SoC comes in the form of a surface mount chip or module, it is not easy to use for prototyping in its barebones state. That is why it is advisable to use an ESP32 breakout board when developing your projects.
To access all the features on the ESP32, one must have access to all its pins. The ESP32 breakout boards make this possible by providing a Breadboard-friendly pin configuration that developers can use to easily interface the ESP32 with other devices and components. In addition to this, the breakout boards provide all additional circuitry that the ESP32 needs to function. All these things expedite the prototype development process, reducing the cost and time it takes to build a project using the ESP32 SoC.
ESP32 is capable of functioning reliably in industrial environments, with an operating temperature ranging from –40°C to +125°C. Powered by advanced calibration circuitries, ESP32 can dynamically remove external circuit imperfections and adapt to changes in external conditions.
Ultra-Low Power Consumption
Engineered for mobile devices, wearable electronics and IoT applications, ESP32 achieves ultra-low power consumption with a combination of several types of proprietary software. ESP32 also includes state-of-the-art features, such as fine-grained clock gating, various power modes and dynamic power scaling.
High Level of Integration
ESP32 is highly-integrated with in-built antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules. ESP32 adds priceless functionality and versatility to your applications with minimal Printed Circuit Board (PCB) requirements.
Hybrid Wi-Fi & Bluetooth chip
ESP32 can perform as a complete standalone system or as a slave device to a host MCU, reducing communication stack overhead on the main application processor. ESP32 can interface with other systems to provide Wi-Fi and Bluetooth functionality through its SPI / SDIO or I2C / UART interfaces.
In addition to Wi-Fi, the NodeMCU ESP32 also features a Bluetooth interface. The integrated CP2102 allows you to easily program the board via micro-USB.
Processor: Tensilica LX6 dual-core
Clock speed: 240 MHz
SRAM: 512 kB
Memory: 4 MB
Wireless standard: 802.11 b/g/n
Frequency: 2.4 GHz
Bluetooth: Classic / LE
Data interfaces: UART / I2C / SPI / DAC / ADC
Operating voltage: 3.3 V (can be operated via 5-V micro-USB)
Operating temperature: -40 to 125°C
Dimensions: 48 x 26 x 11.5 mm
Prerequisites: Arduino IDE Installed
Before starting this installation procedure, make sure you have the latest version of the Arduino IDE installed in your computer. If you don’t, uninstall it and install it again. Otherwise, it may not work.
3. Open the following example underFile>Examples>WiFi (ESP32)>WiFiScan
4. A new sketch opens in your Arduino IDE:
5. Press the Upload button in the Arduino IDE. Wait a few seconds while the code compiles and uploads to your board.
6. If everything went as expected, you should see a “Done uploading.” message.
7. Open the Arduino IDE Serial Monitor at a baud rate of 115200:
8. Press the ESP32 on-board Enable button and you should see the networks available near your ESP32:
If you try to upload a new sketch to your ESP32 and you get this error message “A fatal error occurred: Failed to connect to ESP32: Timed out… Connecting…“. It means that your ESP32 is not in flashing/uploading mode.
Having the right board name and COM por selected, follow these step