Pololu Digital Distance Sensor 15cm failed after 2 weeks of operation

I am writing this sensor.

I bought it for very simple application: hand swipe light control
(it worked only as sensor). I installed it in the kitchen and it
worked very fine for all this time until yesterday I noticed that
it no longer works. And sensor was completely dead. It worked just for a couple of weeks.

It was powered by 3.3V output of ESP32 based relay module voltage output (that 3.3V output is dedicated for such low-current external devices) and sensors output was just connected to digital input if the same module.

I double checked the sensors by powering it from lab power supply at 3.3V and it is completely
dead.

Is it possible that sensor was faulty? I just have no idea what
could be wrong with this completely basic installation. My entire house has so many such installations and no issues. The same relay module has also a few other things connected without issues. I used to use IR based distance sensors at the same 3.3V voltage for months and it worked normally, all pins were connected the same way as this one. I just quit IR due to occasional glitches.

Hello.

I am sorry to hear your distance sensor stopped working. Are there any signs of life from the board; how much current does it try to draw when you power it from your lab supply?

Since it was working for a while then stopped, it’s likely that something about the application or environment somehow damaged the board. Can you post more specific details about how you were using the sensor along with pictures showing both sides of the board and setup it was installed in?

In the meantime, if you email us with your salesorder number, we should be able to help you out with a replacement.

- Patrick

Dear, Patrick.

Thanks for reply.

When I connect it to lab power supply it drains zero amps (at 3.3V).

Sensor itself is buried into the kitchen cabinet board and person cannot touch it or damage in anyway. There is a small hole, and when hand moves below that hole, sensor detects that and signal is sent to controller which turns on lights.

Sensor is connected via three wires at 3.3V. I connect it to Kincony kc868-a4s. It has standard 3.3V multi purpose Vout. I powered this sensor from this Vout. Sensor’s signal wire goes to analogInput of kc868-a4s module. Yes, analog, because it has only digital inputs for 5V, since I use ESPHome, I just set my own thesholds for detection and it worked fine (it kept ~2.18V when not triggered). This is the same connection and wires I used for my IR sensor before, I just replugged this one basically. The only unsual thing is that cable from kitchen to module is roughly 3.5-4m long, but after some testing, that was not an issue for IR sensor.

This is the module website, and at the end, there are schematics as well.

https://www.kincony.com/4-channel-gsm-relay-esp32-board.html

Honestly, I just do not know, what else differently I could have done here. This sensor seems very basic and simple. That was the main idea why i got it, because I just did not want t mess a lot with this simple application.

My Eckstein order number A6440133

Does your lab power supply have the resolution to show a current draw on the order of 30 mA? If so and you are not seeing that, then it seems like either there is a connection issue (how confident are you in your soldering?) or the sensor has been damaged, perhaps from a voltage spike on the supply line or ESD. Are you able to post some pictures showing both sides of the board?

The output when the sensor is not detecting anything should be Vcc, which in your case is 3.3V, so your measuring 2.18V is problematic. This might be a clue that one of your solder connections was not good, the power supply was inadequate, or the long wires were problematic. How much current can your Kincony 3.3V output deliver, and did you ever measure Vcc at the board to see if it was actually receiving the full 3.3V you expected even though the output was only 2.18V?

- Patrick

Dear, Patrick.

I am very well confident in my soldering. I have been doing that for 15 years and we run our own makerspace here.

It does have a resolution to show 30mA and I also attached multimeter with even higher resolution. No difference.

Connection is good, I measured voltages on both ends before deploying and it had 3.3V properly. I also did that after sensor crashed and it still had 3.3V. All seems normal.

ESD is impossible. I just do not see that happening. As I said, sensor was completely isolated from users and relay module is in the grounded electric panel. I have no idea how could that happen when nobody got close to the device itself and sensor.

2.18V is just a reading from the microcontroller itself, i.e. firmware showing that voltage, I did not measure actual voltage on the analogInput. But trust me, connections are good. I just did not see any point in doing that, because it just worked.

Output of that 3.3V supply is <1.5A. On the safe side, let’s say 1A, which is, I would say, way lower than this sensor actually needs.



Sensor connections were isolated with heatshrink tube that I removed for photo.

Thanks for the additional information and pictures. I do not see anything visibly problematic in them.

We have never heard a report of one of these just failing before, so it seems likely something happened to it, but it is not clear what that could have been in this setup. The one anomaly is the 2.18V reading on your microcontroller, which should never be a thing with these, so that is probably worth looking into further.

- Patrick

Dear, Patrick.

I might investigate that, not sure.

Considering origins of failure could be sensor itself. Would you be willing to send replacement for this? If it was a few euro sensor, I would not bother, but >20e per piece is something worthwhile thinking…

Thanks
Vaidas

Especially because you are in Europe, you would need to address possible replacement with the entity you ordered from. If you email us referencing this thread, I can offer you a discount on a replacement to buy from us, but I am not sure it would be practical to ship just that from the US.

- Patrick