How to plot real-time sensor data from three BBC Micro:bits.
Please find a video showing this in action below. On the screen to the right of the juggling clown, you can see the accelerometer data. Each BBC Micro:bit has a three-axis accelerometer in it. I get the averaged acceleration value from all three axes from each Micro:bit. On the screen, three are three traces, one for each Micro:bit. As the boards are juggled, the accelerometer values are sent by radio to a receiver Micro:bit connected to the computer. This Micro:bit acts as a bridge between the juggled Micro:bits and the computer. The accelerometer data is plotted real time using a Python script, using the pyqtgraph library.