breadboard
Example project · Start here

ESP32-P4 MicroPython GPIO54

The pinned v1.29.0 rev3 UART/USB Serial-JTAG build runs Python on the P4 and blinks GPIO54, above the first 32 GPIOs. Edit the program in Code or type into its live REPL. Random and SSL material repeat across identical runs; they are not cryptographic entropy.

The ESP32-P4 MicroPython GPIO54 circuit as rendered by the simulator

What's on the bench

  • Battery
  • ESP32-P4-Function-EV-Board
  • LED
  • Resistor

How it's wired

  • Battery · pos→ESP32-P4-Function-EV-Board · 5v
  • Battery · neg→ESP32-P4-Function-EV-Board · gnd
  • ESP32-P4-Function-EV-Board · g54→Resistor · a
  • Resistor · b→LED · a
  • LED · k→Battery · neg

The code

This MicroPython script runs on the emulated board every boot; edit it in the Code tab.

from machine import Pin
from time import sleep_ms
led = Pin(54, Pin.OUT)
print("P4 GPIO54 ready")
while True:
    led.on()
    sleep_ms(500)
    led.off()
    sleep_ms(500)

Related projects