Hi.
I have successfully operated a solenoid connected to Arduino. The problem is that I am very new in the world of electronics, because I am only a programmer.
My question is if I am using the proper electronic components with my solenoid, or else, which ones should I replace?
These are the components that I am using:
-Solenoid JF-0530B DC12V 300mA 5N / 10mm
-Resistance of 1k
-Diode 1N4007
-Transistor BDX53C
-Arduino UNO
-12V power supply
I used an online translator, sorry for poor English.
Thanks in advance.
If you put it together like this... then you are fine.
please note that your transistor will have a different pinout (see your datasheet) and is likely a lot more powerful than you need for the job. A smaller transistor (as shown) will have no issues with 300 mA.
Thanks for answering.
I actually wanted to use the 2N2222A or TIP120 transistor, but I only got the one I mentioned earlier.
The solenoid should make several strokes per second next for several minutes when working. If the transistor is more powerful than I need, could it overheat the solenoid? Should I change the transistor?
andres840:
If the transistor is more powerful than I need, could it overheat the solenoid?
The transistor is used as a switch.
An ideal switch has zero volt across when active, so the full supply voltage is across the solenoid.
If the solenoid is rated for 12volt continuous, then there shouln't be a problem.
But a transistor is not an ideal switch.
A darlington (BDX53C, TIP120) could have more voltage across when 'on' (less for the solenoid) than a normal transistor (2N2222). And could get hotter (heat = collector current times voltage across).
But it has a bigger case (has more cooling surface) than the 2N2222.
A 2N2222 can have a lower saturation voltage across when 'on', but needs more base current to do so.
I would probably use a 2N2222 with a 220-330ohm base resistor for 300mA collector current.
But a darlington with 1k base resisor would be almost the same for a 300mA solenoid.
Leo..
Often a solenoid has a rated maximum duty cycle - ie it cannot be powered up continuously without
melting down. I can't find a decent datasheet for this one, but I'm pretty sure its got a duty cycle limit,
so watch out for that, perhaps limit to 25% 10 seconds max.