Please Help!!
Dear Helpful People,
I am trying the control a motor using and IRFZ44N Mosfet and the Basic Stamp Homework Board.· A picture can explane my circuit better, so I will post one.··The problem is that the motor will not turn on.· I can manually turn it on, by taking the resitor that·is plugged into I/O pin 1, and plugging it into Vdd.· I really need this project to work, so I am offering a reward of one Gmail invite to anyone who can help, just leave your current email address in your post.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
I am trying the control a motor using and IRFZ44N Mosfet and the Basic Stamp Homework Board.· A picture can explane my circuit better, so I will post one.··The problem is that the motor will not turn on.· I can manually turn it on, by taking the resitor that·is plugged into I/O pin 1, and plugging it into Vdd.· I really need this project to work, so I am offering a reward of one Gmail invite to anyone who can help, just leave your current email address in your post.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
'{$STAMP BS2}
'{$PBASIC 2.5}
Do
· DEBUG "Go"
· HIGH 1
· PAUSE 2000
· DEBUG "Stop"
· LOW 1
· PAUSE 2000
LOOP
I'm just using this to test the motor before it goes on my robot.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
[noparse][[/noparse] The terminal, left to right on the printed side are G-D-S, looking like you have it G-S-D.· Again, it's hard to tell. It really looks like S is going to +V, but it should go to GND. ]
Post Edited (PJ Allen) : 6/6/2006 9:06:24 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
You might try to place a couple of different size caps across the +/- rail on the breadboard to filter unwanted trash the motor may be generating.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks, Parallax!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
Though, it doesn't seem like you have a problem with the motor drawing too much power...
(I assume that's a sealed Lead-Acid battery?)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
It looks as though your power is reversed.· If this is the case I would expect that the motor would continuously be "ON"
from the "reverse diode" unless it has been damaged.
Reference:
http://www.semiconductors.philips.com/acrobat_download/datasheets/IRFZ44N_1.pdf
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 6/6/2006 9:34:21 PM GMT
Post Edited (bennettdan) : 6/8/2006 1:17:06 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
"Beau I think he has it connected, I think the 9vdc lead he has are reversed..."
Ohh I See what you are saying....Sorry crgwbr
crgwbr,
You say it works when you take the gate to Vdd. Can you measure what Vdd is in reference to GND (Vss)
as a sanity check?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Also try this code to see if you get it to move with PWM
Rotate:
PWM 1,128,40
Pause 2000
GOTO Rotate
Post Edited (bennettdan) : 6/7/2006 1:03:55 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
Change PWM *,128,40······· change the * to what pin you are using.
Post Edited (bennettdan) : 6/8/2006 1:12:43 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
And, your 9v. battery connector should be RED wire is positive pole, BLACK wire is negative pole, so you need to make sure that the RED wire is inserted into the + rail of your RS board and the BLACK wire is inserted into the - rail of the RS board.
It appears to me from your photo of the wiring setup that you have at least one if not more pairs of wires crossed, but without knowing how your 12v.·battery (power supply) is connected to the RS board, it's not possible to go further.
Then, we can take the next step.
PAR
"...And, your 9v. battery connector should be RED wire is positive pole, BLACK wire is negative pole..."
Not if he's using the battery connector in reverse, Which it looks like he is.
In the case where the battery connector is being used in place of a 9V battery, then the RED is
actually negative and the BLACK is actually positive.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 6/8/2006 4:53:40 AM GMT
PAR
Does anyone believe the motor is causing a voltage drop,which may be causing the BS2 to reset?
How about pulling the motor out and making a substitution to find out.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks, Parallax!
If it draws less than 20mA there is no reason the pin shouldn't control it, unless the pin is blown (A definate possibility).
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
"I reject your reality, and substitute my own." Mythbusters
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
· Also, when the LED goes out, what is VDD = ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life