Shop OBEX P1 Docs P2 Docs Learn Events
Programming Basic Stamp 2 (boe-bot) using Visual Basic — Parallax Forums

Programming Basic Stamp 2 (boe-bot) using Visual Basic

wingerswingers Posts: 2
edited 2009-01-08 00:27 in General Discussion
Hi everyone

I have a boe-bot kit which I have had great fun playing with, but now want to try and build a bigger more powerful robot and would like to know if you can program the boe-bot via usb (haven't got bluetooth module yet) using VB

Other cards I have considered such as the serializer.net allow you to use VB or MS robotics studio to program and control them and my aim is to build a robot controlled by my Asus EEE notebook, so larger chassis that holds the EEE with a webcam etc and connecting to hopefully my existing basic stamp to control everything.

All comments greatly appreciated......

Comments

  • KB3JJGKB3JJG Posts: 95
    edited 2009-01-07 23:01
    Wingers,

    It was alittle unclear if you want to just progam your boebot with vb, or if you just want to control it with a program you have written. The answer is yes to both, however programming the stamp via a custom app using the available tokenizer libraby·is not a something for a beginning programmer. Anyways, you can download the tokenizer here

    http://www.parallax.com/Portals/0/Downloads/sw/tok/v1_16/PBASIC_Tokenizer.zip

    I think your question actually is, can I control a bot via a custom program, and as I mentioned the answer is yes.· Using the serial communications available in VB you can send commands to the stamp and have them processed then do some behavior.· You will need to write a program for your stamp to use serin commands to process the data.

    Take a look at the documentation for the SerialPorts class in the System.IO.Ports namespace. You will also want to review the documentation for serin in the stamp documentation. I will come up with an led control example for you to see how these come together.
    ·
  • wingerswingers Posts: 2
    edited 2009-01-08 00:27
    Thanks for the reply KB3JJG, a bit of both really, first of all want to connect the boe-bot via usb to PC and program it using VB so I can learn a bit more

    Then I will build a new chassis etc, fit my EEE running XP and then write some apps to control, get feedback from sensors etc etc and then act on the results etc

    Will look forward to seeing your example, really appreciate it, always easier to understand when you can see some working code
Sign In or Register to comment.