An open API service indexing awesome lists of open source software.

https://github.com/omerkel/microcontroller_aggregated_stuff

Hosting some microcontroller related stuff
https://github.com/omerkel/microcontroller_aggregated_stuff

arduino esp32 esp32-arduino microcontroller micropython raspberry-pi raspberry-pi-pico

Last synced: 2 months ago
JSON representation

Hosting some microcontroller related stuff

Awesome Lists containing this project

README

        

# microcontroller_aggregated_stuff

Hosting some microcontroller related stuff

# Setup of Jukebox

Assuming you have a recent Python installed:

```
python -m venv venv
venv/Scripts/activate
pip install -r requirements.txt
pdm update
pdm run thonny
```

* This should open the Thonny IDE.
* Now connect to your prepared RaspberryPi Pico Controller as usual
* Open the file jukebox/jukebox.py
* When starting it from inside Thonny the onboard LED of your Pico should start flashing with 20Hz
* If a passive buzzer is connected as described in jukebox/jukebox.py you should hear a scale being played
* See jukebox/main.py on usage and how to play the included songs
* Song files need to be transferred to your Pico, too, such that these can be imported.
* Starting jukebox/main.py obviously starts playing the song files
* Enjoy...

# Links

* https://wokwi.com/ In case you plan to emulate the RaspberryPi Pico then wokwi might come in handy.