Shop OBEX P1 Docs P2 Docs Learn Events
Using the eb500 to run a program — Parallax Forums

Using the eb500 to run a program

BlindmonkBlindmonk Posts: 12
edited 2007-04-22 17:32 in Robotics
I have read through the eb500 manual and everything has worked as it should almost, The only thing that wouldn't work was the "Hello World" command. I found the address

that is given to my eb500 chip and I found the address assigned to my USB bluetooth device. The thing that I am trying to do right now is set up a program that will allow me

to Run a program wirelessly. If anyone knows anything that might be helpful to run or reset a program using the eb500 chip please let me know. I have done so much as of

now and I only need a few more things to complete my whole project.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-04-20 05:30
    Do you mean you are trying to download a program through the EB500? If so you cannot. It is not connected to the programming port. It is also not controlling the DTR line.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • BlindmonkBlindmonk Posts: 12
    edited 2007-04-20 06:37
    No, I have a program written right now in the stamp chip editor window that uses a PIR sensor to detect heat and trigger an alarm. What I am trying to do is use the eb500

    chip to rest the program when it triggers or to rerun the program after it triggers. The thing that I am having trouble with is that I don't know what to place into the stamp chip

    editor window that will allow me to do that. I hope this answers your question
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-04-20 17:08
    Wherever you’re getting serial data in the program you can check for a specific command and just branch to the appropriate portion of your program. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • BlindmonkBlindmonk Posts: 12
    edited 2007-04-20 20:32
    I am sorry I am a little confused as to what you wrote, If you could, could you give me a little more information about what your trying to say?
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-04-20 23:09
    I would recommend checking out the documentation and code we have for the Microsoft Robotics Studio, since it deals with communication between a host PC and the BOE-Bot using the EB500. You can find this information at the following link. Take care.

    http://www.parallax.com/detail.asp?product_id=28118

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • PARPAR Posts: 285
    edited 2007-04-21 20:19
    Blindmonk said...
    No, I have a program written right now in the stamp chip editor window that uses a PIR sensor to detect heat and trigger an alarm. What I am trying to do is use the eb500

    chip to rest the program when it triggers or to rerun the program after it triggers. The thing that I am having trouble with is that I don't know what to place into the stamp chip

    editor window that will allow me to do that. I hope this answers your question
    It still not clear what your trying to do. So, clarify these points first.

    The "stamp chip editor window" you refer to: Is that the Parallax Basic Stamp Editor, used to program the Stamp using PBasic?

    Does the Stamp have a PIR sensor attached to it, which will be "used" by the PBasic program that you have downloaded to the Stamp?

    Or, by "stamp chip editor window", are you referring to some other kind of software which runs on your PC? If so, which software is that? And, what program are you running on your Stamp (in order to communicate with the PC-resident software, as well as with the Stamp-controlled PIR)?

    What do you mean by "reset" ("rest", sic) or "rerun" the program? Which program --the Stamp-resident program, or the PC-resident program?

    And, finally, if you "simply" want to loop through (reset/rerun?) the Stamp-resident program again, after it detects a given condition of the PIR, why do you need to use the eb500 communicating with a PC·for that? There must be more to your intention than simply that? (Yes, you did say you want to "run a program wirelessly" but given the confusion about which program and what editors, more clarification on this point too is needed.)

    PAR

    Post Edited (PAR) : 4/21/2007 8:25:27 PM GMT
  • BlindmonkBlindmonk Posts: 12
    edited 2007-04-22 17:32
    PAR,

    I Have one of the first BOE-BOT"s that were available, and I have a PIR sensor (purchased at the parallax website) wired into the bread board with the PIZO speaker. I then
    wrote a program in the Basic Stamp Editor v2.2.6 window.

    My goal is to place the BOE-BOT at my door and when it is opened it will trigger the alarm, and I could sit at my computer and use the eb500 chip to reset the program by
    using the RUN function.

    Now I have changed what I wanted to do because I found out that I didn't have everything that I need with me right now to do that. Now I just want to be able to move the
    BOE-BOT with the eb500 chip using the MICROSOFT ROBOTICS STUDIO (1.0). The only trouble that I having with that is that when I went through the manual everything
    worked except when I used the "HELLO WORLD" step it wouldn't work. I kept on getting the address from my PC in the Hyper Terminal. What I am thinking is that the BOE-BOT that I have doesn't have the position switch on it will that matter?

    I hope that everything here will help clarify any questions that you might have, if not feel free to ask any questions that you need.
Sign In or Register to comment.