A simple ESP32 project that uses three LEDs to visually transmit Morse code messages. The LEDs indicate dots, dashes, and message status through timed light patterns.
This project demonstrates Morse code encoding on an ESP32 using LED outputs. It showcases GPIO control, timing, and basic communication concepts using the PlatformIO framework.
- Morse code message transmission
- Three-LED visual output
- Configurable messages
- Built with PlatformIO and Arduino
- ESP32 development board
- 3 LEDs
- 3 current-limiting resistors (220 Ω)
- Breadboard
- Jumper wires
- USB cable
Clone the repository:
git clone https://github.com/nahoom-belete/morse-code-leds-esp32.gitOpen the project in Visual Studio Code with the PlatformIO extension installed.
First build and upload the FileSystem Image:
pio run --target buildfs
pio run --target uploadfsBuild and upload the firmware:
pio run
pio run --target upload- Connect the LEDs according to the wiring configuration.
- Upload the firmware to the ESP32.
- Power the board.
- Observe the LED sequence as Morse code is transmitted.
Update the message and GPIO pin assignments in the source code to customize the behavior.
.
├── include/
├── src/
├── lib/
├── data/
├── platformio.ini
└── README.md
This project is licensed under the MIT License.
