Demo to show how to use Chrome to connect to a heart rate monitor, as well as a Bluetooth smart bulb. The ultimate goal creates a "Stress Display" that uses the heart rate value, to display a "traffic light" stress meter. This consists of various shades of green, yellow or red depending on the heart rate value.
- Read battery status
- Read heart rate information
- Hacking into a smart bulb (Sharper Image LED Bulb Bluetooth Speaker - SBT5007)
- Mac
- PC
- Smartphones
- Android
- IPhone (Not working currently)
- Windows (Not tested)
- Chrome version 56+
- index.html
- the main page.
- deviceInfo.js
- get device information.
- battery.js
- get battery information.
- heartRate.js
- get heart rate information.
- temperature.js
- get temperature information.
- lightBulb.js
- set the colors of the lightbulb.
- stressDisplay.js
- base on the heartrate of the heartrate monitor, set the color of the bulb to differenct shades of green, yellow or red.
- Get Bluetooth information using Chrome:
- chrome://bluetooth-internals
- Wireshark (to analyze packets)
- Bluetooth Simulator App:
- "BLE Peripherals" App, for Android devices
- Sharper Image LED Bulb Bluetooth Speaker (SBT5007)
- Crane Heart Rate Monitor
- About $15 at Aldi
- Just about anywhere ($20+)
- “Web Bluetooth (100 Days of Google Dev)
- Interact with Bluetooth devices on the Web
- Reverse Engineering a Bluetooth Lightbulb
- Micro:bit
- Raspberry PI
- BB-8 (Star Wars)
- Drone (Parrot Mini Drone Rolling Spider)
- Thermometers