You may think you’re cool, but you’ll never be playing-tuba-and-fiddle-simultaneously cool

You may think you’re cool, but you’ll never be playing-tuba-and-fiddle-simultaneously cool

You may think you’re cool, but you’ll never be playing-tuba-and-fiddle-simultaneously cool

Instagram filter used: Normal

View in Instagram ⇒

inky phat draws a design

A bit dusty, and no sound, but worked out pretty well. (YouTube link if embed doesn’t work — inky phat draws a design)

Tiling based on plate 43, “a rotating motif …”, Wilson, Eva. Islamic designs for artists and craftspeople. New York: Dover Publications, 1988. ISBN: 978-0-486-25819-5

two-colour EPD displays are so pretty …

rotating tile pattern on Pimoroni Inky pHAT EPD display

This is a 600 dpi scan of a Pimoroni Inky pHAT EPD display. EPDs — electrophoretic displays, aka ‘e-ink’ or ‘e-paper’ — retain their image when turned off, so this Raspberry Pi had no power when I scanned it.

The image I made to fit the display is really small —

It’s a bit of a process making the images with just the right palette in GIMP, but I’m pleased how it turned out. I’d like to be able to write the vector images directly to the screen from SVG, but that might take some time.

InkyPhat-rotating2-212x104-web.svg
Tiling based on plate 43, “a rotating motif …”, Wilson, Eva. Islamic designs for artists and craftspeople. New York: Dover Publications, 1988. ISBN: 978-0-486-25819-5

Keep the Morphy Richards flying

Keep the Morphy Richards flying

(All explained somewhat better here: Maker Festival Projects: Flying Toaster LED Panel – Elmwood Electronics)

You may just see this running at Elmwood Electronics‘ stand at the Maker Extravaganza this weekend. Built from:

Code: Toaster32x32-170705a.zip

Keep the Morphy Richards flying

Instagram filter used: Lo-fi

View in Instagram ⇒

It’s amazing what you find when you rootle about in the “USB (misc)” drawer #pihub

It’s amazing what you find when you rootle about in the “USB (misc)” drawer #pihub

It’s amazing what you find when you rootle about in the “USB (misc)” drawer #pihub

Instagram filter used: Lo-fi

View in Instagram ⇒

maximal annoyance with the BBC micro:bit and MicroPython

I just picked up a micro:bit, the little educational microprocessor board originally from the BBC. It’s a nice little unit, though like all educational resources, it’s sometimes hard to access resources as a non-edu type.

I landed upon MicroPython, a Python language subset that runs directly on the micro:bit’s ARM chip. I rather like the Mu editor:
To give the old microcontroller grumps something real to complain about, MicroPython includes a bunch of very high-level functions, such as a powerful music and sound module. Getting the sound out is easy: just croc-clip a speaker onto the output pads:

(MicroPython warns against using a piezo buzzer as a speaker, but mine worked fine — loudly and supremely annoyingly — with a large piezo element. Some piezos have a fixed-frequency oscillator attached, but this simple one was great.)

This trivial example plays the Nyan Cat theme forever, but every time it loops it gets faster. The beats variable starts at the default 120 bpm, but is increased by one every time:

# nyan but it gets faster
import music
beats = 120
while True:
    music.set_tempo(bpm=beats)
    music.play(music.NYAN)
    beats = beats + 1

This starts out as merely irritating, but quite quickly becomes deeply annoying, and in mere hours become vastly vexing. I’m sure you’d only use this power for good …