Shop OBEX P1 Docs P2 Docs Learn Events
Hobby Motors — Parallax Forums

Hobby Motors

ArchiverArchiver Posts: 46,084
edited 2002-10-04 06:18 in General Discussion
What would I need to be able to make a hobby motor from Radio Shack where
the basic stamp can control its speed and direction? And roughly how much
would those cost?





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-01-30 04:43
    > What would I need to be able to make a hobby motor from Radio Shack where
    > the basic stamp can control its speed and direction? And roughly how much
    > would those cost?

    Go to http://www.seattlerobotics.org/encoder/sep97/motors.html and look
    towards the bottom for how to interface a motor with an L293D chip. It will
    support up to a 36 V and 600 ma per side. You can get them at Mouser
    Electronics on the net for $2.00 per chip. That is all the parts you need if
    the ratings are suitable. If you need more current I have had good luck with
    the L298N. They are $3.20 at Mouser and will handle 2 amps up to 36 volts
    (Get good heatsinks to push them that hard). With this driver you will also
    need 4 diodes and a few resistors. Figure $3.00 or so in additional parts.

    As far as controlling the speed you would do that by sending a PWM signal to
    the H-bridge. Problem is the Stamp will be completely tied up doing that and
    will not be able to do anything else. You could use one of Al Williams PAK
    controllers or the PWM PIC chip (very inexpensive solution) from Peter
    Anderson ( http://www.phanderson.com/pwm.html )to handle the PWM and free up
    the stamp.

    Tim
    [noparse][[/noparse]Denver, CO]
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-01 23:49
    Hi all, another newbie here and I have a question I am sure has been
    asked before. I am just learning how to work with bs2 and I am
    wondering how to drive DC hobby motors. I need to run 4 to 5 motors
    and I understand the bs2 won't run that many motors wihtout tying up
    all the resourses. I would also like to vary the speeds of the motors.
    If anyone can help me understand how to do this I would greatly
    appreciate the help. Thanks for the understanding as I am new to this.
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-02 07:36
    I'd recommend that you take a look at the motor mind B & C:
    http://www.parallaxinc.com/html_files/products/BS_Accessories/s3_mmb_pwb.asp
    http://www.parallaxinc.com/html_files/products/BS_Accessories/s3_mmc_mmc_car
    rier.asp

    The MMB can handle one motor and the MMC can handle two... you just program
    the motor mind with the speed and the direction you want and it will do the
    rest. Both use a serial interface, which make them extremely easy to
    interface and use. If you just want simpler controller then the PAKV from
    http://www.al-williams.com/pak5.htm would probably be something you'd want
    to take a look at. If you want just simple on/off control then use a 74hc595
    shift register (with appropriate power transistor) will do the trick. These
    three items will cost you between 1 to 3 I/O pins, but takes the over head
    of the Stamp having to manage the motors away. Hope this helps at least
    some. =)

    Chris Shuster
    http://cpuman.cjb.net/
    [url=irc://irc.serenia.net/tech]irc://irc.serenia.net/tech[/url]

    Original Message
    From: "David" <dwarren1@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Wednesday, October 02, 2002 6:49 AM
    Subject: [noparse][[/noparse]basicstamps] hobby motors


    > Hi all, another newbie here and I have a question I am sure has been
    > asked before. I am just learning how to work with bs2 and I am
    > wondering how to drive DC hobby motors. I need to run 4 to 5 motors
    > and I understand the bs2 won't run that many motors wihtout tying up
    > all the resourses. I would also like to vary the speeds of the motors.
    > If anyone can help me understand how to do this I would greatly
    > appreciate the help. Thanks for the understanding as I am new to this.
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-02 21:05
    try the mini duel h-bridge motor controllers or the duel h-bridge motor
    controllers(depends on the power the motors demand) , they control 2
    each and if you dont need to vary the direction you can have 1 wire per
    motor or if you require direction change, 2 wires per motor(to do that
    you might need the 40-pin bs2p if you need alot of other controls)

    thats a lot of "ifs"
    happy motor controlling,
    THE TWELVE-YEAR-OLD

    David wrote:

    >Hi all, another newbie here and I have a question I am sure has been
    >asked before. I am just learning how to work with bs2 and I am
    >wondering how to drive DC hobby motors. I need to run 4 to 5 motors
    >and I understand the bs2 won't run that many motors wihtout tying up
    >all the resourses. I would also like to vary the speeds of the motors.
    > If anyone can help me understand how to do this I would greatly
    >appreciate the help. Thanks for the understanding as I am new to this.
    >
    >
    >To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    >from the same email address that you subscribed. Text in the Subject and Body
    of the message will be ignored.
    >
    >
    >Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
    >

    --
    Your favorite stores, helpful shopping tools and great gift ideas.
    Experience the convenience of buying online with Shop@Netscape!
    http://shopnow.netscape.com/
  • ArchiverArchiver Posts: 46,084
    edited 2002-10-04 06:18
    ok if i use the 74hc595 can i turn each motor on
    and off one at a time? by the way the max volt
    draw the motors is 3 volts.

    someone also suggested a duel h-bridge i have
    the same question about controling one motor at a
    time.

    thank you
    David
Sign In or Register to comment.