micro:bit Panic Button with Firebase and Cordova Plugin

Опубликовано: 11 Июль 2026
на канале: Ferry Djaja
637
2

Build Panic button with micro:bit
When you are in trouble press the Panic Button!

The system has two components a micro:bit tag that can be worn on the person and which links to their smartphone via Bluetooth Low Energy — enabling the system to broadcast the button presser’s location (or, specifically, the location of their phone as this utilizes the GPS in their phone)

Requirements:
Install the following cordova plugins:
cordova plugin add cordova-plugin-ble --save
cordova plugin add cordova-plugin-firebase-realtime-database --save
cordova plugin add cordova-plugin-geolocation

Fork my Git repo:
https://github.com/ferrygun/micro-bit...
And update the main source code:
https://github.com/ferrygun/micro-bit...

Copy the .hex file to micro:bit:
https://github.com/ferrygun/micro-bit...

Client UI to check the current GPS location:
https://github.com/ferrygun/micro-bit...

Please join Singapore micro:bit user group for more details:
  / microbitsingapore