Sign in

username:

password:



Not a member?

Search basicx



Search tips

Subscribe to basicx



basicx by Keywords

Accelerometer | ADC | ADXL | Adxl20 | AVR | BasicStamp | BX-35 | BX28 | BX35 | COM3 | Compiler | Downloader | EEPROM | Electromagnet | GetADC | GP2D1 | GPS | I2C | IDE | Keypad | LCD | LCD+ | MIDI | Motors | Multitasking | Netmedia | Networking | PCB | PID | PlaySound | PWM | Relays | RTC | Servo | ShiftOut | SitePlayer | SPI | Stack | Timer | USB

Ads

Discussion Groups

Discussion Groups | BasicX | DC motor control

Discussion forum for the BasicX family of microcontroller chips.

DC motor control - Author Unknown - Feb 19 15:04:00 2001

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)





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )


Re: DC motor control - Tom Igoe - Feb 19 15:21:00 2001

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





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: DC motor control - Jim Szymczak - Feb 19 18:15:00 2001

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)




(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )

Re: DC motor control - Dennis Clark - Feb 19 18:31:00 2001

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 *
---------------------------------------------------------------------





(You need to be a member of basicx -- send a blank email to basicx-subscribe@yahoogroups.com )