Gyro and Ardinuo

Please see my post below:

Hi,
I haven't actually bought all the components yet, but I would like to connect a Gyro to a Arduino Pro Mini and then to my PC.

Which should then be able display the Gyro's X Y Z roations on my PC.

Here is the plan:

Shopping List

FTDI Basic Breakout - 3.3V - http://www.sparkfun.com/commerce/product_info.php?products_id=10009
Arduino Pro Mini 328 - 3.3V/8MHz - http://www.sparkfun.com/commerce/product_info.php?products_id=9220
Triple-Axis Digital-Output Gyro ITG-3200 Breakout - http://www.sparkfun.com/commerce/product_info.php?products_id=9801

Connections:

USB -> FTDI

FTDI -> Arduino Pro Mini

RXI -> TX0
TX0 -> RXI
3.3V -> VCC
GND -> GND

Arduino Pro Mini -> Gyro


So would the above and using this code (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1278367409/17#17) for the Arduino allow me to get the X Y Z roations to my PC screen?

Also what connections would I need between Ardunio Pro Mini and the Gyro??

Thanks for any help

Tornado,

I think this gyro could be linked to the Arduino using an I²C connection. It says so on the webpage you linked.

I think this would allow you to view the data of each axis, you would then integrate the data to have the angle of rotation around each axis.

But you may know that gyros drift over time, you need accelerometers to correct the pitch and the roll, and a magnetometer to correct the yaw. Along with a fusion algorithm such as a Kalman filter or the Direction Cosine Matrix.

Best thing to buy would be an IMU, search google for to see what it is.

You didn't tell us enough about your project and what you want to do with this data so I can't tell you more than this.

retxed68

Arduino Pro Mini 328 - 3.3V/8MHz - http://www.sparkfun.com/commerce/product_info.php?products_id=9220
Triple-Axis Digital-Output Gyro ITG-3200 Breakout - http://www.sparkfun.com/commerce/product_info.php?products_id=9801

What pins would I connect between the Gyro and Adunio Pro Mini above??

I want to make a 3D simulation/game that uses data from a number of Gyros attached to a person, like there arm, hand, etc.

I know a lot about 3D programming, but not much about electronics like this.

Any help would be appreciated.

it's i2c so the i2c pins on the arduino.

Not sure what it is on the pro mini but it's only 2 data wires (and two power wires)

Mowcius

Ok looking at this page: http://www.arduino.cc/en/Main/ArduinoBoardProMini

Would I connect the data to ports 4 & 5?

Yes, 4&5

Mowcius

Thanks - go to go an buy all the stuff now and put it together :smiley: :slight_smile:

Would this IMU (IMU Analog Combo Board Razor - 6DOF Ultra-Thin IMU - SEN-10010 - SparkFun Electronics) connect to Arduino's analog points?

Yes. Generally accelerometers, gyros, and IMUs would be analog devices.

Hello all,

I'm new to the forums, wasn't quite sure where to post this. Was reading this thread and figured I'd post it here. I'm sorry if this not the right place to post this.

I'm a senior BME at Northwestern University, just got assigned my senior design project. The goal is to design a device that would aid in the physical therapy of hemiplegia patients (mostly kids). I won't go into the details of the disorder but essentially, they forget they have a second hand - often neglecting it, regardless of having some motor control in this affected hand. Basically, we need to design a device that can be worn by these kids, wireless and comfortable, that will detect periods of inactivity of their affected hand and then remind them to use it via some sort of stimulus - a buzzer, flashing light, vibration etc.

I've done some reading (we just got assigned the project, please excuse my lack of knowledge) and it seems to me that a 3-axis (maybe even 2-axis) gyro would be the best for detecting hand use / lack thereof.

This just the start of the project, so I'm thinking of some possibilities - but if you guys have any ideas / experience / input, I'd very much appreciate the help.

I've tinkered a bit with Arduino in the past, but I'm still pretty new to this.

Thanks!