Monsters, lightbulbs and robots: having fun with WebBluetooth
summary
Controls a heart-rate sensor, BLE lightbulbs, a Lego rover and a drone from the browser using navigator.bluetooth.requestDevice and typed arrays; connects gamepad input to the rover with the gamepad API and animates paths with CSS animations. Shows real-world quirks: some bulbs require random bytes or checksums, some only accept writes and cannot be read, Wi‑Fi interference breaks demos, range is ~10–15m, beacons last four years and a physical web puck runs JS and can change lights.
AI-written summary · about
chapters (14)
- 0:00Intro
- 1:03Why WebBluetooth
- 4:44Progressive Web Apps
- 6:29Bluetooth
- 14:09Bluetooth API
- 17:22What you need
- 20:41The fun part
- 21:54The lightbulb
- 27:47The drone
- 30:35Demo
- 31:11Physical Web
- 33:21PuckJS
- 36:38Questions
- 39:01CSS animations








