Magnetometer vector-magnitude function FXOS8700CQ

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Magnetometer vector-magnitude function FXOS8700CQ

1,486 Views
lukelynch
Contributor III

Hello,

I have a FXOS8700CQ and intend to only use the magnetometer side of the device.

I want to know can anyone help me with setting up my device? I basically want to detect a magnetic field. the picture below with give an idea of my set up.

pastedImage_0.png

The magnet will end up in the same place every time and has roughly a magnetic field of 110uT at 120mm away from the magnetometer.

My concern is if someone was to bring a magnet or phone etc. up close to the rear of the PCB (-z axis) that it will mimic the magnet (as there is no negative or positive readings/threshold).

Is there away around this in software or using the Magnetometer vector-magnitude function? I don't know much about vectors etc. so if someone could help me it would be great.

i have AN4458 and I don't think it suits my application.

Regards,

Luke.

Labels (1)
0 Kudos
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-440820%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMagnetometer%20vector-magnitude%20function%20%20FXOS8700CQ%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-440820%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EI%20have%20a%20%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%22%3EFXOS8700CQ%20and%20intend%20to%20only%20use%20the%20magnetometer%20side%20of%20the%20device.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%22%3EI%20want%20to%20know%20can%20anyone%20help%20me%20with%20setting%20up%20my%20device%3F%20I%20basically%20want%20to%20detect%20a%20magnetic%20field.%20the%20picture%20below%20with%20give%20an%20idea%20of%20my%20set%20up.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_0.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22pastedImage_0.png%22%20style%3D%22width%3A%20557px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F23184i569AF57968EC4F9A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22pastedImage_0.png%22%20alt%3D%22pastedImage_0.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EThe%20magnet%20will%20end%20up%20in%20the%20same%20place%20every%20time%20and%20has%20roughly%20a%20magnetic%20field%20of%20110uT%20at%20120mm%20away%20from%20the%20magnetometer.%20%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EMy%20concern%20is%20if%20someone%20was%20to%20bring%20a%20magnet%20or%20phone%20etc.%20up%20close%20to%20the%20rear%20of%20the%20PCB%20(-z%20axis)%20that%20it%20will%20mimic%20the%20magnet%20(as%20there%20is%20no%20negative%20or%20positive%20readings%2Fthreshold).%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3EIs%20there%20away%20around%20this%20in%20software%20or%20using%20the%20Magnetometer%20vector-magnitude%20function%3F%20I%20don't%20know%20much%20about%20vectors%20etc.%20so%20if%20someone%20could%20help%20me%20it%20would%20be%20great.%20%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%22%3Ei%20have%20AN4458%20and%20I%20don't%20think%20it%20suits%20my%20application.%20%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-external-small%22%20data-content-finding%3D%22Community%22%20href%3D%22http%3A%2F%2Fcache.freescale.com%2Ffiles%2Fsensors%2Fdoc%2Fapp_note%2FAN4458.pdf%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20style%3D%22font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%20color%3A%20%23017bba%3B%22%20target%3D%22_blank%22%3E%3CBR%20%2F%3E%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%22%3ERegards%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%2351626f%3B%20font-family%3A%20arial%2C%20helvetica%2C%20'helvetica%20neue'%2C%20verdana%2C%20sans-serif%3B%22%3ELuke.%20%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-440820%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EMagnetic%20Sensors%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E