Hello,
I have a GPIO of a microcontroller connected up to the gate of a mosfet (BUK9Y107-80E) like this image below:
I want to add a SP3T switch (3 position: ON - OFF - ON function) so that it functions like this: center position and the GPIO works like normal. Push to the right and it overrides the GPIOs output and makes it high, push to the left and it overrides the GPIOs output and makes it low.
Would something like this work? (note the schematic shows a 2 position switch... the 3 position switch would be just like this only there are no connections made in the middle position):
I just kind of threw out those resistor values. Am I on the right track or is there a better way of doing this? I know a DP3T switch can be configured to a true 3 position switch and I could make it work that way, but I am restricted to a single pole switch here. Thanks and any help or advice is greatly appreciated!
I have a GPIO of a microcontroller connected up to the gate of a mosfet (BUK9Y107-80E) like this image below:
I want to add a SP3T switch (3 position: ON - OFF - ON function) so that it functions like this: center position and the GPIO works like normal. Push to the right and it overrides the GPIOs output and makes it high, push to the left and it overrides the GPIOs output and makes it low.
Would something like this work? (note the schematic shows a 2 position switch... the 3 position switch would be just like this only there are no connections made in the middle position):
I just kind of threw out those resistor values. Am I on the right track or is there a better way of doing this? I know a DP3T switch can be configured to a true 3 position switch and I could make it work that way, but I am restricted to a single pole switch here. Thanks and any help or advice is greatly appreciated!