Monday, 24 October 2022

QR Codes

 QR codes can be used to encode lots of different kinds of data viz.

  • URLs
  • Free text
  • Contact
  • PDF
  • App
  • Email 
  • Phone 
  • SMS
I've tried constructing a free text QR code, and it's pretty cool - my phone reads it and displays the text, making it available to copy and read.

Might be interesting to do something with these...
I used https://www.the-qrcode-generator.com/ which requires a sign-in for Dynamic QR codes (presumably ones that use their site as the repository of the info, and a level of indirection through it).

Tuesday, 11 October 2022

Micro:bit musical instrument?

 Science Oxford Code Club is doing musical instruments on 22 October, but the current thinking is all about hitting, because that's quite easy with servos. How about a wind instrument? 

  • Source of wind - either operator or some sort of fan/funnel/concentrator/tube
  • Win instruments have 
    • a buzzer thing, like a reed instrument
    • a whistle, like a recorder
    • a flute-like transverse blowing arrangement
  • Needs variable pitch preferably
    • Change pipe length - slider like a trombone?
    • Change pipe length - stop off holes, like most instruments
    • Change pipe - like an organ, pan pipes etc.
I'm quite liking the idea of bottle-based pan pipes - easy to set up pitches, can be arranged in a radial pattern, servo can move pipe around the circumferential bottles from the centre. Servo position determines  bottle in use.

And then what about plucked instruments?? Servo could surely twang a string with a plectrum of some sort. Could also operate in both directions, up and down. Pitch variability hard, unless micro:bit can also operate some kind of pressing arrangement on frets, or, maybe a slide by rotating a roller with strings that move the slide up and down the string.

Lots to work on here!