Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

orientation_setup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

flamingo_orientation

To get the orientation of the Flamingo module user in 3D space and send the data via BLE.

Hardware:

  1. Sparkfun nRF52840 Pro Mini
  2. Adafruit BNO055

Setup:

  1. Follow the sparkfun nrf52840 hookup guide
  2. In the /nrf52/ver_num/variants folder, change the pin assignment for the I2C pins, because the original pins need a QWIC connector. If you have the connector, you don't need to do this step. I chose Pin 4 for SDA and Pin 5 for SCL. (this directory is present in your arduino home folder, when you are copying the variants folder for the above step).
  3. Add the Adafruit 9DOF and Adafruit BNO055 libraries via the arduino library manager. The first one should also install Unified Sensors library with it.

How it works:

  1. Every second, the BLE board (which is also the main controller) polls the BNO055 sensor for orientation data over I2C, and the BNO055 sensor returns the X Y and Z orientation values.
  2. The controller board then takes this data, resolves it into one of the 8 cardinal directions and transmits it over BLE to a connected device.