Basic ATOM 28-Pin

Hello,
I’ve recieved a Atomic Bot Board and I am going to use a Dimension Engineering Sabertooth 2x5 Motor Controller, I have also ordered a Basic ATOM 28-Pin. To save time because I am on a tight schedule my buddy suggested that while i wait for it I write my program. However there is a problem with it. I am stuck on programing it. I am not to sure what to do, i get the “jist” of for every “action” or every piece of data the Micro tell the ABB to tell the rest of the electronics what to do.

So If you can help me with my project I just need a little, well a lot of help, programing my micro with 3 sensors and 2 output motors.

A tutorial will help a lot.

Thnxs
Nate

I have the mini-ABB with the Basic Atom on it, which is currently running my WALTER robot. I have written a lot of code to do various things, as have others here. Really though, the best way to start out is to just dive in and start tinkering with code. :slight_smile:

What sensors are you using?

If you have had any experience programming in BASIC, you should be able to do well with just the Basic Atom Programming Manual, which is downloadable from Basic Micro.

8-Dale

What Sensors am I using?
I’m using a Photosensor… like a IR but with LED light and a photocell… cheaper… cause I’m on a tight budget too.

Thnxs, I’ll dive right into that 220 page book :stuck_out_tongue:

Nate

Thats me! :smiley:

Lynuxguy is the man, he knows what he is talking about, I highly suggest you take in whatever you can from him! :wink:

  • Good Luck! :smiley:

When Programing the Basic Atom 28-Pin, is the language similar to that of the Basic STAMP 2?

Thnxs
Nate

Similar, but not the same. The manual and syntax reference guide can be downloaded from the Basic Micro website.

LOL… I’m on chapter eight of the manual…

So, I’ve got the ABB, a motor controller, sensors and the Basic ATOM 28… now all I need is a program.
And Here it is…well some of it.

=(let) [0=5.28, 1=5.2, 2=5.07, 3=4.91, 4=4.74, 5=4.55] Repeat lookdown, if value <sensor L>, [1,2]=, then <motor2>=160 <for 3 seconds then return back at 223 for 3 seconds then set at 128 (straighten out)> lookdown, if value <sensor M>, [1,2]=, then <motor2>= 128 lookdown, if value <sensor R>, [1,2]=, then <motor2>= 223 <for 3 seconds then return back at 128 for three seconds then set at 128(straighten out)> until <sensor M> = 0

that is what i have so far… the text underlined and in the “<>” are areas i’m not too sure on…
if there is anyone who can help me… the program is for a autonomous rover with 2 dc motors and three sensors at the front. Motor 2 controlls left and right movement…

thnxs nate