Combined two programs with some editing and the resulting program connects to the BNO055 IMU, then is connects to the local WiFi to serve the display page. As you move the BNO055 chip around the airplane on the screen seems to follow. (Just got it working so there are likely some gotchas, but I feel pretty good for now).
Put the BNO055.js in the modules directory of the WebIDE project (sandbox)
The WiFi is an ESP8266 on a Pico shim
The BNO055 is I2C. See code for pins.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Success
Combined two programs with some editing and the resulting program connects to the BNO055 IMU, then is connects to the local WiFi to serve the display page. As you move the BNO055 chip around the airplane on the screen seems to follow. (Just got it working so there are likely some gotchas, but I feel pretty good for now).
Put the BNO055.js in the modules directory of the WebIDE project (sandbox)
The WiFi is an ESP8266 on a Pico shim
The BNO055 is I2C. See code for pins.
2 Attachments