Nyan Cat, except it gets faster — RTTTL on the Raspberry Pi Pico

https://scruss.com/blog/2021/02/24/nyan-cat-except-it-gets-faster-rtttl-on-the-raspberry-pi-pico/

https://scruss.com/blog/?p=16635

It was inevitable: A Raspberry Pi Pico; plus a tiny piezo PC beeper; plus MicroPython; plus dhylands / upy-rtttl; plus nyancat.rtttl; plus my unfailing sense of knowing when to stop, then ignoring it brings you this wonderful creation, which plays the Nyan Cat theme forever, except it gets 20% faster each time. This is weapons-grade… Continue reading Nyan Cat, except it gets faster — RTTTL on the Raspberry Pi Pico

Visualizing PWM

https://scruss.com/blog/2021/02/15/visualizing-pwm/

https://scruss.com/blog/?p=16629

I built a DS0150 — successfully, on my second try — and wanted to measure something. My demo MicroPython program from MicroPython on the terrible old ESP8266-12 Development Board has been running since May 2020, and the RGB LED’s red channel is conveniently broken out to a header. Since the DSO150 has precisely one channel,… Continue reading Visualizing PWM

Raspberry Pi Pico: DS18x20 in MicroPython

https://scruss.com/blog/2021/02/15/raspberry-pi-pico-ds18x20-in-micropython/

https://scruss.com/blog/?p=16620

Hidden away in the Pico MicroPython guide is a hint that there may be more modules installed in the system than they let on. In the section about picotool, the guide has a seemingly innocuous couple of lines: frozen modules: _boot, rp2, ds18x20, onewire, uasyncio, uasyncio/core, uasyncio/event, uasyncio/funcs, uasyncio/lock, uasyncio/stream The third and fourth ‘frozen… Continue reading Raspberry Pi Pico: DS18x20 in MicroPython

Quick labelled Fritzing Raspberry Pi Pico layout

https://scruss.com/blog/2021/02/14/quick-labelled-fritzing-raspberry-pi-pico-layout/

https://scruss.com/blog/?p=16616

Nothing particularly new or innovative here, but if you’re making simple Raspberry Pi Pico circuits and need to explain them to folks, this little Fritzing template might help. It’s mashed up from: the pinout diagram (chopped and scaled); the Raspberry Pi Pico Fritzing part. Since both of these components are from the Raspberry Pi Foundation’s… Continue reading Quick labelled Fritzing Raspberry Pi Pico layout

Presentation: Getting Started with MicroPython on the Raspberry Pi Pico

https://scruss.com/blog/2021/02/11/presentation-getting-started-with-micropython-on-the-raspberry-pi-pico/

https://scruss.com/blog/?p=16608

I just gave this talk to the Toronto Raspberry Pi Meetup group: Getting Started with MicroPython on the Raspberry Pi Pico. Slides are here: or, if you must, pptx: If I were to do this again, I’d drop the messy thermistor code as an example and use a DS18x20, like here: Raspberry Pi Pico: DS18x20… Continue reading Presentation: Getting Started with MicroPython on the Raspberry Pi Pico