CR-Formula / STM32-Examples

Repository for example code on STM32 based platform
GNU General Public License v3.0
1 stars 0 forks source link

Spec IMU #2

Closed APBashara closed 1 year ago

APBashara commented 1 year ago

Select IMU for use on CR-28 Currently have a Sparkfun ICM-20948 Explore other motorsports options as well

APBashara commented 1 year ago

https://www.canalgeomatics.com/product/sbg-ellipse-d-miniature-dual-gnss-ins/

APBashara commented 1 year ago

https://www.omniinstruments.co.uk/lpms-curs-9-axis-imu-ahrs-motion-sensor-oem-version.html

vaughn-miller commented 1 year ago

https://www.digikey.com/en/products/detail/tdk-invensense/IAM-20680HT/15792840 good automotive solution but requires some more pcb work

vaughn-miller commented 1 year ago

https://docs.google.com/spreadsheets/d/1dcyz6iV356iEcNz_fcOY-OLWTQ99qWUj6Q1IHMWERbc/edit?usp=sharing

APBashara commented 1 year ago

Ok I like the sparkfun one haveing the best general specs, only concern is hooking it up We had lots of issues with I2C on 27 so I don't want to rely on that but if we could use SPI that would be a good option I think we should plan on testing the Sparkfun IMU we have with SPI on 27 and see if it works well, if so I think we do that otherwise we can go with the alternative $170 one with CAN or RS232 capabilities. What do you think about this @vaughn-miller?

vaughn-miller commented 1 year ago

Works for me, I can try to get it going if we have dev boards in ames in the next couple weeks

APBashara commented 1 year ago

Yeah, it will just be using the system on 27 to test. Would like to try to remove the existing I2C lines and add ones just for the IMU first; the downside is the car has to be running to test this. The SPI test may require more work and possibly soldering wires to the back of the mainboard to test things. Will most likely be very messy but that's ok cause it is temporary. The code is something I should be able to do rather quickly. Let me know if its something you want to mess with.

vaughn-miller commented 1 year ago

Why does the car have to run for i2c?

APBashara commented 1 year ago

When the engine runs, I2C stops working. I'm pretty sure its due to noise issues so if we are planning on using it for 28 then we need to have it 100% functional on 27 first.