Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

devancakra/LED-Musik-Reaktif-Berbasis-Raspberry-Pi-Pico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Source Love License: MIT GitHub last commit Project

LED-Musik-Reaktif-Berbasis-Raspberry-Pi-Pico

Solo Project: Raspberry Pi Pico-based Reactive Music LED

Project Requirements

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)



Download & Install

  1. Thonny IDE

    https://bit.ly/ThonnyIDE_Installer
    

  2. MicroPython UF2

    https://bit.ly/UF2_RPIpico_Bootloader
    



Project Designs

Block Diagram Pictorial Diagram Wiring
Block-Diagram Pictorial-Diagram Wiring



MicroPython Bootloader Setup

  1. Upload the firmware :

    • Press and hold the BOOTSEL button on the Raspberry Pi Pico board while connecting to the computer via a micro USB cable.

    • After the Raspberry Pi Pico is recognized by the computer (connected), then immediately release the BOOTSEL button.

    • When successfully connected, a new drive called RPI-RP2 will open.

    • Drag -> Drop or Copy -> Paste the MicroPython UF2 firmware file into the RPI-RP2 drive.


  2. After the process is successful, the RPI-RP2 drive will automatically close.

  3. In general, the firmware upload only needs to be done once when you first use the Raspberry Pi Pico board.



Thonny IDE Setup

  1. Open Thonny IDE first.

  2. Click Tools -> then select Options... -> 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.

  3. If the file view does not exist in Thonny IDE, then please click the View -> section and select Files to display it.

  4. Then look for a file called main.py in directory: LED-Musik-Reaktif-Berbasis-Raspberry-Pi-Pico/Src.

  5. Right click on the file -> select Upload to /.

  6. Open the file main.py which is in the Raspberry Pi Pico storage -> then click Run current script (F5).

  7. Program code executed successfully -> sign: %run -c $EDITOR_CONTENT.

  8. If there is still a problem when uploading the program, then try to check the interpreter / port / others section.



Get Started

  1. Download and extract this repository.

  2. Make sure you have the necessary electronic components.

  3. Make sure your components are designed according to the diagram.

  4. Configure your device according to the settings above.

  5. Please enjoy [Done].



Highlights

View-1 View-2
img-1 img-2



Appreciation

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.



LICENSE

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.

Releases

No releases published

Packages

No packages published

Languages