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
- Host: GitHub
- URL: https://github.com/omerkel/microcontroller_aggregated_stuff
- Owner: OMerkel
- License: other
- Created: 2024-12-27T15:53:30.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-31T23:39:24.000Z (3 months ago)
- Last Synced: 2025-02-18T23:45:21.501Z (2 months ago)
- Topics: arduino, esp32, esp32-arduino, microcontroller, micropython, raspberry-pi, raspberry-pi-pico
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
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.