Shop OBEX P1 Docs P2 Docs Learn Events
Use the basic stamp to control a motor — Parallax Forums

Use the basic stamp to control a motor

ryester1120ryester1120 Posts: 21
edited 2008-10-26 19:00 in BASIC Stamp
Om i have a basic stamp BS2 abd i need it to drive a motor.· I found a schematic in thr Mircrocontroller cookbook and i decided to use a IP 120 to drive it but I can only get it to go one way.· I want to kno whow to get it to turn the other way but every time I want to do that it wont work.




Can anybody help me???scool.gif

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-10-25 14:35
    Read the Wikipedia article on H-bridges (Google for "Wiki h-bridge"). These allow a microcontroller like the BS2 to turn a motor on and off and can reverse the power to the motor (to make it go either way).
  • ercoerco Posts: 20,256
    edited 2008-10-25 17:34
    http://forums.parallax.com/showthread.php?p=727502

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
  • $WMc%$WMc% Posts: 1,884
    edited 2008-10-25 18:27
    ryester1120

    You didn't spec. the size of motor You want to drive or the current needed to drive it. I asume it's => 5 amps. since Your useing a couple of TIP120 tranny's at or around 12Volts .Parallax offers a heavy duty motor controller (HB-25) it's Parallax part# 29144. I have used this in a few app. and they work well. It uses a servo signal (1mS-1.5mS-2mS) for speed and direction. see link "www.parallax.com/detail.asp?product_id=29144" The control voltage is 5volts this is the output voltage of A I/O pin from the BS2$stamp.****SEE Pg. 146 of StampWorks Experiments and BASIC stamp Source Code****on the Parallax web site.

    __________________________$WMc%_______________________out_______________

    Post Edited ($WMc%) : 10/25/2008 6:35:59 PM GMT
  • ercoerco Posts: 20,256
    edited 2008-10-26 19:00
    A·relay-based H-bridge to consider.

    http://forums.parallax.com/showthread.php?p=749676

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."
Sign In or Register to comment.