Shop OBEX P1 Docs P2 Docs Learn Events
Serial Communication — Parallax Forums

Serial Communication

Naphtali MooreNaphtali Moore Posts: 42
edited 2007-04-19 05:32 in Robotics
WOOHOO! I finally·sent a message through the serial port to my stamp! Ok, so I'm building a robot. I will use an old P3 desktop for the main AI and video. I am also using a BasicStamp2sx·to manage the sensors(2 ultrsonic range finders, GPS, tri axle accellerometer, compass) and work the servos(4) and drive(HB25). I am writing the main interface in BlitzPlus, which gives me a fairly easy GUI and graphics capability. Its used for programming games mostly and its super easy.·Communication between the PC and·BS will be conducted via the COM1 serial port. Well today for the first time I was able to send a message from a Blitz app·to the·BS2sx via a DLL I wrote (with lots of help, thanks Dave Scott) in C++. All I can do is turn an LED on and off but IT WORKS!

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2007-04-18 13:01
    Ah, it's wonderful when the stuff comes together. Having 'blinked' an LED, you've validated SO many things that could have really slowed you down. Well done.
  • Naphtali MooreNaphtali Moore Posts: 42
    edited 2007-04-19 05:32
    Thanks allanlane5, thats just the pat on the back I needed. If I could only get my wife to be half as excited about a blinking LED as I am, hehe. Now on to step 2, getting the PC to recieve a message from the BS2. Then I will post the DLL and all source code so others don't have to spend weeks reading through msdn articals to figure out serial communications. [noparse]:)[/noparse]
Sign In or Register to comment.