2
\$\begingroup\$

Scenario: Power a solenoid by soldering on the gnd and pwr cables of a 12v wall wart.

I found this wall wart in my house that I think will work. From what it says I assume it can transform 120v to either 5v or 12v through the "tiny pins" that plugged into whatever device it plugged into.

I'm thinking the steps to use this wall wart on a breadboard to power both the solenoid and Arduino would be something like (with some unknowns?) [This is where I need help - verification and additional info on the steps to take]:

  1. Remove the "cruft" around the little pins so they are free (is there a recommended way of doing this?)

  2. Here is what I don't understand: take 1 of the 12 v little pins and solder a cable that will go from the wall wart to the breadboard's + row (or twist the 12V cables together then solder or crimp to cable) do the same with the GND.

\$\endgroup\$
7
  • \$\begingroup\$ It sounds like electrical but it doesn't sound like engineering. \$\endgroup\$
    – Andy aka
    Commented Aug 5, 2013 at 21:14
  • \$\begingroup\$ I do not wish to be annoying. I was told to post here? \$\endgroup\$ Commented Aug 5, 2013 at 22:07
  • \$\begingroup\$ Do you have any information/specs on the solenoid? \$\endgroup\$
    – JYelton
    Commented Aug 6, 2013 at 2:30
  • \$\begingroup\$ (Thank you!) The solenoid is from sparkfun: sparkfun.com/products/10456 (while the datasheet (AWT15SP) just notes AC220V for voltage,note the description corrects this to point out the solenoid is 12V) \$\endgroup\$ Commented Aug 6, 2013 at 16:20
  • \$\begingroup\$ Comments on Sparkfun show a 39Ω coil resistance, so ~300mA requirement. \$\endgroup\$
    – Passerby
    Commented Aug 6, 2013 at 18:32

1 Answer 1

1
\$\begingroup\$

A solenoid is an electromagnet; basically a coil of wire which can take a fairly substantial amount of power.

Your "wall wart" appears to be a switching power supply which converts 100-240V AC to both 5 and 12 volts DC. Both outputs are capable of 2.0 amps. Here's the important information that I was able to extract from the larger photo of your power supply:

Power Supply Label

What you/we don't know, is:

  • What voltage the solenoid needs
  • How much current the solenoid needs
  • What the duty cycle of the solenoid is

If your solenoid happens to operate on 12V at something less than 2A at 100% duty cycle, then you should be able to use this power supply handily. You'll need to find some information on the solenoid to know what is appropriate to power it with.

As far as the connections, the DC side of your adapter is what looks like a Mini DIN, which is common in various rack-mount equipment and some audio gear (but many other things I am sure). If you have no other use for the adapter, you could cut off the Mini DIN plug and attach your own. For wiring to a breadboard, you might want to cut the connector off, strip the wires 5mm or so, and then tin them. There will be at least three conductors:

  • Ground
  • 12V
  • 5V

Be sure to use a voltmeter to make sure you can identify them.

Once stripped and tinned, you can then use some simple alligator clips to connect to things, or if the wire gauge is small enough, insert them directly into the breadboard.

To help clear some things up regarding the pins:

The connector appears to be a 6-pin Mini DIN, but it doesn't look like a standard PS/2 connector; I wasn't able to find a compatible connector to recommend to you. The manufacturer appears to be using two 12V pins and two 5V pins to ensure that they are capable of carrying the full 2A. With a 2A load, just one pin might not be sufficient, and would get hot. Putting each output on two pins ensures that there's enough conductor material to carry the current.

Without a mating female socket that matches the connector you might have a hard time connecting wires to the pins. You might try a PS/2 connector (like this breadboard adapter from Jameco) but from what I can tell in the photo, I don't think they are necessarily compatible.

Without any information about the solenoid, it is not possible to give any useful advice.

Edit:

Per the information given about the solenoid in comments, a user posted this at Sparkfun about it:

The datasheet solenoid specifications don’t match this part. Here’s are the real measurements: The coil DC resistance is approximately 39 ohms. The operating current is about 300 mA at 12VDC, and it will take it continuously without overheating.

This means the 2A supply you have will be able to power the solenoid with no problem. Good luck with your project.

\$\endgroup\$
2
  • \$\begingroup\$ Solenoid has 39Ω coil/300mA draw, according to sparkfun users. \$\endgroup\$
    – Passerby
    Commented Aug 6, 2013 at 18:36
  • \$\begingroup\$ The 2A power supply should be more than adequate then. The Sparkfun site indicates it's a 12V solenoid. \$\endgroup\$
    – JYelton
    Commented Aug 6, 2013 at 18:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.