![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi can someone verify my little circuit please.
When I switch on I need 0.1A to go one way through a solenoid and when I switch off I need the 0.1A to go the other way. Much appreciated. Craig |
|
|
|
|
|
|
(permalink) |
|
Can you use a center off double pole switch? Really easy to reverse current with one.
![]() Your circuit has floating bases, you may want to add a couple more resistors to keep the tied to power & gnd. Last edited by blueroomelectronics; 12th June 2008 at 10:07 PM. |
|
|
|
|
|
|
(permalink) |
|
Yeah I can use what ever I like....I just thought transistors would work ok.
Instead of having a manual switch I am going to send 5V directly to the Base of the transistors from a PIC chip. I.e. to turn ON I send 5V to the Base of the ON transistors and OFF sends 5V to the Base of the OFF transistors. Thanks. Craig Last edited by richacm; 12th June 2008 at 10:11 PM. |
|
|
|
|
|
|
(permalink) |
|
|
|
|
|
|
|
|
(permalink) |
|
You need two PNP and two NPN transistors.
|
|
|
|
|
|
|
(permalink) |
|
Thanks for that...missed the PNP, NPN relations.
Attached is new circuit. I still have floating bases though as pointed out by blueroom....how do I stop that? Cheers, Craig |
|
|
|
|
|
|
(permalink) |
|
Sorry I didn't notice before... you also need to swap the PNP emitters with one another.
Your bases won't be floating when you hook them to the PIC. |
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
Last edited by richacm; 12th June 2008 at 10:36 PM. |
|||
|
|
|
|
|
(permalink) |
|
Can you put numbers on the transistors? Would be easier to explain.
|
|
|
|
|
|
|
(permalink) |
|
Numbers attached.
Thanks |
|
|
|
|
|
|
(permalink) |
|
I think I know what you mean....I needed NPN transistors didn't I?
As in the diagram. |
|
|
|
|
|
|
(permalink) |
|
Transistors 2 and 4 should be PNP. Emitters 1 and 2 should be connected together. Emitters 3 and 4 together too.
Sorry I took so long to reply, my internet at home is down. Last edited by mneary; 13th June 2008 at 06:19 PM. |
|
|
|
|
|
|
(permalink) |
|
But if 1 and 2 emitters were connected together then the current would go straight to ground wouldn't it? I wouldn't get any current going through the solenoid.
Sorry I am not following what you mean. Last edited by richacm; 13th June 2008 at 08:25 PM. |
|
|
|
|
|
|
(permalink) |
|
Here's what I mean: The two inputs are MCU ports. Won't work with a switch without additional resistors. Probably should replace the 1Ks with 220 or 270 ohms.
Last edited by mneary; 13th June 2008 at 08:39 PM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
EDIT: I think I am not clear on what a PNP transistor does. Is it the opposite of an NPN? In that it is on when the Base is Low and Off when the base is High? Last edited by richacm; 13th June 2008 at 08:57 PM. |
||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| PWM driver circuit for solenoid | waginia | Datasheet/Parts Requests | 14 | 29th March 2007 03:42 PM |
| I need a switch circuit please | ahonda55 | Electronic Projects Design/Ideas/Reviews | 7 | 2nd April 2005 01:48 AM |
| where to buy this solenoid? | daviddoria | General Electronics Chat | 6 | 2nd June 2004 09:55 AM |
| what is the switch for in this circuit?? | bonanz | General Electronics Chat | 1 | 11th November 2003 11:21 PM |
| What is a solenoid???.... | eyevancsu | General Electronics Chat | 6 | 10th May 2003 02:09 PM |