I want to use (probably) four ultrasonic sensors HC-SR04. These use a trigger pin and echo pin.
For the echo pins, I want to connect them to a timer with 'Combined Channels PWM Input on CH1', and the Input Trigger set to TI1FP1, so it is able to automatically time the high time of an echo.
However, since I don't want to use 4 timers, I want to interconnect all echo pins (and trigger the trigger pins of the sensors one by one).
Would this work, or is it not adviced to 'set' a signal to an echo pin when another echo pins becomes high?
Or should I use an IC with logical ORs? or is there a better/easier way?
simulate this circuit – Schematic created using CircuitLab
I got it by someone and he doesn't know the source, so I don't have a datasheet, this is something similar: Information