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.
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.
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.
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…