GithubHelp home page GithubHelp logo

vtt-info / uv-meter-pi-pico Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devancakra/led-musik-reaktif-berbasis-raspberry-pi-pico

1.0 0.0 0.0 8.95 MB

Raspberry Pi Pico-based Reactive Music LED | Solo Project

Home Page: https://youtu.be/f4UsK7CkP_M

License: MIT License

Python 100.00%

uv-meter-pi-pico's Introduction

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://thonny.org/
    

  2. MicroPython UF2

    https://bit.ly/MicroPython_UF2
    



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 you find this work useful, please support this work as a token of appreciation to the author by clicking the ⭐Star button.



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.

uv-meter-pi-pico's People

Contributors

devancakra avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.