Implementation of Morse Code Raspberry Pi Pico
by K Samridhi in Circuits > Raspberry Pi
4047 Views, 6 Favorites, 0 Comments
Implementation of Morse Code Raspberry Pi Pico
Morse Code is fun to play with friends and family but it is hard to understand so this machine helps you to learn this pretty fast and you can create your own code language with dots and dashes.
Gather Your Components:
1. Raspberry Pi Pico
2. Male to Male jumper wires
3. 2 LED's (of any color)
4. Peizo Buzzer
5. 2 k resistor
6. tactile switch
7. Breadboard
Step 2: Start Your Wiring
Take your Breadboard and start wiring.
1.
GND Pin 38 - Negative leg of both the LED's via 2k resistor
2. Gnd Pin 18 -Negative leg of the piezo buzzer and one pin of the tactile switch
3. GP13 - Positive leg of piezo buzzer
4. GP12 - positive leg of one led
5. GP11 - positive leg of another led
6. GP10 - to the tactile switch
Step 3: Coding
1. Raspberry pi Pico can be programmed with micropython or C++. This is a simple program so we can use micropython with which we can use Thonny. Thonny is a free website to use.
2. Open Thonny and copy the given code, paste it and run it.
3. When you type playmessage("hello world ") the pi pico displays it with the help of led and buzzer
You can download the code from https://github.com/printnplay/Pico-MicroPython/blo...