1.We’re working on this!
Thanks for stopping by!
The tutorial section is still under construction and it is going to be your final stop for all ESP32 hardware related information! However, please understand that there may be little content linked right now and there may be broken links as well. Please scroll to the bottom of the page and subscribe to stay updated!
2.Introduction to the ESP32
ESP32 tutorial and example programs
The ESP32 features a cartload of peripherals. Almost every requirement of an IoT enabled application is implemented in hardware to simplify the process of overall product development and also enable developers to create a highly efficient, powerful and compact product. Very ideal for wearable tech design, the ESP32 sports the following high speed, low power, extremely configurable, and versatile peripherals:
- IEEE 802.11 b/g/n HT40 Wi-Fi radio
- Bluetooth LE radio
- Dual-core design
- Dual FPU
- Hardware PWM (ESP32 PWM Tutorial)
- 32x GPIO
- Low Power Memory
- MPU (Memory Protection Unit)
- 4096-bit RSA Accelerator
- ECC Accelerator
- Flash Encryption
- Secure Boot
- 1024-bit OPT Memory
- Capacitive Touch Sensor
- Hall Sensor
- 2x 12-Channel ADC
- 2x 10-bit DAC
- 2x I2S
- 3x SPI (ESP32 PI Tutorial)
- 3x I2C
- SD/MMC Interface Controller
- Calibrated Slow Clocks
3.Getting Started with ESP32 Development
To get started with programming the ESP32, you need to set up a development environment to write and build your programs in. The build output will then need to be downloaded to the ESP32 system flash memory.
There are different types of development environments available for the ESP32. You may use Arduino IDE as well. However, here we will use the Espressif ESP-IDF, which is the official FreeRTOS based SDK for ESP32 development.
To install and configure the ESP-IDF and compile programs to run on ESP32, you need to follow these steps:
- Download and install Ubuntu 14.04 virtual machine
- Install and configure ESP32 toolchain
- Download ESP-IDF and compile an example
- Download the program to your ESP32 dev board
Espressif has been releasing new updates almost daily and introducing new features to the ESP-IDF on their Github page. If you feel like updating ESP-IDF, here is how to safely update ESP32 ESP-IDF without causing your old, tested ESP-IDF version to be lost.