Razor-AHRS / razor-9dof-ahrs

AHRS Firmware for the SparkFun 9DOF Razor IMU and SparkFun 9DOF Sensor Stick
Other
451 stars 264 forks source link

Connecting razor IMU Directly with MEGA 2560/UNO without FTDI Basic Breakout Board #33

Open michaelcheng1991 opened 9 years ago

michaelcheng1991 commented 9 years ago

Hi Guys! I've connected the IMU with MEGA in the following configuration, but I kept getting 0 for all the output. Could anyone please give me some hint on how to resolve this problem? Also, I've been trying to figure out where in the Razor_AHRS script calls the Sensors script? and is it possible for me to just use the Sensor script to get the output using MEGA without the FTDI?

This is my first time posting question, so please let me know if I should be more specific or informative. I really appreciate if anyone could help me out! Thanks!

IMU | MEGA 2560 GND ---- GND 3.3v ----- 3.3v TX0 ---- RX0 RX1 ---- TX1

ThotAlion commented 9 years ago

Hello,

I had this issue connecting RAZOR on Linux. It seems that the "zero" character is sent several times and enters the buffer only for the first line. I advise you to make a readline and remove all zero characters form the string you obtained. I have not this issue on Windows.

michaelcheng1991 commented 9 years ago

Thank you very much for your reply ThotAlion!

mongy910 commented 8 years ago

Did that fix your issue?