Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

TeamUR Robo-Project Illustrated

Back Home Up

Home
Up

The software has been developed in MPASM (PIC assembler) in MPLAB environment.  The program, available for download, should be considered as one of our first attempts to write anything for PIC microcontroller.

The program's goal is to control a motion and give the robot an ability to avoid obstacles.  TeamUR the First has only one central proximity sensor.

The algorithm is as follows:

Start: don't move for 3s
Loop:
    If an obstacle is is not detected:
        Move forward in 0.5s steps 
    else
        Stop: don't move for 1s.
        Back up for 0.5s.
        while obstacle is detected
            Make random turn: left or right (0.5s)

Surprisingly that simple algorithm makes the robot moving pretty well.  Of course the robot's AI doesn't exceed the level of toy-police car, which is able to back up when it bumps the walls :-).

Known problems:

bulletThe robot is turning always to the right, not as it was assumed randomly.  The problem is a bug, which prevents timer2 from running.
 

    

Hit Counter
All rights reserved.
For problems or questions regarding this web contact [Project Email].
Last updated: May 27, 2004.