Connection Diagram
In the connection diagram we have the 2 basic pins one is the negative and the other is the positive (black and red
wires)
The other wires are the dat wires called TRIG and ECHO we'll use them to send a pulse and to get back response so
we can determine the distance by the time it takes for the pulse to return back to the sensor.
Make sure to connect them properly, TRIG goes to GPIO23 and ECHO goes to GPIO24.
Connection
Component
Raspberry Pi
58 of 114
Need help?
Do you have a question about the Raspberry Pi & Arduino Starter Kit and is the answer not in the manual?