Pages: [1]   Go Down
Author Topic: magnetic sensor  (Read 333 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 ?
thanks
Logged

Oregon, USA
Offline Offline
Edison Member
*
Karma: 66
Posts: 2196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

"It seems to run on some form of electricity"

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Johannesburg. UTC+2
Offline Offline
Faraday Member
**
Karma: 91
Posts: 4257
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Roy from ITCrowd: Have you tried turning it off an on again?
I'm on LinkedIn: http://www.linkedin.com/in/jimbrownza

Oregon, USA
Offline Offline
Edison Member
*
Karma: 66
Posts: 2196
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: February 07, 2014, 12:35:20 pm by jremington » Logged

"It seems to run on some form of electricity"

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i see. magnetometer it is then smiley thank you both for the information !!!
Logged

Pages: [1]   Go Up
Jump to: