I am planning a project that has 4 ultrasonic transducers. I want to connect them alternately to act as transmitter and receiver. So assuming there are two pairs A-B and C-D I want to have A transmit and B receive and then B transmit and A receive and then do the same for C-D.
I am using a micro-controller for the project but the MCU is doing other things and I am running out of pins to drive/receive the ultrasonics. Apart from getting an MCU with more IO pins (which I don't want to do for a variety of reasons) one obvious answer is to use a second MCU.
But.. it kind of feels like there ought to be a neat solution to switching over the transducers without another MCU but anything I can think of has a higher component count and costs more.
So is there a simpler way of doing it?
I am using a micro-controller for the project but the MCU is doing other things and I am running out of pins to drive/receive the ultrasonics. Apart from getting an MCU with more IO pins (which I don't want to do for a variety of reasons) one obvious answer is to use a second MCU.
But.. it kind of feels like there ought to be a neat solution to switching over the transducers without another MCU but anything I can think of has a higher component count and costs more.
So is there a simpler way of doing it?