For your situation, a simple 2mH - 10mH inductor in the ground, and fed with 20kHz is all you need to detect a car. The spacing of the inductors will detect length and this will determine size. If you have 3 inductors in alignment, you can also determine length as you know the speed of the vehicle.
I'm not sure if you need to measure each parking place or only at the entrance. If it is a drive thru it seems like 2 ir sensors like what are used in tv remotes and tv's would work. Spacing is such that if both are blocked it is a big car. If only one at a time is a small car.
For your situation, a simple 2mH - 10mH inductor in the ground, and fed with 20kHz is all you need to detect a car. The spacing of the inductors will detect length and this will determine size. If you have 3 inductors in alignment, you can also determine length as you know the speed of the vehicle.
The ir is simple. Just an ir source at 40KHZ and the off the shelf TV detector. Detect the absence of pulses. The whole thing is less than $10. But, your problem is more complex. You don't know how far into the space the car is. Is it correct to assume that length is the factor you want to check? If so what is the tolerance?
The ir is simple. Just an ir source at 40KHZ and the off the shelf TV detector. Detect the absence of pulses. The whole thing is less than $10. But, your problem is more complex. You don't know how far into the space the car is. Is it correct to assume that length is the factor you want to check? If so what is the tolerance?
I was doubting the 3 beam theory since a small car may only hit 1 beam and what if a big car just neatly lined up with 2 beams instead of 3.
This i think has to be found out empirically.
What do you think?
you won't have to find out the distance between barriers by experiment.
The size (length) of the parking lot must be known to place the barriers at distances taking care of any car size (being allowed to park there, since an 18-wheeler will certainly not fit.)
Even if it's a matchbox car only hitting one beam it must be something being parked on the lot (which calls for payment)
From my graph there is only one way for a big size car to break two barriers - if it is parked (partly) outside the parking lot.
I guess a three barrier solution covers all cases.