Gibraltar
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


ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

United Kingdom
#1  

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

#2  

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....

Gibraltar
#3  

Thanks good info. I think Rick must be psychic

United Kingdom
#4  

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:)

#5  

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

#7  

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

United Kingdom
#8  

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

:D

#9  

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.

#10  

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

#11  

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.

#12  

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

#15  

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