go_away

Author Topic: Controlling Robot through serial port with matlab  (Read 2893 times)

0 Members and 1 Guest are viewing this topic.

Offline neo01124Topic starter

  • Jr. Member
  • **
  • Posts: 46
  • Helpful? 0
Controlling Robot through serial port with matlab
« on: October 11, 2007, 11:07:41 PM »
A friend of mine working on Image processing (Matlab) wrote some code to detect the centroid of a red ball and now we want our bot(basically a differential with 2 dc geared motors) to turn using this info.We found out that a parallel port is the best (read easiest) option but laptops dont got no parallel ports.So we decided of using the serial port and thank god for MATLAB help we understood sum of what was written and also understood that on the reciever side we'd have to use a level converter(max 232) and interface it with a uController and generate signals for the motors ,but i am not able to figure out how exactly to send data through serial port with fwrite() function.Basically i wanna kno how to light up an LED with the serial port with matlab!!Thanks already!!

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2853 Views
Last post August 22, 2008, 12:05:08 PM
by Admin
4 Replies
1741 Views
Last post September 06, 2008, 07:08:05 AM
by offy
1 Replies
527 Views
Last post January 29, 2010, 05:30:33 AM
by Pratheek
1 Replies
493 Views
Last post November 13, 2010, 12:54:46 PM
by VegaObscura


Get Your Ad Here

data_list