Remote Data Logging with Two Micro:bits In a previous post , we used a single micro:bit to log sensor data. That worked well, but it came with a significant limitation: the micro:bit had to stay plugged into the computer the whole time. In many real situations, you want to place a sensor somewhere away from your computer — across a room, outside a window, or just somewhere more useful. The solution is to split the job between two devices: one micro:bit collects and transmits sensor data wirelessly, while the other receives it and passes it to your computer for logging. This is actually very close to how remote monitoring systems work in the real world. The Plan We'll build on the previous data-logging project and turn it into a simple wireless monitoring system. Tip: To avoid confusion, program each micro:bit separately. Only plug one in at a time, and use a separate MakeCode window for each. Micro:bit 1 — The Transmitter This micro:bit handles the sensing. It reads the l...
Robots and getting computers to work with the physical world is fun; this blog looks at my own personal experimenting and building in this area.