Shop OBEX P1 Docs P2 Docs Learn Events
bluetooth robot — Parallax Forums

bluetooth robot

ArchiverArchiver Posts: 46,084
edited 2004-03-18 01:29 in General Discussion
I'am designing a wireless robot controlled by a computer using
bluetooth. I'am using eb500 on the robot. How do I communicate on the
PC to the robot?? for example to move a servo motor? do I send Pin 3
high etc or can I send a place to branch to on the robot basic stamp
like forward???
What imformation do I send?? and what information will the basic
stamp understand???

Thanks
Troy

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2004-03-11 15:33
    You will need to create a program that opens the Comm port the PC has
    assigned to the Bluetooth module on your robot. Once you have that comm
    channel open you can send commands of your design -- at that point the
    link is a simple serial interface.

    You can use languages like Visual Basic or Java to create a PC-based
    robot control program.

    -- Jon Williams
    -- Parallax


    Original Message
    From: troy8oy [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=XHZOMvviASW7YMVnd6Y8fupEV0BPXcIUZ7qG7AWm_AZk3CYYaDw6eJLRzVKwqBEfKB9JbFepY1cChCYj30U]troy8oy@y...[/url
    Sent: Thursday, March 11, 2004 7:11 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] bluetooth robot


    I'am designing a wireless robot controlled by a computer using
    bluetooth. I'am using eb500 on the robot. How do I communicate on the
    PC to the robot?? for example to move a servo motor? do I send Pin 3
    high etc or can I send a place to branch to on the robot basic stamp
    like forward???
    What imformation do I send?? and what information will the basic
    stamp understand???

    Thanks
    Troy
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-11 16:41
    I'm also working on a wireless robot controlled by a computer, and I'm using
    the bluetooth eb500. On the computer I'm using the Python language, which is
    a free download. On the robot, a Boe-Bot, I changed from a BS2 to a Javelin
    Stamp, so I'm using Java.

    On the computer side I have functions like:

    motor(RMotor, LMotor, sec)

    where RMotor is the pulse width to send to the right servo, LMotor is the
    pulse width for the left servo, and sec is the number of seconds, in 10ths
    of a second.

    For example, calling the motor function on the computer side is:

    motor(750, 750, 10)

    which will stop the servos for 1 second.

    On the Boe-Bot side, an example of a Java function is:

    static void getNextMotorCommand()

    _______________

    Original Message
    From: "troy8oy" <troy8oy@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, March 11, 2004 8:11 AM
    Subject: [noparse][[/noparse]basicstamps] bluetooth robot


    > I'am designing a wireless robot controlled by a computer using
    > bluetooth. I'am using eb500 on the robot. How do I communicate on the
    > PC to the robot?? for example to move a servo motor? do I send Pin 3
    > high etc or can I send a place to branch to on the robot basic stamp
    > like forward???
    > What imformation do I send?? and what information will the basic
    > stamp understand???
    >
    > Thanks
    > Troy
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-11 18:43
    I *play* with Python a bit ... but haven't done much with it yet.
    Perhaps you'll be kind enough to share your Python code in the Files
    section when you're done with it.

    -- Jon Williams
    -- Parallax


    Original Message
    From: Steve Nelick [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=LYo9_n9bO7KMuuF__FX-LB2pDllIKukmab2BU8hmT2uFLBSKzpt2qB5YPyjvg7MsVeTzxE674dIaG_GTkYE]s.nelick@v...[/url
    Sent: Thursday, March 11, 2004 10:42 AM
    To: basicstamps@yahoogroups.com
    Subject: Re: [noparse][[/noparse]basicstamps] bluetooth robot


    I'm also working on a wireless robot controlled by a computer, and I'm
    using the bluetooth eb500. On the computer I'm using the Python
    language, which is a free download. On the robot, a Boe-Bot, I changed
    from a BS2 to a Javelin Stamp, so I'm using Java.

    On the computer side I have functions like:

    motor(RMotor, LMotor, sec)

    where RMotor is the pulse width to send to the right servo, LMotor is
    the pulse width for the left servo, and sec is the number of seconds, in
    10ths of a second.

    For example, calling the motor function on the computer side is:

    motor(750, 750, 10)

    which will stop the servos for 1 second.

    On the Boe-Bot side, an example of a Java function is:

    static void getNextMotorCommand()

    _______________

    Original Message
    From: "troy8oy" <troy8oy@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Thursday, March 11, 2004 8:11 AM
    Subject: [noparse][[/noparse]basicstamps] bluetooth robot


    > I'am designing a wireless robot controlled by a computer using
    > bluetooth. I'am using eb500 on the robot. How do I communicate on the
    > PC to the robot?? for example to move a servo motor? do I send Pin 3
    > high etc or can I send a place to branch to on the robot basic stamp
    > like forward??? What imformation do I send?? and what information will

    > the basic stamp understand???
    >
    > Thanks
    > Troy
  • ArchiverArchiver Posts: 46,084
    edited 2004-03-18 01:29
    Hi Steve

    I was wondering why you changed to using Javelin? Is it easier to implement
    bluetooth?

    Also I was wondering if I could get a copy of your code on the computer and on
    the robot? so I can get on idea how to implement bluetooth. And If I too will
    use a Javelin chip.

    Thanks
    Troy

    Steve Nelick <s.nelick@v...> wrote:
    I'm also working on a wireless robot controlled by a computer, and I'm using
    the bluetooth eb500. On the computer I'm using the Python language, which is
    a free download. On the robot, a Boe-Bot, I changed from a BS2 to a Javelin
    Stamp, so I'm using Java.

    On the computer side I have functions like:

    motor(RMotor, LMotor, sec)

    where RMotor is the pulse width to send to the right servo, LMotor is the
    pulse width for the left servo, and sec is the number of seconds, in 10ths
    of a second.

    For example, calling the motor function on the computer side is:

    motor(750, 750, 10)

    which will stop the servos for 1 second.

    On the Boe-Bot side, an example of a Java function is:

    static void getNextMotorCommand()

    _______________

    Original Message
    From: "troy8oy"
    To:
    Sent: Thursday, March 11, 2004 8:11 AM
    Subject: [noparse][[/noparse]basicstamps] bluetooth robot


    > I'am designing a wireless robot controlled by a computer using
    > bluetooth. I'am using eb500 on the robot. How do I communicate on the
    > PC to the robot?? for example to move a servo motor? do I send Pin 3
    > high etc or can I send a place to branch to on the robot basic stamp
    > like forward???
    > What imformation do I send?? and what information will the basic
    > stamp understand???
    >
    > Thanks
    > Troy
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >



    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and Body of
    the message will be ignored.

    Yahoo! Groups Links







    Find local movie times and trailers on Yahoo! Movies.


    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.