Hey,
Am using an Arduino UNO and a YEI 3 Space Sensor (3-Space™ LX Embedded Inertial Motion Sensor - Yost Labs).
I would like to communicate with this through I2C and get the Euler angles from it. I have seen examples of codes in which they have communicated with this sensor using arduino due and through SPI protocol.
Am also having trouble understanding the SPI code posted in the forum since i am kind of a noob to this sensor and these protocols itself.
any help would be appreciated
thanks
If you have example code for SPI you should use that. I2C is not going to make the code any less complex. The choice between SPI and I2C is a hardware and performance question.
SPI is full duplex and allows faster clock speed, but needs more I/O pins
I2C is only halve duplex, slower clock speed but needs less I/O pins
The YOST 3-Space AHRS sensor is very expensive and according to reviews, the product suffers from poor quality control and is very poorly supported.
You might consider CHRobotics sensors, as they work well and are well supported, but do let us know how the 3-Space works out for you.