Copter 3.3rc5 Compass parameters and configuration

Hi,

I could not get any answers in the other threads so may be making a new one will draw some attention.

Looking into set of parameters in the MP I see this list.

It makes one presume that it is possible to have up to 3 compasses?

Is it correct?

Can all 3 compasses be external?

If yes, should they all be connected to the same I2S bus contacts?

Does any of that work? Is it even worth to mess with it?

How to test compasses input? What can be done to see actual data an individual compass returns?

Could anybody share this info if it is not a top secret sacred knowledge?

--------------------------

COMPASS_PRIMARY00:FirstCompass 1:SecondCompassIf more than one compass is available this selects which compass is the primary. Normally 0=External, 1=Internal. If no External compass is attached this parameter is ignored
COMPASS_USE10:Disabled 1:EnabledEnable or disable the use of the compass (instead of the GPS) for determining heading
COMPASS_USE21
COMPASS_USE3

1

COMPASS_EXTERN20
COMPASS_EXTERN30
COMPASS_EXTERNAL00:Internal 1:External

Configure compass so it is attached externally. This is auto-detected on PX4 and Pixhawk, but must be set correctly on an APM2. Set to 1 if the compass is externally connected. When externally connected the COMPASS_ORIENT option operates independently of the AHRS_ORIENTATION board orientation option

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

Join diydrones

Email me when people reply –

Replies

  • You can use the one internal and one i2c external normally. All the commonly used chips used in external compasses use the same i2c address. So you can not have two extermal on the i2c bus. If you had two different addresses it would work.

    • 3702575903?profile=original>If you had two different addresses it would work.

      so, is it possible to get somehow 2 different addresses for a compass? where is an internal one get connected to?

      I would really like to have 2 redundant GPS units and 2 compasses on this system but do not know how to get it done. what can be done to this i2s compass on the GPS unit? can it go into CAN bus?

      or can we alter i2c address somehow? where is this address set on the hardware side?

      here is a list of interfaces I have on the PX4 clone I use.

      • The compass module has to be designed that way.

        You will have redundant compass with one internal and one on the i2c bus.Won't that work? There is nothing wrong with the internal Pixhawk compass.

        Otherwise I think it is just too much trouble to find a module with a programmable i2c address so you can have two external.

  • ok, I wasted time to solder a i2s bus splitter, but connecting 2 compasses to this bus does not do any good.

    • It would if they all did not have the same address. Most of of the stuff on the market all use the same address by default.

This reply was deleted.

Activity

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…