henrioliv / sf9domahrs

Automatically exported from code.google.com/p/sf9domahrs
0 stars 0 forks source link

problem reading serial data on 9DOF IMU #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Hello, 
I have the new 9DOF atomic imu and I am having a bit of trouble reading 
data from it. The installed sketch ran fine and I could read the data no 
problem, but I downloaded the AHRS code from the 9DOF AHRS Code Base. I 
compiled it for the Arduino Duemilanove w/ATmega 328 (which is the chip 
mine came with) and uploaded the sketch. 
I open up my hyper terminal and set it to 57600 baud. Data starts to flow, 
but it is just garbage..ie.strange characters that are not human readable.  
I assume something is wrong with my serial connection.  I changed my COM 
settings in the windows device manager to match those in my hyperterminal. 
What am I doing wrong? 
my settings are: 

Data bits =8 
Parity=none 
Stop bits=1 
Flow control=none 

windows xp pro sp2
arduino ide v0017

thanks a lot for any suggestions at all.

Original issue reported on code.google.com by patricka...@gmail.com on 8 Feb 2010 at 6:04

GoogleCodeExporter commented 8 years ago
It turns out the problem was with the outdated info on the sparkfun site for 
the 
ATMega328.  If you want to run the AHRS code you have to choose:  Arduino Pro 
or Pro 
Mini(3.3 V, 8Mhz) with AtMega328 as the board to upload to in the arduino ide.  
then it 
works great...you guys rock!!

Original comment by patricka...@gmail.com on 9 Feb 2010 at 4:30