Yes, you can do this but it might be better to isolate the AC away from the DC with a relay. Because the connections to the switch are in such close proximity to one another, there is some danger of causing a short in one or both of the circuits (just my opinion). With great care and proper heat shrink, you could diminish the associated dangers. But I'd use a relay.
|