March 2019
Intermediate to advanced
312 pages
7h 37m
English
The ultrasonic sensor's trigger pin is connected to wiringPi pin number 12, while the echo pin is connected to wiringPi pin number 13 via the voltage divider circuit. The VCC pin of the ultrasonic sensor is connected to physical pin 2 (5V) of RPi, and the ground pin of the ultrasonic sensor is connected to physical pin 6 of RPi. The remaining connections are as follows: