Proximity detection

proximity-sensor

I'm very new to this. Please bear with me. I want a simple circuit which beeps when something is moved apart farther than a certain distance. I'm thinking of a sensor and something that's sensed (sensee?). They would be about 3 inches apart, if they are moved farther apart than that I need a beep. I need this to be somewhat configurable, between 2 and 4 inches. My initial thought is NFC, but I don't want to use a smart phone, and ideally I want something really fundamental and simple, with a passive sensee (no power needed on that) and very low power draw on the sensor and beeper circuit.

What are my options?

Best Answer

Aside from Hall sensors mentioned in the comments, there are two widespread types of proximity sensors which may have the range you need:

  1. Ultra-sonic sensors
  2. Infra-red / laser based sensors

Ultra-sonic sensors provide good range and coverage (think of car park-aid systems) but they usually have a minimum range which is too big for your purposes. Laser-based sensors only cover one particular direction, but are more precise. Infra-red sensors provide wider coverage. I believe you can find one which will suit you.

Depending on the circuit you need to build, you can choose a sensor with digital interface (I2C, SPI etc) or some sort of analog signal (usually PWM).