Phase 3: GPIO & Hardware

Connect firmware to the physical world with inputs, outputs, buttons, LEDs, relays, ADC, and DAC.

Learning objectives

  • Read digital and analog signals safely.
  • Drive LEDs, relays, and other outputs with appropriate hardware practices.
  • Debug pull resistors, buttons, ADC behaviour, and pin-level constraints.

Recommended learning order

  1. Digital Inputs on ESP32: Complete GPIO Input Guide (14 min)
  2. Digital Outputs on ESP32: Control LEDs, Relays, and More (12 min)
  3. Pull-Up vs Pull-Down Resistors on ESP32: Full Explanation (11 min)
  4. Reading Buttons on ESP32: Wiring, Code, and Projects (13 min)
  5. Debouncing Buttons on ESP32: Software and Hardware Methods (13 min)
  6. Driving LEDs with ESP32: Resistors, PWM, RGB, and NeoPixels (14 min)
  7. Using Relays Safely with ESP32: Wiring, Code, and AC Safety (15 min)
  8. Reading Analog Signals on ESP32: analogRead, Sensors, and ADC Tips (13 min)
  9. ADC Explained on ESP32: Resolution, Attenuation, and Calibration (14 min)
  10. DAC Explained on ESP32: Generate Analog Voltages and Audio Signals (12 min)

Guide library

Estimated completion time

Approximately 131 minutes of focused reading, plus hands-on practice.

Continue learning

Frequently asked questions

Who should complete this phase?

This phase is designed for makers following the ESP32Engine learning path in sequence.

What should I do after this phase?

Continue to the next phase after completing the recommended guide order.