Discussion forum for the BasicX family of microcontroller chips.
|
Hi, I'm having problems getting my BX-24 to control my motors (it is a Tamiya twin motor gearbox kit). I've set it up with a 9v supply (PP3) for the BX and a seperate 5V supply for the motors. They share a common 0V. I'm switching the motors with a couple of PNP 5A transistors, high gain, they never draw more than 10mA. My problem is the BX re-sets itself a few seconds after turning on either of the motors, and I can't work out why. Is it interference on the ground supply? Do i need suppressors or something? I looked on the archive to no avail. Thanks in advance! Tom (hopeless student) |
|
|
|
Sounds like you're getting back voltage from the motors; you need a diode in parallel with the motor to stop it sending back voltage to ground. >having problems getting my BX-24 to control my motors (it is a >Tamiya twin motor gearbox kit). I've set it up with a 9v supply (PP3) >for the BX and a seperate 5V supply for the motors. They share a >common 0V. I'm switching the motors with a couple of PNP 5A >transistors, high gain, they never draw more than 10mA. >My problem is the BX re-sets itself a few seconds after turning on >either of the motors, and I can't work out why. Is it interference on >the ground supply? Do i need suppressors or something? I looked on >the archive to no avail. -- -- Tom Igoe |
|
I had this problem too once. You must tie the reset pin high (Vcc). I think noise induced on the reset pin causes it to reset. Good Luck, Jim ----- Original Message ----- From: <> To: <> Sent: Monday, February 19, 2001 3:04 PM Subject: [BasicX] DC motor control > Hi, > > I'm having problems getting my BX-24 to control my motors (it is a > Tamiya twin motor gearbox kit). I've set it up with a 9v supply (PP3) > for the BX and a seperate 5V supply for the motors. They share a > common 0V. I'm switching the motors with a couple of PNP 5A > transistors, high gain, they never draw more than 10mA. > My problem is the BX re-sets itself a few seconds after turning on > either of the motors, and I can't work out why. Is it interference on > the ground supply? Do i need suppressors or something? I looked on > the archive to no avail. > > Thanks in advance! > > Tom (hopeless student) |
|
Tom, Did you remember to put bypass caps on the DC motors? You need at the very least .1uf caps (25V minimum) from each motor tab to the motor's metal case. You'll need a good soldering iron to solder to most motor cases. For the totally paranoid, run another .1uf cap between the two tabs on the motor as well. Without these caps the RF energy emitted by most DC motors will thrash any electronics within a foot or so. RULE: Always put bypass caps on your DC motors, and the caps must be ON the motor, not further down the wire on a board. DLC wrote: > > Hi, > > I'm having problems getting my BX-24 to control my motors (it is a > Tamiya twin motor gearbox kit). I've set it up with a 9v supply (PP3) > for the BX and a seperate 5V supply for the motors. They share a > common 0V. I'm switching the motors with a couple of PNP 5A > transistors, high gain, they never draw more than 10mA. > My problem is the BX re-sets itself a few seconds after turning on > either of the motors, and I can't work out why. Is it interference on > the ground supply? Do i need suppressors or something? I looked on > the archive to no avail. > > Thanks in advance! > > Tom (hopeless student) -- --------------------------------------------------------------------- * Dennis Clark Mechanical Engineering Behavior Based Robotics * * www.verinet.com/~dlc Colorado State University * --------------------------------------------------------------------- |