Author Topic: line maze solver  (Read 3057 times)

0 Members and 1 Guest are viewing this topic.

Offline kraz_elecTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
line maze solver
« on: October 22, 2009, 11:22:23 AM »
i wanted to make a line maze solver similar to 3pi robot (www.pololu.com/catalog/product/975) ..can we use at89s52??..it has only 256 bytes ram..is 256 bytes of ram sufficient??..please help.. :-[

Offline GWER57

  • Full Member
  • ***
  • Posts: 65
  • Helpful? 2
Re: line maze solver
« Reply #1 on: October 25, 2009, 02:22:21 PM »
It depends on the size of the maze. It also depends on the other variables in your program. But your robot should be able to save one
intersection for every byte of ram you have available. So you should easily be able to work with a maze of 200+ intersections. The key
is to use the ram wisely. :)
GTW

Offline kraz_elecTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: line maze solver
« Reply #2 on: October 25, 2009, 07:24:15 PM »
please tell me little more about using ram wisely...

Offline z.s.tar.gz

  • Supreme Robot
  • *****
  • Posts: 540
  • Helpful? 5
  • Linux Guru
Re: line maze solver
« Reply #3 on: October 26, 2009, 05:27:00 AM »
Try to reduce the actual program to the smallest possible. Also, if the maze is a choice of left/right, you could probably use individual bits for the buffer, so that will give you a ton more memory.
Save yourself the typing. Just call me Zach.

Offline kraz_elecTopic starter

  • Beginner
  • *
  • Posts: 3
  • Helpful? 0
Re: line maze solver
« Reply #4 on: October 27, 2009, 07:28:03 PM »
thank you for guiding me ..

Offline z.s.tar.gz

  • Supreme Robot
  • *****
  • Posts: 540
  • Helpful? 5
  • Linux Guru
Re: line maze solver
« Reply #5 on: October 28, 2009, 11:19:46 AM »
De nada
Save yourself the typing. Just call me Zach.

Offline MangoBot

  • Robot Overlord
  • ****
  • Posts: 185
  • Helpful? 1
    • BeginneRobot
Re: line maze solver
« Reply #6 on: October 30, 2009, 08:33:32 PM »
3 ways to do a maze are a wall hugger, random left or right turns, or making a map and finding the shortest way through it.

Offline bsamuels

  • Jr. Member
  • **
  • Posts: 28
  • Helpful? 0
Re: line maze solver
« Reply #7 on: November 13, 2009, 10:43:51 PM »
Yeah, a wall hugger would probably be the best option here.

 


Get Your Ad Here

data_list