Our step-by-step guide to program the open smartwatch for wireless sensing and identification applications.
Learn how to program Bangle.js with existing or custom code.
A Bangle.js and Web Bluetooth.
Many—but not all—modern browsers such as Chrome support Web Bluetooth by default. MDN maintains this list of browser compatibility.
Browse to the Espruino IDE and connect using Web Bluetooth.
Point a web browser to https://espruino.com/ide/
Click on the Connect/Disconnect icon at top left, and then select Web Bluetooth from the popup.
Identify and select the Bangle.js from the list of scanned devices, then click Pair.
If the desired Bangle.js does not appear, check the following:
If pairing is successful, the Connect/Disconnect icon at top left will turn green. The Bangle.js can now be programmed wirelessly from the browser using Web Bluetooth.
The following files are maintained by reelyActive:
Hello Bangle in Blocks:
Click on the Send to Espruino button in the centre toolbar with the default option to write the file to RAM.
A few seconds after the file send begins, status messages will indicate if the file was successfully sent. At this point, the program will begin execution.
If there are errors in the program, these will appear in the console on the left side of the screen. Otherwise, the program will run in memory until the Bangle.js is reset or the menu is invoked.
Once the program runs successfully, disconnect from the Bangle.js by clicking the Connect/Disconnect icon at top left.
Configure other Espruino devices, or continue exploring our open architecture and all its applications.