...
- VCC = +5VDC (GPIO)
- Trig = Trigger input of Sensor (5V Digital GPIO)
- Echo = Echo output of Sensor (5V Digital GPIO)
Important: Outputs 5V. If the microcontroller can only handle 3.3V inputs, we need to build an easy voltage divider. - GND = GND (GPIO)
...