Shop OBEX P1 Docs P2 Docs Learn Events
BS2p BoeBOT question — Parallax Forums

BS2p BoeBOT question

EugalazEugalaz Posts: 39
edited 2009-07-23 16:16 in Robotics
Hello,
Could someone please help me with changing my BoeBOT to a BS2p?
What do I have to change the servo PULSOUT values to? forward 1000, backward 500 and stop 750, do they need to change because of the speed difference of th 2p?
Also what about the FREQOUT values for the IRs? they are written at the moment as 37500.
Thanking you in advance

Comments

  • iDaveiDave Posts: 252
    edited 2009-07-23 02:19
    Yes, I did the same thing way back when. Started out with a bs2 boebot & then upgraded it to a bs2p. The pulseout & freqout numbers have to be changed. Each unit of duration for a bs2 is 2 µs(microseconds) & a bs2p is .8 µs. Look in the help index of stamp editor for breakdown of all commands. A great help that is. The conversion is roughly is to multiply by 2.5. So for me my full forward is:
    PULSOUT 12, 1675
    PULSOUT 13, 2125
    



    Those are absolute maximums & minimums & should not exceed.

    Oh, also pause commands have to be taken into account. Since, the bs2p is much faster than the bs2. It runs thru the program much faster and u might have to add to your pause commands. Thats usually by trial & error.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "THE ONLY TRUE WISDOM IS IN KNOWING YOU KNOW NOTHING." - SOCRATES
  • EugalazEugalaz Posts: 39
    edited 2009-07-23 02:54
    Thanks iDave,
    Does that mean I have to change FREQOUT for the IR's? What values did you use?
    Do you still have the code for your old BS2pBOT? Love to have a look at it if you do mate.
    Regards
    E
  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-23 05:28
    All of the timing constant information is in the Basic Stamp Syntax and Reference Manual and in the Help file included with the Stamp Editor. The exception is the BS2px which was developed after the last version of the Manual was published. There's an addendum for the Manual that's referenced on the BS2px webstore product page. This has the values for the BS2px and all of the other modules as well.
  • iDaveiDave Posts: 252
    edited 2009-07-23 05:37
    Sure thing. And yes freqout has to change too. In the attached prog my main hub section is in slot 0 and it calls on the others as wanted. I use a universal remote to change the mode Huey(his name) is in.Autonomous roaming is default mode. Also have a remote control mode(using universal remote), guard mode(using pir sensor & siren(loud!)), follow mode(works somewhat),alarm clock mode,few others i think. He is loaded down with ir sensors, ping sensor, dual axis accelerometer(got tired of it tilting over...has higher center of gravity with the mattracks treads he rides on), An 8 x 2 serial lcd(to tell me what mode he's in) & a loud buzzer siren i bought at radio shack. If have any questions, just holler! Hope I can remember what is what as i did this about 2 years ago. Have fun! (i sure did)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "THE ONLY TRUE WISDOM IS IN KNOWING YOU KNOW NOTHING." - SOCRATES
  • EugalazEugalaz Posts: 39
    edited 2009-07-23 06:38
    Your a champion iDave! Thank you very much..
  • Steph LindsaySteph Lindsay Posts: 767
    edited 2009-07-23 16:02
    Mike Green said...
    All of the timing constant information is in the Basic Stamp Syntax and Reference Manual and in the Help file included with the Stamp Editor. The exception is the BS2px which was developed after the last version of the Manual was published. There's an addendum for the Manual that's referenced on the BS2px webstore product page. This has the values for the BS2px and all of the other modules as well.
    Hi Mike,

    You·were so busy answering forum posts that you missed the BASIC Stamp Manual v2.2 release! I updated·it·to include the BS2PX in 2005, and the Help was updated that year also.·The addendum is still posted on that store page for folks who purchased an earlier version of the manual or who like having all the BS2PX info in one place.

    Thanks for your dedication to the forum community!

    -Stephanie Lindsay
    Editor, Parallax Inc.
  • Mike GreenMike Green Posts: 23,101
    edited 2009-07-23 16:16
    Thanks for the reminder. I'll update my PDF copy now.
Sign In or Register to comment.