Shop OBEX P1 Docs P2 Docs Learn Events
Roaming with Ping wow — Parallax Forums

Roaming with Ping wow

lobolobo Posts: 100
edited 2006-09-19 03:31 in BASIC Stamp
I need help in modifying the roaming with ping code.

I want to use it with two hb-25 motor controllers (they are connected together as instructed in the pdf download).
Each motor is controlled by one hb-25.

I have everything connected as instructed:

"This program assumes you have already set your BOE-Bot up for roaming
·with IR sensors.· You must also have the PING))) Mounting bracket
·installed as per the instructions, with the servo connected to P14 and
·the PING))) sensor connected to P15.infrared, ping, ping servo,and piezo."


to what pin should i connect my motor controller because pin 15 is already being used by Ping ?

The roaming with ping code has pin 12 for right servo· and ping 13 for left servo.

how do i modify this to make it applicable to the hb-25 controllers and to go at half speed?

Please help!

Thank you in advanced for your attention and help
·

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-09-19 02:46
    Hello,

    ·· The HB-25 Motor Controllers will connect where the servos currently connect.· They're compatible with the PULSOUT values used for the servos.· Now, as for half speed, Motors vary in speed depending on a lot of factors, so you will need to experiment with the values used in the PULSOUT command in various routines.· There are different sections you will need to adjust.· I hope this helps.· Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • lobolobo Posts: 100
    edited 2006-09-19 03:31
    thanks Mr. Savage you never cease to amaze me!
Sign In or Register to comment.