Proximity sensor help

Hi

I’m building a project that require a proximity sensor. It needs to be able to:

  • Detect that there is or is not something in the range of 0mm to around 30mm from the sensor
  • Object to be detected is stationary so refresh rate can be low
  • Low power consumption. This can also be helped by the sensor only needing to check once per 10 minutes or so
  • Height of sensor should be low. Such as 1-2mm
  • Inexpensive
  • Should be able to detect thin objects, like a single sheet of paper
  • preferably not needing any reflector on opposite side of sensor

Any tips on what technology to use? Or even specific sensors or circuits?

A picture is worth a 1000 words. Why don't you post a sketch of what you're trying to do? Include some of the objects you want to detect.

Tell the whole story. Give the "big picture." What exactly are you trying to do, and why?

Also, in your sketch, show what this means:

Hello
Did you ask the WWW already too?

Hi
Without more infos, i can suggest use IR send and receive diodes, use in photocopy and similar machines. Cheap and easy to implement.
Rgds

You are very correct.

The big picture is that I want to construct a sensor that detects of mail has arrived in my mailbox.
It is a small metal box with a slot in for mail, and I wanted something with a low profile to not take away from the space available for the mail. This was the part where I wished the sensor be as low profile in height as possible. For example some ultrasonic sensors are very tall.

This also explains why the sensor doesn't really need to give an exact measurement of how far away the object is, just that there is an object between 0 to around 30mm.

I thought about this, but if the object that is to be detected is flush with the sensor I don't see this working as the light would be blocked and could not bounce of the object to be detected at the receiver.

Previously I have tested a solution in where the diodes are in the bottom and the receivers at the top, but that meant too much wiring. I would prefer for the entire sensor to be housed at the bottom.

Yes

Maybe: Adafruit VL6180X Time of Flight Distance Ranging Sensor (VL6180) [STEMMA QT] : ID 3316 : $13.95 : Adafruit Industries, Unique & fun DIY electronics and kits

Wow that was a really cool sensor in a easy to use package!
The only thing is that I don't think it works if something is 0mm from the sensor, so touching it so to say. Then the light can't bounce of the object and into the light detector =\

Detecting mail coming through the slot may be another approach. Presumably the slot is some distance above the bottom and below the top.

Or, why not mount an ultrasonic sensor so the business end is flush with (or even below) the bottom of the box. Provided the box is tall enough, the sensor will return the height of the box when there is no mail, and if it is the venerable HC-SR04, it will timeout if there is mail (echo not received).

The same concept may also work with the VL6180X: no mail = returns box height; mail = returns zero...

Unfortunately mail usually don't arrive in the slot, rather the mailman opens the entire door to get access to all the mailboxes at once.

But I think I spoke too soon about the 0mm problem, and I think this ToF sensor will indeed work very well : )
As you said, it will either return the height of the box, and all other values means there is mail, more or less.

Ultrasonic sensors are too large, at least from what I have seen. Nothing can be mounted outside of the box, as the walls are shared with the other mailboxes.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.