I have a motor edge mirror(car mirror). It has 3 inputs. If I connect any 2 pins of these 3 pins to 12 volt (500 mA) power supply it rotates in one direction and so on.
I want to control that mirror with the help of voice commands. e.g. if I say "forward" -the mirror will move forward. I am using pocketsphinx. Up to the recognition part I have done successfully.
Next is , when I will say forward, the exact 2 pins, (those tend to move that mirror in forward direction) will get power supply and rest pin must be left open. Similarly, when I will say backward, the exact 2 pins, (those tend to move that mirror in backward direction) will get power supply and rest pin must be left open.
Please suggest me how will be the circuit diagram to control that mirror.