Hello all.
I have a On/Off/On style DPDT switch that I'd like to setup as to act as a On/Off/Auto switch with a micro controller. I'm thinking of having the micro monitor a pin set as an input (A3 in attached example) and if reads a HIGH signal then the program can appropriately set something to be in "auto" mode.
My thought is that Diode D1 allows a HIGH signal to reach A3 in only one of the switches On positions.
I'm not sure if I would need resistor R1 or not, but figured it might be good to have a small value there.
Would this work, or how might I better wire this?
-marc
I have a On/Off/On style DPDT switch that I'd like to setup as to act as a On/Off/Auto switch with a micro controller. I'm thinking of having the micro monitor a pin set as an input (A3 in attached example) and if reads a HIGH signal then the program can appropriately set something to be in "auto" mode.
My thought is that Diode D1 allows a HIGH signal to reach A3 in only one of the switches On positions.
I'm not sure if I would need resistor R1 or not, but figured it might be good to have a small value there.
Would this work, or how might I better wire this?
-marc
Attachments
-
54.6 KB Views: 237