Shop OBEX P1 Docs P2 Docs Learn Events
basic stamp with motormind b — Parallax Forums

basic stamp with motormind b

axpaxp Posts: 16
edited 2008-05-21 03:19 in BASIC Stamp
do i need to program basic stamp to to use motormind or can I just program motormind?
can anybody give me a code that woud work for both of these? all I want is a dc motor to run at 1440 rpms real time

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-03-15 16:53
    axp,

    Page 9 of the documentation (linked below) shows the connections and commands for Tachometer Measurements. So your motor will need a tach feeding back into the TACH_IN pin on the MMBe. As for code someone may have some similar code you can build off, but chances are you will have to write some code specifically for your setup since some of the commands sent will be dependant on the speed you want, the PWM frequency and the encoder feedback. Oh, and yes you will need a microcontroller. The MMBe cannot be programmed to run stand-alone. I hope this helps. Take care.

    http://www.parallax.com/dl/docs/prod/datast/MotorMindB.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • axpaxp Posts: 16
    edited 2007-03-15 20:30
    all connetions are made and the encoder is connected something like page 9, how to get it on is the question? the motor dosent spin!
  • Mike GreenMike Green Posts: 23,101
    edited 2007-03-15 20:40
    You do have to connect the MotorMind to a controller (called a master controller) as shown on page 10 of the documentation, then you have to have a program in the master controller as described on pages 11 through 18. If you've tried that, you need to post the program you've tried and verify all the connections on pages 9 and 10.
  • axpaxp Posts: 16
    edited 2007-03-15 21:34
    motormind is connected to the master and i tested the encoder with a code I got off line and it lights up the only thing is getting the motor to spin, im going to read all thos pages again, I'll be back! Thanks so much!!!
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-03-15 21:50
    Example code for the MMBe using the BS2 can be found at the following link. I hope this helps. Take care.

    http://www.solutions-cubed.com/solutions%20cubed/MMB2003.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • axpaxp Posts: 16
    edited 2007-03-16 00:05
    I got it running real smooth! I see encoder light on but im not 100% sure is its counting to maintain realtime speed?
  • theloneducktheloneduck Posts: 20
    edited 2008-05-21 03:19
    does the MMbe need the tach pin set?· I have some motors I want to run that only have a (+) and (-) wire.
Sign In or Register to comment.