Shop OBEX P1 Docs P2 Docs Learn Events
serial communication info — Parallax Forums

serial communication info

OwenOwen Posts: 100
edited 2006-11-21 17:18 in Robotics
Hi,
I am working on a project that precisly indexes the position of a camera to create large panoramic images. It uses the propeller to controll the stepper motor drivers and trigger the shutter release on the camera. I chose the propeller because it offers the power to expand the devices with a number of accesories in the future (including some that may be time sensitive). the device is finished mechanicaly and electricaly now all thats left is the programing. I am writing a program on my pc that will talk directly to the propeller and give it the 1. number of stepps to move the motors 2. The rate to take the stepps 3. When to trigger the camera's shutter release. then when 1,2 and 3 are executed the propeller tells the pc program it has finished so the program can give it a new set of commands to move the camera to a new location.

So my question is if anyone has information or similar example programs/tutorials that help explain how to practically executec this type of comunication interface. I am not a very experieced programer (but do have some experience and drive) and have basicly no experiece with serial port programing yet. Basicly I'm looking to be pointed to some good resources and examples so i can learn how to build this interface.

Thanks,
Owen

Comments

  • Aaqil KhanAaqil Khan Posts: 60
    edited 2006-11-21 17:18
    What you need is serial port communication using RS232 protocol to exchange data between your software and the microcontroller. I found this url pretty useful for my data communication needs:
    http://www.rentron.com/VisualBasic.htm

    I am not sure if you're using visual basic for your application, but this website gives you the fundamentals anyways. Certainly helped me.

    Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    E=mc^2
Sign In or Register to comment.