Switching external MOSFETs with RAMPS 1.4 November 19, 2014 12:27PM |
Registered: 12 years ago Posts: 8 |
Re: Switching external MOSFETs with RAMPS 1.4 November 19, 2014 02:11PM |
Registered: 11 years ago Posts: 64 |
Re: Switching external MOSFETs with RAMPS 1.4 November 19, 2014 03:00PM |
Registered: 11 years ago Posts: 869 |
Re: Switching external MOSFETs with RAMPS 1.4 November 19, 2014 04:08PM |
Registered: 12 years ago Posts: 8 |
Quote
cdru
Your diodes aren't doing anything. They need to be across the inductive load with the stripe towards the positive lead.
There are also several other issues with your circuit. The +12v that you have labeled coming from D8 and D9 are only 5V if you are using the actual pins from the microcontroller. If you're using the 12V outputs that normally would power the fan and extruder, those are switched on the negative connection. 12v is always present so your mosfets are always on.
Your D8 side of the schematic has the +12V connected to a shunt that goes to ground. The voltage doesn't connect to the resistor to to go the gate, at least with any breadboard that I've ever used. As you have them oriented, the vertical holes are interconnected except the red and blue rows at the top and bottom that are horizontally connected.
Re: Switching external MOSFETs with RAMPS 1.4 November 24, 2014 05:41AM |
Registered: 14 years ago Posts: 7,616 |
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Switching external MOSFETs with RAMPS 1.4 April 08, 2015 09:26PM |
Registered: 12 years ago Posts: 544 |
Re: Switching external MOSFETs with RAMPS 1.4 April 09, 2015 09:05AM |
Registered: 11 years ago Posts: 869 |
The diode used in conjunction with a transistor is referred to as a flyback diode. When an inductive load (such as a fan or motor) is normally operating, the diode just sits there doing nothing. When the circuit is broken, the inductive load can produce a voltage spike which can damage electronics. The flyback diode allows the inductive load to draw current from itself, dissipating the spike without damaging other components.Quote
aduy
but what does the diode do?