ESP32

ESP32 is a single 2.4 GHz Wi-Fi-and-Bluetooth combo chip designed to achieve the best power and RF performance, enabling a wide variety of applications and power scenarios.

This system is designed for mobile and Internet-of-Things (IoT) applications. In a low-power IoT sensor hub application scenario, ESP32 is woken up periodically and only when a specified condition is detected.

ESP32 contains a dual-core CPU and integrates an antenna switch, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules.

Software development

There are several tools for ESP32 software development, including Arduino software development environment, PlatformIO and Espressif IoT Development Framework.
If you are already using Arduino software development environment, then you can use it also to write code to control the behavior of the ESP32 board. You need to install the ESP 32 add-on and select it in the Arduino board manager. Then you will be able to write sketches in a C-like language to control the ESP32 board. A sketch is based on two main functions:
  • setup()
  • loop()
The setup() function is used to initialize variables, analog and digital I/O, external components and interfaces. The loop() function is normally the main body of the sketch, as it runs forever. In general the main functionality is coded inside the loop() function. There are specific use cases that provide the main functionality in setup(), e.g. when deepsleep feature is used, like in the example IoT device.

The software development environment is available in Arduino Software web site.

Examples

ESP32 Clock breadboardVU Meter breadboard
Audio Spectrum Visualizer breadboardWeb Radio with ESP32
Water sensor breadboard


Share Share on Facebook Share on Twitter Bookmark on Reddit Share via mail
Creative Commons Attribution-Share Alike | Terms and conditions | Privacy policy