python

Micro:bit 2-way radio example - adding audio alerts

This post adds onto the previous tutorial, so if you haven’t already, you shoud go have a look at that first. Adding sound alerts If you’ve got a speaker connected to your Micro:bit, or have the MI:Power battery add-on that includes a speaker, it’s easy to add a sound to alert us of sending or receiving a new emoticon. In the original code, we had an if statement that would display the TARGET image, pause, and then display whatever image the incoming index pointed to:

Micro:bit 2-way radio example

Lately I’ve been playing with the BBC micro:bit. Having micro-Python on this cool device that boasts accelerometer, magenometer, bluetooth low energe (BLE), temperature sensors and a 25 LED matrix, and Integrated Circuit (I2C) interface makes it a easy entry point for kids to build and code on. So I was thinking it might be fun to send emoticons between two micro:bits, so here’s a micro-Python script I put together to broadcast emoticons to other micro:bits running the same script.

Showing progress

A number people from both established Code Clubs, and those interested in starting one, have asked me about strategies to engage active support from parents and IT teachers. Recently we had a chance to sit down and look back over some of our experiences running Code Club, and came up with some ideas about some things that worked for us. Comparing before and after At some point during the year, we usually ask our students to name some of the things they love about Code Club.