https://github.com/slouchd/morse4pico
Very simple Morse code script in MicroPython for the Raspberry Pi Pico.
https://github.com/slouchd/morse4pico
raspberry-pi raspberry-pi-pico
Last synced: 28 days ago
JSON representation
Very simple Morse code script in MicroPython for the Raspberry Pi Pico.
- Host: GitHub
- URL: https://github.com/slouchd/morse4pico
- Owner: slouchd
- License: mit
- Created: 2021-01-25T21:55:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-07T01:25:19.000Z (over 4 years ago)
- Last Synced: 2024-08-03T14:08:28.302Z (10 months ago)
- Topics: raspberry-pi, raspberry-pi-pico
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-raspberrypipico - morse4pico - Very simple Morse code script in MicroPython for the Raspberry Pi Pico. (Resources / Projects)
README
# morse4pico
Very simple Morse code scripts written in MicroPython for the Raspberry Pi Pico.Two files morse4pico.py and morse4pico-led.py are available. The morse4pico.py is a basic script for text to Morse and Morse to text. Whereas the morse4pico-led.py will blink an LED on a breadboard to the converted Morse code sequence.
Prerequisites (morse4pico.py):
- MicroPython installed onto the Pico (https://datasheets.raspberrypi.org/pico/sdk/pico_python_sdk.pdf).
- USB cable to connect from Pico to PC.
- IDE such as Thonny or Visual Studio Code (https://thonny.org/ OR https://code.visualstudio.com/).Prerequisites (morse4pico-led.py):
- MicroPython installed onto the Pico (https://datasheets.raspberrypi.org/pico/sdk/pico_python_sdk.pdf).
- USB cable to connect from Pico to PC.
- IDE such as Thonny or Visual Studio Code (https://thonny.org/ OR https://code.visualstudio.com/).
- Breadboard.
- Resistor.
- LED.
- GPIO header pins.
- Male/male jumper wires.If you are wondering how to put the breadboard together. For the morse4pico-led.py script. You can use a similar logic to these tutorials: https://magpi.raspberrypi.org/articles/breadboard-tutorial OR https://www.ladyada.net/learn/arduino/lesson3.html
I decided to use GPIO pin 16 for my LED. But you can use a different pin aslong as it is in line with the datasheet (https://datasheets.raspberrypi.org/pico/Pico-R3-A4-Pinout.pdf). If you do use a different pin remember to change the code!