Shop OBEX P1 Docs P2 Docs Learn Events
pololu motor controller — Parallax Forums

pololu motor controller

HenrymouHenrymou Posts: 128
edited 2007-12-29 07:14 in General Discussion
Hi I am new to the SX chip
I already know how to make subprograms and stuff, but how do I interface a Pololu dual serial motor controller to an SX28
I just want to see an example subprogram, like forward or backward
thanks
-Henry yeah.gif

Comments

  • MacGeek117MacGeek117 Posts: 747
    edited 2007-12-29 00:48
    Could you provide a part #?
    RoboGeek

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "I reject your reality and subsitute my own!"

    Adam Savage, Mythbusters
    www.parallax.com
    www.goldmine-elec.com
    www.expresspcb.com
    www.jameco.com
    ·
  • HenrymouHenrymou Posts: 128
    edited 2007-12-29 03:18
    Item code 30052
    pololu motor controller
  • Mike GreenMike Green Posts: 23,101
    edited 2007-12-29 05:33
    Henrymou,
    You're not going to find sample programs for the SX for something like this motor controller. It's essentially an asynchronous serial controlled device and the examples for use with the Stamp are directly applicable. I suggest you use SX/B so you can take the PBasic examples and convert them to SX/B (SX/Basic), then compile to assembly language. SX/B will take care of including a routine to simulate a UART for the serial I/O so you don't have to do it. There are several downloadable books on programming the SX including one using SX/B. Have a look at them if you haven't already.
  • HenrymouHenrymou Posts: 128
    edited 2007-12-29 07:14
    Thanks, I've already downloaded every pdf on the SX chip and SX/B I just found out how to work the controller
    while waiting for a respose. I was kind of lazy earlier.
    thanks
    -Henry
Sign In or Register to comment.