![]() |
|
|||||||
| The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it. |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I am using an output on the Microchip 16F628A to operate a 12VDC solenoid. My output being a logic high of 5V and I would or thought I could connect and IRF3205 HEXFET to turn on my solenoid. If I connect the gate to the output pin of the processor and 12VDC to to positve lead of the solenoid while having the ground lead going to the Drain on the HEXFET and then the SOURCE connected to ground will then activate my solenoid. Now I am not sure if the IRF3205 is a good choice but how I would like to connect my load to this is output from processor to gate, 12VDC to DRAIN and then I can bring the source to a terminal strip, from the terminal strip I would connect the positive solenoid wire and the ground lead of the solenoid to ground. The solenoid coil is 34 Ohms and the voltage is 12VDC. Thanks for any suggestions |
|
#2
|
||||
|
||||
|
Your MOS is more powerful than needed but it will work. I suggest to not connect it directly to the output of the PIC but drive a small BJT with the PIC which it will drive the MOS gate up to 12 Volts. This is because the maximum threshold voltage of the MOS is 4 volts and may the output of the PIC wont be enough to turn it fully on. Also, if you are going to pulse the MOS at high frequencies use a 50 ohm resistor in series with the gate and a 1K resistor between the gate and the source. I forgot to tell you to connect the source to ground and the drain to one side of the coil.
__________________
>> Troubleshooting is an art << http://www.youtube.com/watch?v=hC7KYbFBPHA http://www.youtube.com/watch?v=StNJlRTWs9k http://www.youtube.com/watch?v=j-4h3l9O4fc http://www.youtube.com/watch?v=E0jZJ...eature=related |
|
#3
|
|||
|
|||
|
Your IRF3205 needs approximately 10V at its gate to turn on completely. Your PIC cannot provide that. You can do as mike3 suggests and add a small driver, which can take a variety of forms, or go to a logic level mosfet. Be sure to have the mosfet connected between the solenoid and ground, i.e., "low-side."
John |
|
#4
|
||||
|
||||
|
Rember that your solenoid is inductive and should be paralled with a diode, cathode to +12 V;Schottky would be best.
|
|
#5
|
||||
|
||||
|
Also, I suggest you to parallel two protection diodes across the coil in case the one fails as not to destroy other parts of the circuit. Also, its good to place a small capacitor across the protective diodes to compensate for the turn on time they need to conduct.
__________________
>> Troubleshooting is an art << http://www.youtube.com/watch?v=hC7KYbFBPHA http://www.youtube.com/watch?v=StNJlRTWs9k http://www.youtube.com/watch?v=j-4h3l9O4fc http://www.youtube.com/watch?v=E0jZJ...eature=related |
|
#6
|
|||
|
|||
|
Thanks for all of the suggestions, but I need to be able to have the mosfet source connected to the +12v side of the solenoid and the soilenoid ground connected to the case frame. I've seen N channel FETS on a pcb with the source pin being a positive output connected to a terminal strip for external connections. Would I really need a P channel FET then, if so, the absoulute maximum current I would need to pass from Drain to Source would be 5 Amps DC.
|
|
#7
|
|||
|
|||
|
Quote:
Quote:
Which P-channel mosfet are you considering? Can you submit a schematic of what you are now planning to do? John |
|
#8
|
|||
|
|||
|
Hopefully my attachment is clear enough since I had to scale it down. The upper left circuit is how I can make the fet work with the load going to ground through the fet. The lower right circuit is what I would like to be able to do. My voltage coming out of the processor is a logic 5v and my load is 12vdc. Thanks for the replies.
|
|
#9
|
|||
|
|||
|
That picture didn't seem to work so I am trying again
|
|
#10
|
|||
|
|||
|
I can't read the mosfet number. They both look like N-channel, so only the upper left schematic has a chance of working (i.e., turning the mosfet completely on), if the mosfet is logic level. You also do not have any protection drawn across the light bulb for when it is replaced with the inductive load.
Can you scan or export from your drawing program at about 150 dpi and post in GIF or PNG? That might work better. 300 dpi might improve even more, but don't let the file size get out of hand (say no more than 250 kb should work fine). John |
|
| Tags |
| hexfet, mosfet, power, solenoid |
Related Site Pages
|
||||
| Section | Title | |||
| Worksheet | CMOS logic gates | |||
| Worksheet | Conventional transistor overview and special transistors | |||
| Worksheet | Insulated gate field-effect transistors | |||
| Worksheet | Junction field-effect transistors | |||
| Textbook | Field-effect-controlled thyristors : Thyristors | |||
| Video Lecture | MOSFET Amplifiers - Transistors and Transistor Circuits | |||
| Video Lecture | MOSFETS - MOS Field Effect Transistors - Transistors and Transistor Circuits | |||
| Textbook | Depletion-type IGFETs : Insulated-gate Field-effect Transistors | |||
| Textbook | Insulated-gate field-effect transistors (MOSFET) : Solid-state Device Theory | |||
| Textbook | Junction field-effect transistors : Solid-state Device Theory | |||
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Isolated Power MosFet from PIC ? | rsisson | Embedded Systems and Microcontrollers | 5 | 01-21-2009 01:03 PM |
| 100V Switching using power mosfet | arvinik | The Projects Forum | 14 | 04-30-2008 03:41 PM |
| how to replace a 12volt 30amp auto relay with a Power Mosfet | mazur50 | General Electronics Chat | 3 | 07-19-2007 08:33 PM |
| Power MOSFET selection | 1:1 | The Projects Forum | 2 | 01-28-2007 09:30 PM |
| mosfet with solenoid load | swatchit | General Electronics Chat | 4 | 11-28-2006 08:48 AM |
| Thread Tools | |
| Display Modes | |
|
|