MOSFET Connection
blakrapter
Posts: 38
Hello everyone,
I plan to use·a BS2 to drive a fairly large motor (12Vdc, 20 AMP) via a MOSFET using the BS2 PWM feature.· My problem is, I know only the basics and I know this can be done and I know what main components I need, but I am worried about how to hook it all up.· From my experience with electronics, I am pretty sure I won't be able to hook the MOSFET gate lead to the chosen output pin without putting something in the middle to protect both the stamp and the MOSFET.· The same goes for·the lead·between the MOSFET and the motor...· I talked to several of you about voltage regulators to step the 12V signals down to 5 volts, which requires more than just a regulator. That is why I assume there will need to be some resistors, capacitors, or something between all of my "main" components.
I would really like to know a good resource for looking this kind of stuff up.· I have purchased some starter books on electronics that I am working my way through, but I haven't finished them.· I hope MOSFETs and connecting them will be covered eventually, but I thought I would ask all of you because I learn better from you all than I do from a book.
Thanks!
I plan to use·a BS2 to drive a fairly large motor (12Vdc, 20 AMP) via a MOSFET using the BS2 PWM feature.· My problem is, I know only the basics and I know this can be done and I know what main components I need, but I am worried about how to hook it all up.· From my experience with electronics, I am pretty sure I won't be able to hook the MOSFET gate lead to the chosen output pin without putting something in the middle to protect both the stamp and the MOSFET.· The same goes for·the lead·between the MOSFET and the motor...· I talked to several of you about voltage regulators to step the 12V signals down to 5 volts, which requires more than just a regulator. That is why I assume there will need to be some resistors, capacitors, or something between all of my "main" components.
I would really like to know a good resource for looking this kind of stuff up.· I have purchased some starter books on electronics that I am working my way through, but I haven't finished them.· I hope MOSFETs and connecting them will be covered eventually, but I thought I would ask all of you because I learn better from you all than I do from a book.
Thanks!
Comments
http://forums.parallax.com/attachment.php?attachmentid=41944
Also check out this other forum
http://forums.parallax.com/showthread.php?p=590196
I have a small test PWM example that I use to run motors at 50% in one of the replys.
·
Post Edited (bennettdan) : 6/14/2006 2:24:15 AM GMT
The other easy method to switch 12 volts to 5 is with a 5 volt Zener. You can find them at Radio Shack or anywhere. You need a very simple circuit to do it, but think of it as a regulator that only allows 5 volts out, no matter what goes in, but Zeners come in a lot of ratings, so it is a cheap simple regultor. You may have to consider switching times on both optos and Zeners after you get the basics down.
Here is the simplest version of a zener in a regulating circuit, it uses on one zener and and one resistor, it couldn't be easier. Just buy the zener with a larger voltage rating that you need.
http://www.allaboutcircuits.com/vol_6/chpt_5/7.html