2017年7月13日 星期四

[RPi] GY-801

馬上會用到, 筆記一下, 要修改 import 和 i2c address

https://github.com/peterjc/longsight/blob/master/gy80.py
https://github.com/bitify/raspi/tree/master/i2c-sensors/bitify/python/sensors
https://github.com/bitify/raspi/tree/master/i2c-sensors/bitify/python/utils

http://astrobeano.blogspot.tw/2014/01/gy-80-orientation-sensor-on-raspberry-pi.html


不過有些數值好像還沒讀到?

Gyroscope/Accl/Comp q (nan, nan, nan, nan), yaw nan, pitch nan, roll nan (degrees)
Gyro-only quaternion  (nan, nan, nan, nan), yaw nan, pitch nan, roll nan (degrees)
Accel/Comp quaternion (0.03, 0.16, 0.99, 0.00), yaw 161.5, pitch 3.54, roll 179.1 (degrees)


沒有留言: