When the micro:bit moves or goes out of Bluetooth range, Scratch reacts with an alert. This project is a fun demo showing how Bluetooth signal strength and motion sensors can detect when an object is moved. Try it by moving your bag, shaking it, or walking away with it — no real thieves required. But who knows...
Press x or green flag to clear alert history. DISCAIMER- Dont rely on this for real security. A redundant system on a micro: bit with say, a constant power source if the battery fails is not compatible or possible on today's micro-bits. This could work for security, but a micro-bit, as it's designed to be a fun toy, isn't great for dependable security