Sunday, 2 June 2013

Switching a solenoid between 2 different AC/DC adapters?

Switching a solenoid between 2 different AC/DC adapters?

I have build a circuit to turn a solenoid on and off with an Arduino (actually it's 10 solenoids, but that's not important right now), and now I would really like to make it possible to choose between 2 different AC/DC adapters because that would give me possibility to have 2 velocity levels that I can trigger from Max/msp. Of course I never want the positive side of the two different AC/DC adapters to connect, so I would have to make sure (in my Arduino code), that never happens.
Here's a rudely made schematic hopefully spreading some light on what I'm trying to achieve:

As the picture shows, I am unsure as where to connect the positive side of the solenoid. At first I thought this was easy to do, but I don't think connecting the positive side of the solenoid to each of the AC/DC adapters positive sides would work out, although I'm not sure.

No comments:

Post a Comment