Go Down

Topic: magnetic sensor (Read 527 times) previous topic - next topic


Hello all
i want to buy a magnetic sensor for a parking spot. So  i want to sense the car when its there and when its gone. I saw that the hall sensors are very famous for that but i do not know how to choose one. i just want to connect to an arduino get the readings and i guess with a threshold to be able to tell if there is a car there. i think it will be precise enough. also if its buried under the parking spot it will be protected from weather.
so has anyone done that? or knows which magnetic sensor can be used for that ?


The typical Hall sensor you are thinking of is usually used to detect nearby magnets, and wouldn't work for a vehicle. However, a magnetometer (used in electronic compasses) might work, like this one: https://www.sparkfun.com/products/10530

Most commercially available vehicle detectors, like driveway vehicle alarms and traffic light controllers, use buried coils of wire and require sensitive electronics to process the signal.


what kind of input does this sensor produce? you seem to know a lot on the topic. how would you do it?


what kind of input does this sensor produce? you seem to know a lot on the topic. how would you do it?

Did you read the Quick Start Guide and download the sample Arduino code?- they might help
meArm build blog:     http://jimbozamearm.blogspot.com/

Please don't PM for technical advice. Firstly my advice is sometimes wrong, and second, in the forum you get a broader, more timely, range of responses.


Feb 07, 2014, 06:31 pm Last Edit: Feb 07, 2014, 06:35 pm by jremington Reason: 1
In a magnetic compass, the magnetometer allows to detect the direction that the Earth's magnetic field is pointing, by measuring the relative magnetic field strength in three perpendicular directions. Nearby iron-containing objects will distort the direction of the Earth's magnetic field, so  if a car is nearby, it will look as if "North" has moved. The magnetometers are very sensitive, so normally people have to go to great pains to avoid or reduce this effect.

I would bet that the Sparkfun magnetometer would easily detect the difference between a vehicle nearby and "no vehicle" but it would probably require some experimentation to arrive at a reliable setup.


i see. magnetometer it is then :) thank you both for the information !!!

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131