#bluetooth #gatt #arduino
Web BLE on the Chrome browser can be used to interact with a BLE device by connecting to it and then reading the GATT service and characteristics values.
⏰ TIMESTAMPS
0:00 Intro
2:24 JavaScript code to detect any BLE device on the browser
6:20 Arduino code on the nRF52 board to start advertising itself
9:13 Publish GATT characteristic UV Index every 1 second on the BLE device
12:05 JavaScript code to display the changing GATT characteristic values
‣ Some links below are affiliate. I receive a small commission at no extra cost to you.
PRODUCTS MENTIONED
Adafruit Feather nRF52 Bluefruit LE https://amzn.to/39WpHw8
DEMO FILES
Detecting BLE devices on the browser: https://hutscape.com/tutorials/webbl...
Display GATT services and characteristics: https://hutscape.com/tutorials/webbl...
LINKS SHOWN
Web Bluetooth Specs https://webbluetoothcg.github.io/web...
Can I Use browser compatibility https://caniuse.com/#feat=mdnapi_blu...
Google Chrome developers BLE https://developers.google.com/web/upd...
Chrome samples https://googlechrome.github.io/sample...
Adafruit nRF52 board https://www.adafruit.com/product/3406
Adafruit nRF52 Arduino https://github.com/adafruit/Adafruit_...
Sample code https://github.com/adafruit/Adafruit_...
BLE basic terminologies https://www.silabs.com/community/wire...
Bluetooth GATT services https://www.bluetooth.com/specificati...
Bluetooth GATT service Environmental sensing https://www.bluetooth.com/wpcontent/...
Bluetooth GATT characteristics https://www.bluetooth.com/specificati...
Bluetooth UV Index GATT Characteristics https://www.bluetooth.com/wpcontent/...
TOOLS USED
https://hutscape.com/tools