Skip to main content

Posts

Activity: Remote Data Logging with a micro:bit (Python)

In the last 60 minute activity the micro:bit became a magnetism data logger, but it had to stay tethered to the computer by its USB cable. This time we cut the cable. One micro:bit goes off on battery power to take the measurements, and a second micro:bit plugged into the computer catches the readings by radio and logs them. It works on a V1 micro:bit too, so it is a good use for those older boards sitting in the cupboard. Activity Sheet: Remote Data Logging with a micro:bit (Python) Overview In this activity, you split a data logger across two micro:bits. A battery-powered transmitter measures light and temperature and sends the readings by radio. A receiver plugged into the computer picks them up and draws them as live graphs. Time: about 60 minutes Learning objectives By the end of this activity you will be able to: Send sensor readings from one micro:bit to another using the built-in radio. Use a radio group so that two micro:bits only listen to each other. Use labels to tell ...

60 minute activity: Detecting and Logging Magnetism with a micro:bit (Python)

Activity Sheet: Detecting and Logging Magnetism with a micro:bit (Python) Overview In this activity, you turn a BBC micro:bit into a magnetism data logger using Python. The micro:bit's built-in compass sensor measures magnetic force; your program sends the readings down the USB cable so the computer can draw live graphs of them. Based on the blog post Detecting and Logging Magnetism with a micro:bit . Time: about 45–60 minutes Learning objectives By the end of this activity, you will be able to: •        Explain that the micro:bit's compass is a sensor that measures magnetic fields. •        Write a Python loop that reads a sensor over and over. •        Send labelled data from the micro:bit to a computer using serial . •        Read a live graph and describe how a moving magnet changes the readings. What you need Item ...

Connecting the SPOKE board with Sonic Pi in Chrome

In a recent post ( First play with a SPOKE capacitive touch MIDI board ), I shared some first impressions of getting the SPOKE board connected, trying the web-based examples, and using it as drums in GarageBand. At the end of that post, I mentioned that the next thing I wanted to try was looking at the coding side of things., image taken from https://www.spokeboard.com/ Because the SPOKE board acts as a MIDI controller, my mind immediately went back to Sonic Pi . As I mentioned in an earlier post ( Spooky Hot-Cross Buns - Sonic Pi ), I have no musical ability at all, but I really enjoy creating with Sonic Pi—it is free, fun, and a brilliant bit of software. Putting the two together seemed like an obvious next step. For this experiment, I connected the SPOKE board as before, but instead of using an installed desktop app, I ran the web version of Sonic Pi ( https://sonic-pi.net/code.html ) straight in Chrome with no special set-up. This is a really useful option when you are working on a...

Mapping the Hidden Connections in the National Teaching Repository

The National Teaching Repository (NTR) has just won a prestigious national award for teaching and learning — the Collaborative Award for Teaching Excellence 2026 . Good timing, then, to bring together two things I've been enjoying lately: being part of the NTR board, and playing with AI to solve problems. I wanted to see what happened if I pointed some vibe-coding and some AI-assisted analysis at the repository itself. Could I surface patterns in the NTR that aren't obvious just from browsing it — the invisible web of who has worked with whom, and what the collective body of work is actually about ? Two small activities, one feeding into the other. Activity 1: Mapping co-author connections The first idea was simple: go through the NTR's FigShare listing and map the links between authors, to see the inter-connectedness that has organically built up over the years. The prompt I used was: I would like to go through the https://figshare.edgehill.ac.uk/The_National_T...