I want to use a headlight switch like in this video(https://www.youtube.com/watch?v=41uIZyRsJC4) would I just feed the battery side voltage on the like ignition power and then instead of sending the wires to the devices themself wire back to the input side of the pdm? which would then trigger the output?
top of page
bottom of page
The Z2 resister is he pull up resister in the PDM. Each out put of the switch would have a different value resister. Then all the output of the switch join up to one wire to the PDM. Each position of the switch will have a different value resister that the PDM will see a different voltage. Then you just use some logic on the PDM to switch on the relevant output.