This project has sample code for the Complex Arts Sensor Board.
The code is written using the ESP32 Arduino core. See
https://complexarts.net/wiki/code/arduino
for instructions on installing the ESP32 Arduino core.
In order to interact with the onboard BNO085 IMU you will need to install the
Sparkfun BNO08X Arduino library. See
https://www.arduino.cc/en/guide/libraries
https://learn.sparkfun.com/tutorials/installing-an-arduino-library
for more information on installing arduino libraries.
Android phones can receive serial streams over Bluetooth. See: https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal
Two demos are provided:
-
Blink
Version of the standard Blink demo that runs on the Sensor board. -
HelloWorld
Initializes the BNO085 over SPI and prints accelerometer reading over serial. -
Bluetooth
Initializes the ESP32 as a Bluetooth device and the BNO085 over SPI and prints accelerometer reading over Bluetooth.