Hi, so I have a few questions regarding gyroscope sensors, the analog port on the VEX Cortex, and bit-banging for I2C.
So currently I’m researching sensors for our robot, and we are looking to use a gyroscope this year for our college team. There’s the VEX Gyroscope which I have not used before, and about as much as I can tell you is that it’s a single axis gyroscope measuring the yaw rate. Also could tell you it’s analog.
Now, proposed to me by our build team is the use of a 3 in 1 Absolute-IMU Gyro, Accelerometer, Compass sensor. The Gyro and Accelerometer are 3-axis by the way. Granted this one is made for the NXT, but there is a breadboard I can buy and have headers for I2C communications.
This brings me to my 1st question: What are some benefits that I would gain by using the 3rd Party Sensor over the VEX Gyro, or vice versa? There’s not much room for us to change gyros once the decision is made due to things I can’t control, so the onus is on me to get everything working.
This brings me to my next point regarding the Cortex. How exactly do the analog ports on the Cortex interact with their sensors? I read up on it and they say a 12-bit resolution which to me would mean the values it sends out after the access time are between 0 and 4095, is this correct? At least these are the raw values?
Given this sensor here http://www.mindsensors.com/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=158, buying the breadboard kit where the pins are Two Grounds, Power, and Data and Clock for I2C, I don’t believe I would be able to use this sensor as an analog sensor.
Now, how I would be able to use this sensor with the VEX Cortex. It would be digital in nature, no? I’m still learning my way through the I2C protocol, so how exactly would I begin with the bit-banging process?
I apologize for the long exposé of a post, but these are just questions I have about the Cortex, sensors, and programming.