This project was created for entertainment purposes only.
Part | Description |
---|---|
Development Board | Raspberry Pi Pico |
Code Editor | Thonny IDE |
Bootloader | MicroPython UF2 |
Programming Language | MicroPython |
Packages | • machine (default) • utime (default) |
Actuators | LED (x9) |
Sensor | FC-04: Sound Sensor (x1) |
Other Components | • Micro USB cable - USB type A (x1) • Jumper cable (1 set) • Breadboard (x1) |
-
Thonny IDE
https://bit.ly/ThonnyIDE_Installer
-
MicroPython UF2
https://bit.ly/MicroPython_UF2_RPIpico
Block Diagram | Pictorial Diagram |
---|---|
Wiring |
---|
-
Upload the firmware
:-
Press and hold the
BOOTSEL
button on theRaspberry Pi Pico
board while connecting to the computer via amicro USB
cable. -
After the
Raspberry Pi Pico
is recognized by the computer (connected), then immediately release theBOOTSEL
button. -
When successfully connected, a new drive called
RPI-RP2
will open. -
Drag -> Drop
orCopy -> Paste
theMicroPython UF2
firmware file into theRPI-RP2
drive.
-
-
After the process is successful, the
RPI-RP2
drive will automatically close. -
In general, the firmware upload only needs to be done once when you first use the
Raspberry Pi Pico
board.
-
Open
Thonny IDE
first. -
Click
Tools
-> then selectOptions...
-> then select :•
Interpreter Menu
, then change the part :-
Interpreter
->MicroPython (Raspberry Pi Pico)
-
Port
->Board CDC @ COM...
-
Restart interpreter before running a script
->uncheck
•
Editor Menu
, then check all the options except:Indent with tab characters
. -
-
If the file view does not exist in
Thonny IDE
, then please click theView
-> section and selectFiles
to display it. -
Then look for a file called
main.py
in directory:LED-Musik-Reaktif-Berbasis-Raspberry-Pi-Pico/Src
. -
Right click on the file -> select
Upload to /
. -
Open the file
main.py
which is in theRaspberry Pi Pico
storage -> then clickRun current script (F5)
. -
Program code executed successfully -> sign:
%run -c $EDITOR_CONTENT
. -
If there is still a problem when uploading the program, then try to check the
interpreter
/port
/others
section.
-
Download and extract this repository.
-
Make sure you have the necessary electronic components.
-
Make sure your components are designed according to the diagram.
-
Configure your device according to the settings above.
-
Please enjoy [Done].
View-1 | View-2 |
---|---|
If this work is useful to you, then support this work as a form of appreciation to the author by clicking the ⭐Star
button at the top of the repository.
MIT License - Copyright © 2024 - Devan C. M. Wijaya, S.Kom
Permission is hereby granted without charge to any person obtaining a copy of this software and the software-related documentation files to deal in them without restriction, including without limitation the right to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons receiving the Software to be furnished therewith on the following terms:
The above copyright notice and this permission notice must accompany all copies or substantial portions of the Software.
IN ANY EVENT, THE AUTHOR OR COPYRIGHT HOLDER HEREIN RETAINS FULL OWNERSHIP RIGHTS. THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, THEREFORE IF ANY DAMAGE, LOSS, OR OTHERWISE ARISES FROM THE USE OR OTHER DEALINGS IN THE SOFTWARE, THE AUTHOR OR COPYRIGHT HOLDER SHALL NOT BE LIABLE, AS THE USE OF THE SOFTWARE IS NOT COMPELLED AT ALL, SO THE RISK IS YOUR OWN.