Shop OBEX P1 Docs P2 Docs Learn Events
Roaming with ping and ServoPal — Parallax Forums

Roaming with ping and ServoPal

RealrockerRealrocker Posts: 2
edited 2009-06-29 20:22 in Robotics
·I have a boe bot that i have successfully programed to roam with the ping sensor on the servo . I am having trouble now programming it work with the ServoPal .
·I can get the servo pal to work with IR sensors , but not with ping sensor·. The program I wrote is likely the problem ,the program loads into BS2 fine ,But only ping sevo moves with dectection , servos connected to the ServoPal do nothing. does anyone have a working code that I could get a copy of ?I have the servoPal connected to pin 12 and 13 , pin 12 is the servo controller it Controlls two servos on one pin , and pin 13 is the Alarm , im using the servopal to gen. the pulse signal to make everything smooth as in it does not have to stop to look around it can do it on the move .maybe its not posible ,But it looked good on paper.

Post Edited (Realrocker) : 6/29/2009 11:44:58 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-06-29 18:57
    If you will post your code as an attachment to a message, you will get help with it. If you just ask for someone to supply working code for your specific situation, you may not get it because you're using an uncommon configuration (ServoPal). It's also not clear how you have things connected. Where do you have the ServoPals and what do they move?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-06-29 20:22
    Hello, please edit your post and attach the code as Mike suggested. It's easier to load the code directly in than trying to copy/paste from the message and this way no formatting is lost.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.