rover code

Dose any one want to share there simple rover code?

What do you consider to be simple?

8-Dale

simple like go forward till a bumper switch is hit then turn around or go forward till a GP2D12 is tripped something along those lines

Have you done any research to see how this might be accomplished? What hardware are you using now? Which MCU?

8-Dale

yea iv done alittle research but i cant seem to get anything to work as of hardware i have a Mini Atom Bot Board and a Scorpion Motor Controller and MCU would be what ?

What code do you have now? Please post it and you will probably get much more assistance.

8-Dale

MCU means MicroController Unit. Are you using a Basic Stamp? Basic Atom, Basic Atom PRO? The type of MCU you are using will determine what language is used. The Atom MCUs use Mbasic, the Parallax stamps use Pbasic, etc…

its the basic atom pro and i don’t have any code yet i wanted to see some other peoples code b4 i started writing mine

Hi,

If it’s a Atom Bot Boards, and a Saber servo, have you looked through all of the “rover” project files? They show you how to connect things up, and supply some sample code. The code may have to be modified slightly between the different ABB’s.

Alan KM6VV

my bad its an atom pro 28

Here is good code:

norrislabs.com/Projects/Rome … index.html

Migs