Shop OBEX P1 Docs P2 Docs Learn Events
Need help connecting & prog. Stamp 2 to Secret Motor Controller — Parallax Forums

Need help connecting & prog. Stamp 2 to Secret Motor Controller

LongneckLongneck Posts: 13
edited 2007-01-01 21:35 in Robotics
I have 2 secret motor controllers from Solarbotics. I'm not sure how to connect to BS2 on B.O.E. - I believe 5V and GND tie to battery for motors , D1 and D2 tie to BS2 pins Programmed High or Low for motor direction , and enable will be used to control speed with PWM. I have a PWMPAL for this. I also believe GNDs on all Power sources (Stamp , motor power , encoder power, etc) have to be common to each other to prevent interference.
· If someone could also show me some code snippets , or provide some caution advice I would really apreciate it. Lots of new stuff and I don't want to let the smoke out......Thanks.confused.gif

Comments

  • FranklinFranklin Posts: 4,747
    edited 2007-01-01 19:12
    If you don't already have this here is the documentation downloads.solarbotics.net/pdf/kit10.pdf Bottom of page 9 has the logic diagram but you seem to have most of it figured out. I'd start by getting the motors to run in both directions first and then work on setting the speed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • LongneckLongneck Posts: 13
    edited 2007-01-01 19:50
    tongue.gif·Thanks Stephen , Yes I do have the logic table. Just a little concerned about back feeding voltage on powerup or switching from high to low on Stamp pins.
    ··································································· Thanks again , Longneck
  • FranklinFranklin Posts: 4,747
    edited 2007-01-01 21:35
    Since it says the levels are logic levels I would guess they mean 5v logic. If concerned you could (should?) add a 220 ohm resistor for protection.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.