Pages: 1 [2]   Go Down
Author Topic: Mosfet gate voltage  (Read 1529 times)
0 Members and 1 Guest are viewing this topic.
Ontario, Ohio
Offline Offline
Full Member
***
Karma: 1
Posts: 209
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Those voltage readings are good. So if we use a 220-ohm resistor between the MCU and MOSFET gate, and just drive the pin with digitalWrite() rather than PWM, when the pin is driven high, what are the voltages on either side of the 220-ohm resistor?

You want me to take the motor out of the circuit or leave it in?
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4093
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You want me to take the motor out of the circuit or leave it in?

Leave it in please
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Ontario, Ohio
Offline Offline
Full Member
***
Karma: 1
Posts: 209
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I measure anywhere from 1.2V to 4.96V on both sides of the resistor. It jumps all around. I'm going to try to wire up a TIP 120 and see how the motor responds to that.
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4093
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yet when driving a pure resistive load, the voltage looked steady, correct? Does the motor spin at a constant speed or does it act as though it's getting variable voltage?
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

Ontario, Ohio
Offline Offline
Full Member
***
Karma: 1
Posts: 209
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yet when driving a pure resistive load, the voltage looked steady, correct? Does the motor spin at a constant speed or does it act as though it's getting variable voltage?

Yes, when driving the pure resistive load, the voltage was steady. Sometimes the motor spins at a constant speed and sometimes it acts as though it's getting a variable voltage.

I'm really starting to believe it's a breadboard issue. I wired up the TIP 120, and it worked fine. I switched back to the mosfet, and it worked as advertised, and I even measured the right voltages in the right places.

A little later I will solder this circuit onto a perfboard and test it. I'll let you know what happens.

Thanks for all your help!
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 95
Posts: 4093
CODE is a mass noun and should not be used in the plural or with an indefinite article.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Interesting ... agree it seems to be pointing to breadboard or wiring or something similar.

How many miles on that breadboard? I'm pretty surprised that I don't have more breadboard issues than I do, they're really quite rare, but most of mine are relatively new.
Logged

MCP79411/12 RTC ... "One Million Ohms" ATtiny kit ... available at http://www.tindie.com/stores/JChristensen/

UK
Offline Offline
Faraday Member
**
Karma: 100
Posts: 4153
Where is your SSCCE?!?!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Interesting ... agree it seems to be pointing to breadboard or wiring or something similar.

How many miles on that breadboard? I'm pretty surprised that I don't have more breadboard issues than I do, they're really quite rare, but most of mine are relatively new.
Mine are all ropey as hell and half the tracks don't grip any more - those that aren't melted from overheating components smiley-wink
Logged

Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

Ontario, Ohio
Offline Offline
Full Member
***
Karma: 1
Posts: 209
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Haha I've used this breadboard quite a bit, and there are even some spots where the plastic is a bit melted. I think it's time to retire it.
Logged

Pages: 1 [2]   Go Up
Jump to: