An autonomous scientific society of the Ministry of Electronics & IT, Government of India
NIELIT
Sign in
V8 ENGINEERING WORKSPACEINTERACTIVE · LEARN BY DOING

Topics / Microcontrollers & ESP32

Microcontrollers & ESP32

A microcontroller is a chip with a CPU, memory and pins you control with code. The ESP32 adds WiFi and Bluetooth.

Key ideas

01

GPIO

Pins you set HIGH or LOW, or read as input.

02

PWM

Fast on/off to dim LEDs or set motor speed.

03

ADC

Turns a voltage into a number (ESP32: 0 to 4095).

04

I2C and SPI

Two-wire and four-wire buses for sensors and displays.

05

Interrupts

React instantly to a pin change.

Formulas to remember

  • Voltage = ADC / 4095 × 3.3
  • Duty % = on time / period

Parts you will meet

ESP32 DevKitArduino UnoBreadboardUSB cableLevel shifter

Safety: ESP32 pins are 3.3 V only. Never feed 5 V into a GPIO.

Build it yourself

More topics