Shop OBEX P1 Docs P2 Docs Learn Events
Speed Controllers and DC motors — Parallax Forums

Speed Controllers and DC motors

ArchiverArchiver Posts: 46,084
edited 2001-01-10 03:34 in General Discussion
I need help. I am a newbie so take it easy on me [noparse]:)[/noparse]
I have the BS2, a traxxas speed controller, and a dc motor.
All I am trying to do is get the motor working with the BS2. I have
tried pulsouts toggles and many more, but nothing. The pulse line
form the speed controller is on pin one and the motor is hoocked up to
the speed controller. I am getting nothing at all. I know its in the
code, because the motor will run of a straight battery, the speed
contoller turns on and the BS2 is working fine with everything else.
Can anyone help? How would you right a simple code to make the motor
goooo.

Regards,
Juggernaut911

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-01-09 05:36
    If I recognize the name correctly the speed control is an RC car unit? If so
    you need to write the code exactly like it was a servo. Look at this file
    http://www.parallaxinc.com/downloads/stamps%20in%20class/wam3.pdf it covers
    how to drive a servo.

    Tim
    [noparse][[/noparse]Denver, CO]

    >
    Original Message
    > From: Juggernaut911@h... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=NXnLCdl0O-TFAHF_Lyb10nrgYNgCS0zkaTY-rEENKeZ6culwshzMGJwViE7S-yi7-UJaE0lCo5_We1Y1ECmtF16W]Juggernaut911@h...[/url
    > Sent: Monday, January 08, 2001 10:22 PM
    > To: basicstamps@egroups.com
    > Subject: [noparse][[/noparse]basicstamps] Speed Controllers and DC motors
    >
    >
    > I need help. I am a newbie so take it easy on me [noparse]:)[/noparse]
    > I have the BS2, a traxxas speed controller, and a dc motor.
    > All I am trying to do is get the motor working with the BS2. I have
    > tried pulsouts toggles and many more, but nothing. The pulse line
    > form the speed controller is on pin one and the motor is hoocked up to
    > the speed controller. I am getting nothing at all. I know its in the
    > code, because the motor will run of a straight battery, the speed
    > contoller turns on and the BS2 is working fine with everything else.
    > Can anyone help? How would you right a simple code to make the motor
    > goooo.
    >
    > Regards,
    > Juggernaut911
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-09 21:01
    Well the thing is that when I put a regular servo on the stamp it
    works just fine, but when I replace the servo with the (R/C) speed
    controller and a motor on the same code, nothing happens. Put the
    servo on there again it works fine.... speed controller nope [noparse]:)[/noparse]

    Regards,
    Juggernaut911










    --- In basicstamps@egroups.com, "Tim Goldstein" <timg@k...> wrote:
    > If I recognize the name correctly the speed control is an RC car
    unit? If so
    > you need to write the code exactly like it was a servo. Look at this
    file
    > http://www.parallaxinc.com/downloads/stamps%20in%20class/wam3.pdf it
    covers
    > how to drive a servo.
    >
    > Tim
    > [noparse][[/noparse]Denver, CO]
    >
    > >
    Original Message
    > > From: Juggernaut911@h... [noparse][[/noparse]mailto:Juggernaut911@h...]
    > > Sent: Monday, January 08, 2001 10:22 PM
    > > To: basicstamps@egroups.com
    > > Subject: [noparse][[/noparse]basicstamps] Speed Controllers and DC motors
    > >
    > >
    > > I need help. I am a newbie so take it easy on me [noparse]:)[/noparse]
    > > I have the BS2, a traxxas speed controller, and a dc motor.
    > > All I am trying to do is get the motor working with the BS2. I
    have
    > > tried pulsouts toggles and many more, but nothing. The pulse line
    > > form the speed controller is on pin one and the motor is hoocked
    up to
    > > the speed controller. I am getting nothing at all. I know its in
    the
    > > code, because the motor will run of a straight battery, the speed
    > > contoller turns on and the BS2 is working fine with everything
    else.
    > > Can anyone help? How would you right a simple code to make the
    motor
    > > goooo.
    > >
    > > Regards,
    > > Juggernaut911
    > >
    > >
    > >
    > >
    > >
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-09 22:05
    you may have a ground problem. most speed controllers the( +) is common
    and the (-) is the switched side. the output to the esc is the same as a
    servo (+ - signal )but they may be in a different order from the servo.
    (red black white) vs (black red white), so be sure you have the (+ - and
    signal) on the correct pins. the esc may have to be powered from a
    separate battery.

    Juggernaut911@h... wrote:

    > Well the thing is that when I put a regular servo on the stamp it
    > works just fine, but when I replace the servo with the (R/C) speed
    > controller and a motor on the same code, nothing happens. Put the
    > servo on there again it works fine.... speed controller nope [noparse]:)[/noparse]
    >
    > Regards,
    > Juggernaut911
    >
    > --- In basicstamps@egroups.com, "Tim Goldstein" <timg@k...> wrote:
    > > If I recognize the name correctly the speed control is an RC car
    > unit? If so
    > > you need to write the code exactly like it was a servo. Look at this
    > file
    > > http://www.parallaxinc.com/downloads/stamps%20in%20class/wam3.pdf it
    > covers
    > > how to drive a servo.
    > >
    > > Tim
    > > [noparse][[/noparse]Denver, CO]
    > >
    > > >
    Original Message
    > > > From: Juggernaut911@h... [noparse][[/noparse]mailto:Juggernaut911@h...]
    > > > Sent: Monday, January 08, 2001 10:22 PM
    > > > To: basicstamps@egroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] Speed Controllers and DC motors
    > > >
    > > >
    > > > I need help. I am a newbie so take it easy on me [noparse]:)[/noparse]
    > > > I have the BS2, a traxxas speed controller, and a dc motor.
    > > > All I am trying to do is get the motor working with the BS2. I
    > have
    > > > tried pulsouts toggles and many more, but nothing. The pulse line
    > > > form the speed controller is on pin one and the motor is hoocked
    > up to
    > > > the speed controller. I am getting nothing at all. I know its in
    > the
    > > > code, because the motor will run of a straight battery, the speed
    > > > contoller turns on and the BS2 is working fine with everything
    > else.
    > > > Can anyone help? How would you right a simple code to make the
    > motor
    > > > goooo.
    > > >
    > > > Regards,
    > > > Juggernaut911
    > > >
    > > >
    > > >
    > > >
    > > >
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-09 22:10
    Any chance you happen to have an RC transmitter/receiver handy so you can
    verify that the speed control works and also how it works? I have some R/C
    plane speed controls that have to be taken all the way to low throttle for a
    second of two first before they will arm and function. It is a safety
    interlock to keep you from flipping on the receiver switch and having a prop
    start turning at full throttle.

    Tim
    [noparse][[/noparse]Denver, CO]


    >
    > Well the thing is that when I put a regular servo on the stamp it
    > works just fine, but when I replace the servo with the (R/C) speed
    > controller and a motor on the same code, nothing happens. Put the
    > servo on there again it works fine.... speed controller nope [noparse]:)[/noparse]
    >
    > Regards,
    > Juggernaut911
    >
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-10 03:34
    Some speed controllers have an optocoupler in the input. This may
    require a low impiedance output from the pin. You may try use a
    transitor follower as buffer. I alredy have experienced the same problem
    before and it was solved with the buffer.
    ACJacques

    Juggernaut911@h... wrote:
    >
    > Well the thing is that when I put a regular servo on the stamp it
    > works just fine, but when I replace the servo with the (R/C) speed
    > controller and a motor on the same code, nothing happens. Put the
    > servo on there again it works fine.... speed controller nope [noparse]:)[/noparse]
    >
    > Regards,
    > Juggernaut911
    >
    > --- In basicstamps@egroups.com, "Tim Goldstein" <timg@k...> wrote:
    > > If I recognize the name correctly the speed control is an RC car
    > unit? If so
    > > you need to write the code exactly like it was a servo. Look at this
    > file
    > > http://www.parallaxinc.com/downloads/stamps%20in%20class/wam3.pdf it
    > covers
    > > how to drive a servo.
    > >
    > > Tim
    > > [noparse][[/noparse]Denver, CO]
    > >
    > > >
    Original Message
    > > > From: Juggernaut911@h... [noparse][[/noparse]mailto:Juggernaut911@h...]
    > > > Sent: Monday, January 08, 2001 10:22 PM
    > > > To: basicstamps@egroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] Speed Controllers and DC motors
    > > >
    > > >
    > > > I need help. I am a newbie so take it easy on me [noparse]:)[/noparse]
    > > > I have the BS2, a traxxas speed controller, and a dc motor.
    > > > All I am trying to do is get the motor working with the BS2. I
    > have
    > > > tried pulsouts toggles and many more, but nothing. The pulse line
    > > > form the speed controller is on pin one and the motor is hoocked
    > up to
    > > > the speed controller. I am getting nothing at all. I know its in
    > the
    > > > code, because the motor will run of a straight battery, the speed
    > > > contoller turns on and the BS2 is working fine with everything
    > else.
    > > > Can anyone help? How would you right a simple code to make the
    > motor
    > > > goooo.
    > > >
    > > > Regards,
    > > > Juggernaut911
    > > >
    > > >
    > > >
    > > >
    > > >
Sign In or Register to comment.