Transform your ESP32 into a powerful, PC-controlled hardware interface. Professional-grade GPIO control, PWM, I2C communication, and more via Python.
Complete GPIO control from Python with professional-grade performance and safety features.
Complete control over 40 GPIO pins with input/output modes, pull-up resistors, and batch operations.
Up to 16 PWM channels with configurable frequency and resolution for precise control.
12-bit ADC input and 8-bit DAC output for precise analog signal processing.
Full I2C bus control with device scanning and data transfer capabilities.
512 bytes of persistent storage for configuration and data persistence.
Professional dual-core architecture with 5-10x faster command throughput.
Get up and running in minutes with our simple installation and basic example.
Install the ESP32 GPIO Bridge library via pip.
Upload the modular firmware to your ESP32 board.
Connect and control GPIO pins from Python.
from esp32_gpio_bridge import ESP32GPIO, find_esp32_port
# Auto-detect ESP32 port
port = find_esp32_port()
# Connect using context manager
with ESP32GPIO(port) as esp:
print(f"Firmware version: {esp.get_version()}")
# Digital output - LED control
esp.set_pin_mode(2, "OUT")
esp.digital_write(2, 1) # LED ON
# Analog input - Sensor reading
sensor_value = esp.analog_read(34)
voltage = (sensor_value / 4095.0) * 3.3
print(f"Sensor voltage: {voltage:.2f}V")
Professional-grade performance with significant improvements in v0.1.6-beta.
Faster Command Throughput
FreeRTOS Architecture
Modular Firmware Design
Failsafe System
Transform your ESP32 into a powerful hardware interface with professional-grade Python control.