Hi all,
I have a project, where a couple of servos are kept in the middle, turned right or turned left. This is done by a MCU. Easy.
I also need an optocoupler to switch on per each turn state. So 8 LEDs for 4 servos. It is easy to achieve through the MCU, but "eats" 8 output pins. Is there a way to do it electronically? I mean is there a device or a combination of components, preferably very small footprint, that would be able to interpret the servo signal and switch the right optocoupler of the two on or off depending on the PWM signal?
Sorry if it makes no sense at all. Just something that crossed my mind.
Thank you for your time,
Edmunds
I have a project, where a couple of servos are kept in the middle, turned right or turned left. This is done by a MCU. Easy.
I also need an optocoupler to switch on per each turn state. So 8 LEDs for 4 servos. It is easy to achieve through the MCU, but "eats" 8 output pins. Is there a way to do it electronically? I mean is there a device or a combination of components, preferably very small footprint, that would be able to interpret the servo signal and switch the right optocoupler of the two on or off depending on the PWM signal?
Sorry if it makes no sense at all. Just something that crossed my mind.
Thank you for your time,
Edmunds