AxisOrange
An ESP32 sensor project.
Parts and sourceBefore you start
Confirm board compatibility and supported firmware targets in the upstream documentation.
Upstream README
AxisOrange
Overview
M5Stack series firmware to send 6DOF sensor(SH200Q or MPU6886) data and quaternion by Bluetooth serial port protocol(SPP).
This is demo. M5StickC calucutates and sends quaternion to PC by SPP. PC receives quaternion via serial port.
Usage
AxisOrange supports M5Unified devices. like
- M5Stack Gray (without MPU9250 model)
- M5Stack Core2
- M5StickC
- M5StickCPlus
Simple viewer
This is AxisOrange data viewer by web serial port.
- Build and write AxisOrange.
- Paring AxisOrange with your PC.
- Open
HtmlViewer/index.html. Reccomend: Google Chrome. - Push [list serial device] and select AxisOrange Port. May be named
ESP32SPP. - AxisOrange can calculate and save gyro zero point error. push [gyro-offset install]
- You can copy raw output of AxisOrange as csv text.
Features
Sensor Data
AxisOrange sends raw value of 6DOF sensor.
- Acc(xyz) [G]
- Gyro(xyz) [deg/s]
Quaternion
AxisOrange calucutates quaternion by acc/gyro and sends it.
- Quaternion(xyzw)
Button
AxisOrange sends button A/B(/C) push/release event trigger.
- Button A Push/Release event
- Button B Push/Release event
- Button C Push/Release event (if 3rd button is installed)
Install
This project use PlatformIO.
Library
- M5Unified and M5GFX
- BluetoothSerial
- Mahony filter
License
MIT