In this video, I will show my Raspberry Pi Pico W Programmable I/O (PIO) MicroPython experiments -- generating tones with an attached speaker
First, I will show a simple MicroPython program that plays the tones Do-Re-Mi using PIO.
Then I will show a UI for playing tones using a virtual remote display on your Android phone -- DumbDisplay
If you prefer a written version, please refer to -- [ Ссылка ]
You can install the Android app DumbDisplay -- [ Ссылка ]
-----
Install MicroPython firmware with Thonny
* Run | Config interpreter
* Interpreter kind choose: MicroPython (Respberry Pi Pico W)
* press: Install MicroPython
* Target volume ... may have to plugin Respberry Pi Pico W while holder the reset button
* MicroPython family: RP2
variant: Pico WH
Do-Re-Mi Tones
* Create a "working folder"
* Open Thonny
* Navigate to "working folder"
* Create new file
* Copy [ Ссылка ] -- The Program That Sounds Do-Re-Mi With PIO
* Run it
Clone DumbDisplay MicroPython library
* Open "working folder" with Command Prompt
* git clone [ Ссылка ]
* Open Thonny
* Navigate to "working folder"
* Copy dumbdisplay and _my_secret.py to Respberry Pi Pico W
* Modify _my_secret.py
* Open samples/melody/main.py
* Run it
Ещё видео!