This repository contains my ESP32 MicroPython experiments and mini-projects.
I'm starting it with a simple Morse Code LED blinker, and I’ll continue adding more ESP32 + MicroPython projects here as I explore and learn.
This is a small learning project where I used an ESP32-WROOM (Adafruit HUZZAH32) with MicroPython to translate text into Morse code LED pulses.
Text typed into the MicroPython REPL is converted to Morse code, and the onboard LED blinks the corresponding dots and dashes.
- Runs on ESP32 with MicroPython
- Reads text input from the MicroPython REPL
- Converts letters (
a–z) and spaces into Morse code - Implements standard Morse timing (dot, dash, letter gap, word gap)
- Uses the onboard LED for visual output
- ESP32-WROOM module on:
- Adafruit HUZZAH32 (tested)
- Should work on other ESP32 dev boards with small pin changes
- Onboard LED on GPIO 13 (adjust in code if needed)
- MicroPython for ESP32
- Thonny IDE for flashing firmware and using the REPL
- Connect ESP32 to your computer
- In Thonny:
Tools → Options → Interpreter - Select MicroPython (ESP32) + correct port
- Use Install or update MicroPython if available
- Open
main.pyin Thonny - Go to
File → Save as... - Select MicroPython device
- Save as
main.py
Reset the board — the program will start automatically.
-
Open the Thonny Shell (REPL)
-
When prompted:
Message: hello