I was considering wiring things as in the attached image. The three position switch would switch high volatge 120V AC, and also switch a 5V DC signal.
I say "was considering" this as my project has expanded a bit now and I'll use several buttons hooked to the MCU to change modes now, but originally there were only two modes and I thought this would allow a super simple interface and allow the MCU to know which of the two modes the user selected.
I'm curious and want to learn if this would have been a safe or acceptable way to wire things? Any thoughts or comments appreciated.
I say "was considering" this as my project has expanded a bit now and I'll use several buttons hooked to the MCU to change modes now, but originally there were only two modes and I thought this would allow a super simple interface and allow the MCU to know which of the two modes the user selected.
I'm curious and want to learn if this would have been a safe or acceptable way to wire things? Any thoughts or comments appreciated.
Attachments
-
136.2 KB Views: 22