Shop OBEX P1 Docs P2 Docs Learn Events
12v motor contol — Parallax Forums

12v motor contol

ArchiverArchiver Posts: 46,084
edited 2000-04-21 19:41 in General Discussion
Hi everyone!

I purchased the B2SX and need to know HOW if possible I can implement
DIRECTION and speed control to three 12V motors with the chip.

I read about PWM and the chips are limited because they do not output
a steady pulse. I don't know if this is irrelevant but what can I
build instead of purchasing the motor control boards?

Thanks

Gary

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-04-20 19:51
    Take a look at the serial PWM controller on Prof. Anderson's website
    http://www.phanderson.com/ordering.html )
    I would consider using a few of these controllers along with a L293D or
    other H-bridge.

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

    Original Message
    From: Gary <gcompanion@h...>
    To: <basicstamps@egroups.com>
    Sent: Thursday, April 20, 2000 11:47 AM
    Subject: [noparse][[/noparse]basicstamps] 12V MOTOR CONTOL


    > Hi everyone!
    >
    > I purchased the B2SX and need to know HOW if possible I can implement
    > DIRECTION and speed control to three 12V motors with the chip.
    >
    > I read about PWM and the chips are limited because they do not output
    > a steady pulse. I don't know if this is irrelevant but what can I
    > build instead of purchasing the motor control boards?
    >
    > Thanks
    >
    > Gary
  • ArchiverArchiver Posts: 46,084
    edited 2000-04-20 19:59
    The PAK-V produces 8 channels of PWM all at the same time and with no
    intervention from the Stamp (other than to set it, of course). Just an
    SEROUT command is all you need.

    http://www.al-williams.com/awce/pak5.htm

    For direction control you need an H-bridge. Depending on the size of your
    motors, you can build one with power FETs or buy one ready made.
    www.bobblick.com has some interesting material on PWM and H-bridges too.

    Regards,

    Al Williams
    AWC
    * Stamp FAQ at http://www.al-williams.com/wd5gnr/stampfaq.htm


    >
    Original Message
    > From: Gary [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=7hEnc4a-eCGeuHEl9eqJtb_chnjbH9eXpGiqrfGBBQD1p4_p3T3zVRurAvI3SDnFWFtEIHdZDGA2e1tj-k8]gcompanion@h...[/url
    > Sent: Thursday, April 20, 2000 12:47 PM
    > To: basicstamps@egroups.com
    > Subject: [noparse][[/noparse]basicstamps] 12V MOTOR CONTOL
    >
    >
    > Hi everyone!
    >
    > I purchased the B2SX and need to know HOW if possible I can implement
    > DIRECTION and speed control to three 12V motors with the chip.
    >
    > I read about PWM and the chips are limited because they do not output
    > a steady pulse. I don't know if this is irrelevant but what can I
    > build instead of purchasing the motor control boards?
    >
    > Thanks
    >
    > Gary
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-04-21 16:57
    You will need some sort of line driver chip for 60 feet. The PAK 5's inputs
    are TTL/CMOS pretty much like the Stamp's. You can strap the PAK-V to read
    inverted or normal RS232 (just like the Stamp).

    RS232 (by the spec) is only good to 50 feet. You might get it to work over a
    longer distance, but it is iffy.

    I have driven a PAK-V with a PC using a 22K resistor to limit the current.
    So you might try putting a line driver at the Stamp side and then using a
    22K resistor on the PAK's input. On the other hand, you might want to put a
    line receiver on the PAK. Again, though, RS232 is supposed to not work past
    50 feet (see http://www.al-williams.com/wd5gnr/stampfaq.htm#s2.21).
    Since you can configure the PAK to work with true or inverted serial data,
    either way is OK as far as the PAK goes. Then you just have to worry about
    your line length. If you have +/- 12V you might look at 1488 and 1489 chips.
    A single 5V supply can use a MAX232 or MAX233 (233 is more $$$ but doesn't
    require external capacitors).

    You might consider using a current loop or a RS485 driver/receiver. The
    PAK-V only listens, so there is no need for a receiver on the Stamp or a
    transmitter on the PAK.

    Don't forget, so long as you don't destroy the part, you can return in
    within 21 days if it doesn't work out for you.

    Regards,

    Al Williams
    AWC
    * 8 channels of PWM with a PAK-V: http://www.al-williams.com/awce/pak5.htm


    >
    Original Message
    > From: Bill Katakis [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=e26CCui5JuNuLy4Nl3VzpPhcGdKzpTfXekJFP0tkZtgmQIrksbUkiaKfFRq9lw5bNM0S1yABT1Oq7itlyAV-9Q]bkatakis@m...[/url
    > Sent: Friday, April 21, 2000 1:42 PM
    > To: basicstamps@egroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] 12V MOTOR CONTOL
    >
    >
    > Is there an appnote on the PAK 5 showing it controlled via
    > rs232?,,I'd like
    > to have one about 60 ft away from where the bs2 is located, but
    > don't want to
    > buy another bs2.
    > Bill K.
    >
    > Al Williams wrote:
    >
    > > The PAK-V produces 8 channels of PWM all at the same time and with no
    > > intervention from the Stamp (other than to set it, of course). Just an
    > > SEROUT command is all you need.
    > >
    > > http://www.al-williams.com/awce/pak5.htm
    > >
    > > For direction control you need an H-bridge. Depending on the
    > size of your
    > > motors, you can build one with power FETs or buy one ready made.
    > > www.bobblick.com has some interesting material on PWM and H-bridges too.
    > >
    > > Regards,
    > >
    > > Al Williams
    > > AWC
    > > * Stamp FAQ at http://www.al-williams.com/wd5gnr/stampfaq.htm
    > >
    > > >
    Original Message
    > > > From: Gary [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=4W-hxWrST55fVKOPstBBZb4QaqgMyIMdHw5SiDvzYtYZt_ijrh7R1NlMhIwnrtWvWSq2vjrLIjwagMPJMm0]gcompanion@h...[/url
    > > > Sent: Thursday, April 20, 2000 12:47 PM
    > > > To: basicstamps@egroups.com
    > > > Subject: [noparse][[/noparse]basicstamps] 12V MOTOR CONTOL
    > > >
    > > >
    > > > Hi everyone!
    > > >
    > > > I purchased the B2SX and need to know HOW if possible I can implement
    > > > DIRECTION and speed control to three 12V motors with the chip.
    > > >
    > > > I read about PWM and the chips are limited because they do not output
    > > > a steady pulse. I don't know if this is irrelevant but what can I
    > > > build instead of purchasing the motor control boards?
    > > >
    > > > Thanks
    > > >
    > > > Gary
    > > >
    > > >
    > > >
    > > >
    > > >
    > > >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2000-04-21 19:41
    Is there an appnote on the PAK 5 showing it controlled via rs232?,,I'd like
    to have one about 60 ft away from where the bs2 is located, but don't want to
    buy another bs2.
    Bill K.

    Al Williams wrote:

    > The PAK-V produces 8 channels of PWM all at the same time and with no
    > intervention from the Stamp (other than to set it, of course). Just an
    > SEROUT command is all you need.
    >
    > http://www.al-williams.com/awce/pak5.htm
    >
    > For direction control you need an H-bridge. Depending on the size of your
    > motors, you can build one with power FETs or buy one ready made.
    > www.bobblick.com has some interesting material on PWM and H-bridges too.
    >
    > Regards,
    >
    > Al Williams
    > AWC
    > * Stamp FAQ at http://www.al-williams.com/wd5gnr/stampfaq.htm
    >
    > >
    Original Message
    > > From: Gary [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=7bpxc00eO7JoWH1UqUEmh9XG1Q4L9-0xec0w2wQu7at7ovjl63w8dri400EpIsT8VNbzUzdG53TG]gcompanion@h...[/url
    > > Sent: Thursday, April 20, 2000 12:47 PM
    > > To: basicstamps@egroups.com
    > > Subject: [noparse][[/noparse]basicstamps] 12V MOTOR CONTOL
    > >
    > >
    > > Hi everyone!
    > >
    > > I purchased the B2SX and need to know HOW if possible I can implement
    > > DIRECTION and speed control to three 12V motors with the chip.
    > >
    > > I read about PWM and the chips are limited because they do not output
    > > a steady pulse. I don't know if this is irrelevant but what can I
    > > build instead of purchasing the motor control boards?
    > >
    > > Thanks
    > >
    > > Gary
    > >
    > >
    > >
    > >
    > >
    > >
Sign In or Register to comment.