Shop OBEX P1 Docs P2 Docs Learn Events
Help with Boe-Bot — Parallax Forums

Help with Boe-Bot

MacGeek117MacGeek117 Posts: 747
edited 2005-10-16 00:26 in Robotics
I'm working on a merit badge and so I need to have a networked robot, but I can't seem to get the code to work, could I please have some help?
P.S. I need this done by Monday.

RoboGeek

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There are 10 kinds of people in the world,

those that know binary and those that don't.
Formerly bugg.
www.goldmine-elec.com
www.parallax.com
www.expresspcb.com
www.startrek.com


Post Edited (RoboGeek) : 10/16/2005 12:26:22 AM GMT

Comments

  • DiablodeMorteDiablodeMorte Posts: 238
    edited 2005-10-02 16:34
    RoboGeek said...
    I'm working on a merit badge and so I need to have a networked robot, but I can't seem to get the code to work, could I please have some help?
    P.S. I need this done by Monday.


    RoboGeek

    *cough* details?
  • allanlane5allanlane5 Posts: 3,815
    edited 2005-10-02 17:11
    Personally, I wouldn't use the hardware handshake. Instead, I would sent the message every 5 seconds, (or 100 mSec) and have the reciever ALWAYS ready to recieve and act.

    You might want to try a recieve code that merely blinks an LED for each byte recieved, and use that to debug the 'master' program.
  • MacGeek117MacGeek117 Posts: 747
    edited 2005-10-02 17:54
    DiablodeMorte said...
    RoboGeek said...
    I'm working on a merit badge and so I need to have a networked robot, but I can't seem to get the code to work, could I please have some help?
    P.S. I need this done by Monday.


    RoboGeek

    *cough* details?
    Not much. Pin 0 is a IR detector. Master is a Homework board. Slave, Boe-Bot. Robot responds to a tv remote.
    RoboGeek

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There are 10 kinds of people in the world,

    those that know binary and those that don't.
    Formerly bugg.
    www.goldmine-elec.com
    www.parallax.com
    www.expresspcb.com
    www.startrek.com


    Post Edited (RoboGeek) : 10/16/2005 12:26:36 AM GMT
  • edited 2005-10-02 18:30
    We still need more details before we can help. For example, what kind of circuit do you have on your BASIC Stamp HomeWork Board? What programs or techniques have you tried thus far? What resources have you already used (IR Remote for the Boe-Bot?).

    I do know of an IR communication scheme that will get you well down the road with minimal hardware. Here is the link: Infrared Emitting Diode and 40 kHz Detector

    The relevant material is in the last three or so pages of the PDF· (correction - pages 15 - 17). Your challenge from that point will be transmitting values to the Boe-Bot, and programming the Boe-Bot to correctly interpret and act upon the values it receives.

    Post Edited (Andy Lindsay (Parallax)) : 10/2/2005 6:36:32 PM GMT
  • MacGeek117MacGeek117 Posts: 747
    edited 2005-10-03 13:10
    I'm sorry to put you through all this trouble, I'm just going to network the two Stamps. Thank you for what help you could give me.
    RoboGeek

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There are 10 kinds of people in the world,

    those that know binary and those that don't.
    Formerly bugg.
    www.goldmine-elec.com
    www.parallax.com
    www.expresspcb.com
    www.startrek.com


    Post Edited (RoboGeek) : 10/16/2005 12:26:55 AM GMT
  • mmmm Posts: 56
    edited 2005-10-04 00:00
    Also your serin and serout flow controls, Tpin and Fpin, look wrong. From what I remember shouldn't it be SERIN SDI\FLCN, BAUD, [noparse][[/noparse]BS2code] and not SERIN SDI/FLCN, BAUD, [noparse][[/noparse]BS2code] ? look at the slash. I don't get an error when I do it either way so maybe some one at parallax can elaborate on this one. Also I don't have enough stamps available to put a master/slave setup together to see if the slash makes a difference.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2005-10-04 00:10
    When specifying a flow control pin you must use backslash (\) not forward slash (/) which represents division.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • MacGeek117MacGeek117 Posts: 747
    edited 2005-10-16 00:26
    THANK YOU! I might just be able to get it to work now. THANK YOU!
    RoboGeek

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    There are 10 kinds of people in the world,

    those that know binary and those that don't.
    Formerly bugg.
    www.goldmine-elec.com
    www.parallax.com
    www.expresspcb.com
    www.startrek.com
    ·
Sign In or Register to comment.