Quantcast
Channel: Pimoroni Buccaneers - Latest posts
Viewing all articles
Browse latest Browse all 53895

HC-SR04 Ultrasonic Sensors

$
0
0

Hi all,

Working on a project that will end up using a load of ultra-sonic sensors.

The HC-SR04 echo pin works on 5V logic so I've had to implement a voltage divider to drop that down to 3V3 for the Pi. Since I don't want to have to do this for every echo pin, I figured I could use a common echo pin and poll the sensors in a round-robin fashion.

This is the circuit I'm planning, but as a bit of an electronics newbie, it seems wrong that one of the echo pins can be at 5V whilst the rest are at 0V (hence the diodes). No idea how that affects the voltage divider and the input to the Pi.

Anyone care to shed some light or experience?

Cheers,
Tom


Viewing all articles
Browse latest Browse all 53895

Trending Articles