DallasFormulaRacing / LabJackCanBus

Python scripts to read data from a LabJack DAQ into csv files
3 stars 1 forks source link

Gyro Sensor #5

Open GHAFHA opened 1 year ago

GHAFHA commented 1 year ago

the sensor we are using also has gyro capabilities, we want to have this available as well this sensor uses I2C for communication datasheet for the sensor: xcel: https://utdallas.box.com/s/o9jgf40pgph88szxvvick6mbc0ejwx25 gyro: https://utdallas.box.com/s/uwg92u5eyph3kpjilo8zamjkmtr8axqh sample code for reading in from i2c can be found here in the labjack docs: https://github.com/labjack/labjack-ljm-python/blob/master/Examples/More/I2C/sht3x.py

you will need to find the slave address on the chip which contains the gyro address then connect to it using a method from the ljm docs, refer to the accelerometer code as well for help

GHAFHA commented 11 months ago

nico will be working on this as well moving forward