Click to See Complete Forum and Search --> : Intelligent Micromouse


MMA
10-15-2002, 04:48 PM
Hi all.

I was wondering has anyone tried making a micromouse. I am currently making one just for an after college project. And finding it very very hard to solve the maze. Has anyone got an idea on how to go about making the little robot make the decision to choose the fastest route to the middle of the maze, from one of the corners.

I have an idea of on how to label each box, the maze is split in to 16x16 box's, i used an array: like box(x , y , char)

y = 1 to 16
x = 1 to 16
and char is 1 to 5, one is the to wall, then 2 is right wall, bottm wall is three and the left is 4. 5 is 1 when the mouse has visited and 0 when unvisited.

I am using QBasic, this is becuase, we in Electrnics lesson, are using QBasic for our projects, and i want this to be usefull, so that i can encorporate some ideas in to my coursework.

I just need help on the algorithm, i haven't tried programming a chip yet, thats our next unit gonna start doing in couple of weeks.

You don't have to write the code out, i want to do that my self, i like the challange. I just want a precedure to do this.


THNX alll


PS: i have searched through Google, over and over.