Asked — Edited

Hc-Sr04 Ultrasonic Distance Sensor

does the HC-SR04 Ultrasonic Distance Sensor that came with the v3 developer kit work with the v4 or does it need a voltage regulator


Upgrade to ARC Pro

Unleash your robot's full potential with the cutting-edge features and intuitive programming offered by Synthiam ARC Pro.

United Kingdom

It needs a voltage regulator. The HC-SR04 requires +5V, anything more will damage it.


Any 5V sensor you plug into the V4 board will need a voltage regulator unless you are powering the V4 with 5v (which you probably wouldn't be)... So the quick answer is yes you need a 5V regulator....

That's weird ...not sure if it is just me, but posts 1# and #2 in this thread have been reversed.... Rich's reply is post #1....


Thanks good info. I think Rick must be psychic

United Kingdom

The forum time went a little funny earlier which has made forum post go in a funny order in some cases. I'm good but I'm not that good :)


@Rich... You have invented time travel, haven't you? .... I knew it... :P


Rich is messing with his ezb metaphysical psychic reader adviser program. It looks like it's working great.

United Kingdom

OK you got me, I was testing out my design for the new EZ-Bit flux capacitor and accidental use them with the Dagu 4Channel Motor Controller and this example



looks good, but just remember not to travel to anywhere where you cant get the 1.21 gigawatts of electricity. People have gotten stuck that way.


How do you connect the HC-SR04 Ultrasonic Distance Sensor to the board?

I got a development kit and I think it already comes with a voltage regular, I am not sure a) where to connect it b) in the builder how to add it.

Below is a picture of what mines looks like.

User-inserted image


you will use 2 digital ports.

on the first port black to black white to white red to red

on the second port green to white.

You will then need to set the ports up in ARC depending on which control you are using.


either the first or the second port will be send. the other one will be receive.


I have the Ultra sonic sensor from the EZB v3 kit. I know it needs a 5v regulator for use with the EZB V4, but can I use this one?


Thanx DJ:) wired as normal to the +/- wires?