Hello ,
I am using a PiCar-X with a Raspberry Pi 4 B Model.
I need to connect 4 ultrasonic sensors (HC-SR04) to the Robot-hat, which only has 4 available digital pins, allowing me to connect only 2 ultrasonic sensors.
For other 2 Ultrasonic sensor, Which other pins can be used ?
I am planning to connect the 4 trigger pins of the HC-SR04 sensors to the available digital pins D0, D1, D2, and D3 of Robot-hat. Additionally, I will connect the 4 echo pins to available PWM pins.
Is this connection okay?
Thank you !
Best Regards,
Purusshotthama