ArduIMU V3 output Error

Hi,

I just ordered the ArduIMU and when I try to view it from the arduino serial window it only works for 9 loop refreshes then it displays a line of random characters and then repeats. I believe it is a result of a serial timing error. Any suggestions?

Daniel

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Hi Daniel

    Does the "random"  message look like the following ?

    I'm having the same issue and  seem to think that it is a string of bonary data being sent from the AP_GPS library to the GPS and being echoed to Serial monitir. 

    I'm using a Ublox 6 GPS with the Arduimu.  Perhaps you can post your "random"  characters ,  which I think is not random but some binary data,  as you see a repeatable pattern and the string, in ascii,   +KMLL003,0001,38400,0*26   which includes the BAUD of the GPS and what appears to be a checksum.

    Simon

    LAT:183347179,LON:-649220870,ALT:9,COG:160,SOG:0,FIX:1,SAT:5,
    LAT:183347139,LON:-649220859,ALT:8,COG:160,SOG:0,FIX:1,SAT:6,
    LAT:183347108,LON:-649220840,ALT:9,COG:160,SOG:0,FIX:1,SAT:6,
    LAT:183347057,LON:-649220790,ALT:9,COG:160,SOG:0,FIX:1,SAT:6,
    LAT:183347020,LON:-649220769,ALT:9,COG:160,SOG:0,FIX:1,SAT:6,
    LAT:183346993,LON:-649220752,ALT:10,COG:160,SOG:0,FIX:1,SAT:6,
    LAT:183346966,LON:-649220754,ALT:9,COG:160,SOG:0,FIX:1,SAT:6,
    LAT:183346934,LON:-649220767,ALT:9,COG:160,SOG:0,FIX:1,SAT:6,
    LAT:183346918,LON:-649220760,ALT:9,COG:160,SOG:0,FIX:1,SAT:6,
    x<x<xxx<xÀøxàxÀxÀxÀøxàxÀxÀøøxÀx<ðøxx<ÿøxÀxøxxø`f3fÌÀfxÃ0à<àÀÀÀxÏàÀÀà<xüæÀÀ<À3ÃÏ30æàyáaó U(+KMLL003,0001,38400,0*26
    µb/@hP¬H*16©±Â5V±±ª©!cT#üµbÈÝhµbGµbIµbOµbgµb$*x<x<xxx<xÀøxÀxÀxàxÀøxÀxÀxÀøøxàx<ðøxx<ÿøxÀxøxxø0`f30fðÃ`à<àÀÀÀxÏàÀÀà<xüæÀÀ<àfxÃf<xx`ÿ
    U(+KMLL003,0001,38400,0*26
    µb/@hP,H*±v©1µ±±ª©!cT#üµbÈÝhµbGµbIµbOµbgµb$*x<x<xxx<xàøxÀxÀxÀxÀøxÀxÀxàøøxÀx<ðøxx<ÿøxÀxøxxø`f30fðÃ`à<à<ÀÀàxÏàÀàà<xüæÀà<À3ÃÏ30æyáaó ª+S)    ¦&KLL&NM,0*26
    µb/@hP,H*±v©±ÂµV±±ª©!cT#üµbÈÝhµbGµbIµbOµbgµb$*LAT:183347036,LON:-649220838,ALT:8,COG:160,SOG:0,FIX:1,SAT:4,
    LAT:183347071,LON:-649220860,ALT:8,COG:160,SOG:0,FIX:1,SAT:5,
    LAT:183347093,LON:-649220835,ALT:9,COG:160,SOG:0,FIX:1,SAT:5,

  • Did anyone get a solution for this, other than turning off all GPS Requests?

    I am getting the same output when using a ublox GPS and setting gps device to 4 for the ublox. This error goes away when using a mediatek GPS (but the mediatek does not produce any GPS output).

    Sometimes the GPS message comes through properly, and sometimes it is skipped many times, but almost always their is gibberish or binary about every 9th line using the ublox.

  • i need help how can i connect Ardu IMU to Arduino mega 

  • I just loaded v1.9.8 and noticed the same thing. Here's what I discovered. I am not using a GPS, so I set GPS_CONNECTION to 1 for programming pins figuring this would shut off GPS altogether. It does not. It still tries to initialize the GPS every second, thus causing a stream of seemingly random characters. The stream depends on the GPS_PROTOCOL selected.

    To change this behavior, I wrapped each call to GPS in arduimu.ino with if (GPS_CONNECTION == 0).

    I'm not sure if this is a "proper" solution since I just started looking at the code but it works for what I need.

  • I uploaded it with a sparkfun 5v ftdi basic. The test code from the website works but all other versions of the code produce weird readings.

    Sorry for the late reply, I was waiting for an email notification and then forgot about the thread.

  • What did you load it with?

This reply was deleted.

Activity

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…