Thursday, 5 January 2012

Image processing robots:


Arena


Hi Frnds, this robot is similar to the line tracer robot mentioned earlier. The programming is done using matlab. The output of the matlab is in the form of the following commands
    1-   Go straight.
    2- Turn right.
    3-Turn left.
    4- Go back.
The output is given via parallel port to the robot. When the robot receives the command, the micro controller responds accordingly. e.g. If it receives 1, it moves the robot forward. The robot (orange and pink circles) is placed in the arena. Using USB port the webcam and using parallel port the robot is connected to the computer. The programming is done in such a way that the web cam takes two images per second. With the help of the images taken by the web cam, the computer recognizes the position of the Robot and the robot starts moving from its initial point to the big red square and if it finds that the red color is present in one of the small boxes, the robot moves to the black square in front of the respective box. If it finds that a color is not present in the small boxes then the robot moves to its initial position.
The following are the robots I made based on image processing


Arena-1

Arena 2

Arena 3

No comments:

Post a Comment