Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


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.

Reply
 
Thread Tools Display Modes
Old 12th June 2008, 10:00 PM   (permalink)
Default Solenoid switch circuit verification

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
Attached Images
File Type: gif SolenoidSwitch.gif (7.1 KB, 21 views)
richacm is offline  
Reply With Quote
Old 12th June 2008, 10:06 PM   (permalink)
Default

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.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 12th June 2008 at 10:07 PM.
blueroomelectronics is offline  
Reply With Quote
Old 12th June 2008, 10:10 PM   (permalink)
Default

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.
richacm is offline  
Reply With Quote
Old 12th June 2008, 10:11 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics View Post
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.
Cool, will have a look
richacm is offline  
Reply With Quote
Old 12th June 2008, 10:14 PM   (permalink)
Default

You need two PNP and two NPN transistors.
mneary is offline  
Reply With Quote
Old 12th June 2008, 10:22 PM   (permalink)
Default

Quote:
Originally Posted by mneary View Post
You need two PNP and two NPN transistors.
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
Attached Images
File Type: gif SolenoidSwitch.gif (7.1 KB, 7 views)
richacm is offline  
Reply With Quote
Old 12th June 2008, 10:26 PM   (permalink)
Default

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.
mneary is offline  
Reply With Quote
Old 12th June 2008, 10:33 PM   (permalink)
Default

Quote:
Originally Posted by mneary View Post
Sorry I didn't notice before... you also need to swap the PNP emitters with one another.
Sorry I don't follow that one. The PNP Emitters go to either solenoid terminal to make the current go from 0.1A one way or 0.1A the other way....that's correct isn't it? Oh that little symbol in front of the 0.1A is a ~ for approximate. It looks like a "-" negative when its small.

Quote:
Your bases won't be floating when you hook them to the PIC.
Ah ok.

Last edited by richacm; 12th June 2008 at 10:36 PM.
richacm is offline  
Reply With Quote
Old 12th June 2008, 10:42 PM   (permalink)
Default

Can you put numbers on the transistors? Would be easier to explain.
mneary is offline  
Reply With Quote
Old 12th June 2008, 10:47 PM   (permalink)
Default

Numbers attached.

Thanks
Attached Images
File Type: gif SolenoidSwitch.gif (7.2 KB, 5 views)
richacm is offline  
Reply With Quote
Old 13th June 2008, 02:45 AM   (permalink)
Default

I think I know what you mean....I needed NPN transistors didn't I?

As in the diagram.
Attached Images
File Type: gif SolenoidSwitch.gif (7.2 KB, 7 views)
richacm is offline  
Reply With Quote
Old 13th June 2008, 06:17 PM   (permalink)
Default

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.
mneary is offline  
Reply With Quote
Old 13th June 2008, 08:24 PM   (permalink)
Default

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.
richacm is offline  
Reply With Quote
Old 13th June 2008, 08:37 PM   (permalink)
Default

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.
Attached Images
File Type: jpg hdrive.JPG (14.5 KB, 7 views)

Last edited by mneary; 13th June 2008 at 08:39 PM.
mneary is offline  
Reply With Quote
Old 13th June 2008, 08:52 PM   (permalink)
Default

Quote:
Originally Posted by mneary View Post
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.
Thanks, but when the Off/On switch is on wouldn't there be a straight path down to ground missing the solenoid?

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.
richacm is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
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



All times are GMT. The time now is 02:05 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.