# Distance Sensor #4079 not working with 3.3 Volt Input

**URL:** https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751
**Category:** Sensors
**Created:** [July 2, 2021, 4:04pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751 "2021-07-02T16:04:37Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![schoskin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@schoskin](https://forum.pololu.com/u/schoskin)
#### Post date: [July 2, 2021, 4:04pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/1 "2021-07-02T16:04:37Z")

</div>

Sensor will not work with 3.3 volt input supply, only with 5.0 volts.

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [July 2, 2021, 6:41pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/2 "2021-07-02T18:41:19Z")

</div>

Hello.

I moved your post to our sensors support category since it is a better setting for troubleshooting.

Can you post some pictures of your setup that show all of your connections and explain more about how you are powering and reading the sensor?

- Patrick

---

<div class="post-metadata">

### Author: ![schoskin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@schoskin](https://forum.pololu.com/u/schoskin)
#### Post date: [July 2, 2021, 8:17pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/3 "2021-07-02T20:17:45Z")

</div>

I’m using the Arduino IDE with serial monitor. Power is supplied from my PC via USB with 5.1 volts going to the Moteino R4. The sensor works as expected while it is powered from the VIN pin of the Moteino, which is 5.1 volts and the red LED changes intensity as measured distance changes. If I power the sensor from the Moteino on board 3.3 volt regulator (pin of the Moteino next to VIN) it does nothing and red LED stays off. The sensor output pin is connected to D6 of the Moteino which is PWM. I get the same results from two of the Pololu 4079 sensors.

![IMG_1439 (2)](https://forum.pololu.com/uploads/default/original/2X/d/de3d42bfcc4a7d8641c7552e1d66f6f3530c2356.jpeg)

![IMG_1440 (2)](https://forum.pololu.com/uploads/default/original/2X/0/0c7b8087e1cce3e833af8a97dced6ef8c3f4f814.jpeg)

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [July 2, 2021, 9:19pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/4 "2021-07-02T21:19:17Z")

</div>

Can you try measuring the voltage across the sensor’s VIN and GND pins to confirm that it is actually receiving power?

- Patrick

---

<div class="post-metadata">

### Author: ![schoskin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@schoskin](https://forum.pololu.com/u/schoskin)
#### Post date: [July 2, 2021, 11:11pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/5 "2021-07-02T23:11:49Z")

</div>

Yes, the sensor VIN and GND measures 3.29 VDC

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [July 6, 2021, 8:21pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/6 "2021-07-06T20:21:52Z")

</div>

We have tested that board with voltages as low as 3V, and we are not really sure how it could fail in a way that lets it work at 5V but not at 3.3V. That makes it especially strange that you are seeing this behavior from two units. Can you try measuring the on-board regulator voltage when the board is powered from both 5V and 3.3V? You can do that by touching one of these points with your positive multimeter lead and GND with the negative lead.

 ![pololu_4079_regulator_voltage_points](https://forum.pololu.com/uploads/default/original/2X/0/08d652fb3b36e311fe4ae97b153fc229449e45de.jpeg)

If you have an oscilloscope, could you use that to look at what is going as well? Specifically, please check for unusual noise or transients on the supply voltage and the regulator voltage.

Also, I suggest making sure your GND wire is seated securely in the breadboard. In your picture it looks like the it might not be making good contact (though it might just be a long pin instead).

- Patrick

---

<div class="post-metadata">

### Author: ![schoskin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@schoskin](https://forum.pololu.com/u/schoskin)
#### Post date: [July 7, 2021, 1:40pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/7 "2021-07-07T13:40:51Z")

</div>

I switched to a new breadboard and new jumpers.  
With an input voltage of 5.10, the measured voltage on the test point you identified is 2.86.  
With an input voltage of 3.29, the measured voltage on the test point you identified is 0.16.

I don’t currently have access to an oscilloscope.  
Short of a defective regulator, I’m at a loss for why I’m seeing this behavior.

I truly do appreciate you working to resolve this issue.

Scott

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [July 7, 2021, 9:34pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/8 "2021-07-07T21:34:15Z")

</div>

It is starting to appear like there might be something wrong with the regulator on your board. Can you email us at [support@pololu.com](mailto:support@pololu.com) with your order information and a reference to this thread? Also, can you let us know if you got the same results with both boards?

- Patrick

---

<div class="post-metadata">

### Author: ![schoskin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@schoskin](https://forum.pololu.com/u/schoskin)
#### Post date: [July 8, 2021, 2:09pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/9 "2021-07-08T14:09:48Z")

</div>

I do get the same results from both of the sensors. I actually purchased 3 of the 4079 sensors when they were introduced. I just connected the 3rd one and I get same results as the other two. All three produce the same distance reading when connected to 5 volt supply and are quite accurate. I really like these sensors, just need them to operate at 3.3 volts.

I will contact support as suggested.

Thank you Patrick  
Scott

---

<div class="post-metadata">

### Author: ![ALCastro](https://forum.pololu.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@ALCastro](https://forum.pololu.com/u/ALCastro)
#### Post date: [June 4, 2024, 8:06pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/10 "2024-06-04T20:06:33Z")

</div>

I am having the same problem with item #4052 (distance sensor 10cm): Only works with 5V, not 3V3.

Any conclusions for this issue ?

Thanks

---

<div class="post-metadata">

### Author: ![schoskin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@schoskin](https://forum.pololu.com/u/schoskin)
#### Post date: [June 4, 2024, 8:50pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/11 "2024-06-04T20:50:03Z")

</div>

Sorry, no additional information to share. For me, it only works with 5V applied.

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [June 5, 2024, 1:59am UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/12 "2024-06-05T01:59:52Z")

</div>

Hello, @ALCastro.

I went my over the emails with schoskin from when we were troubleshooting this in 2021. We found that his results seemed to be caused by a strange interaction between the sensors and the controller he was using, but we were not able to conclusively identify the issue.

Can you post more information about your setup (like how you are powering and reading the sensor) along with some pictures showing all of your connections and close-ups of the board? Can you also try measuring the on-board regulator voltage and looking at your setup with an oscilloscope as suggested in [this earlier post in the thread](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/6)?

- Patrick

---

<div class="post-metadata">

### Author: ![schoskin](https://forum.pololu.com/letter_avatar_proxy/v4/letter/s/46a35a/32.png) [@schoskin](https://forum.pololu.com/u/schoskin)
#### Post date: [June 6, 2024, 6:18pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/13 "2024-06-06T18:18:36Z")

</div>

I know it’s been several years since the original post. After seeing the post from @ALCastro, I pulled my sensors out and tested again. It turns out that there is some unusual issue with the regulator on the Moteino I had been using, even though the measured voltage was 3.29 VDC. I connected to another Moteino, and all is well. Sorry for any confusion on this issue and thanks for your support.

---

<div class="post-metadata">

### Author: ![ALCastro](https://forum.pololu.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@ALCastro](https://forum.pololu.com/u/ALCastro)
#### Post date: [June 12, 2024, 6:48pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/14 "2024-06-12T18:48:58Z")

</div>

Many thanks for your replies, they gave me some enlights how to proceed.  
My problem is similar (3V3 versus 5V) but the distance sensor is #4052 (10cm).  
I will return to this forum, once I make some some tests.

---

<div class="post-metadata">

### Author: ![ALCastro](https://forum.pololu.com/letter_avatar_proxy/v4/letter/a/eb8c5e/32.png) [@ALCastro](https://forum.pololu.com/u/ALCastro)
#### Post date: [June 15, 2024, 4:18pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/15 "2024-06-15T16:18:41Z")

</div>

Here are my findings:

 ![imagem](https://forum.pololu.com/uploads/default/original/2X/2/29bc64126be94b31cd18d8673dc48710adc03056.jpeg)

A)  
Powering with 3.27V  
Voltage diferential A-B = 0.18V  
Sensor does not detect any object (red LED does not light)

B)  
Powering with 4.64V  
Voltage diferential A-B = 02.80V  
Sensor does detect object (red LED turns on)  
Signal at OUT terminal is 4.3V

I decided to power the #4502 sensor with 5V and use a Logic Level Converter .

Thanks for your support.

---

<div class="post-metadata">

### Author: ![PatrickM](https://forum.pololu.com/user_avatar/forum.pololu.com/patrickm/32/7800_2.png) [@PatrickM](https://forum.pololu.com/u/PatrickM)
#### Post date: [June 17, 2024, 11:20pm UTC](https://forum.pololu.com/t/distance-sensor-4079-not-working-with-3-3-volt-input/21751/16 "2024-06-17T23:20:34Z")

</div>

What are the actual voltages you are reading at each of the points you circled? (i.e. please provide the actual voltage measurements relative to the board’s square GND pin, not the difference between them.)

The pad circled by A and the pads circled in group B are connected to the same net of copper in the PCB, so barring some physical damage to the PCB, it seems very unlikely that there would be significant voltage differences between them. Can you post some close up pictures of your boards as well as pictures showing how you are probing those points?

Also, what specific power supply are you using to power the board in your 3.3V case and your 5V case?

- Patrick
