It’s official my order has been placed, got my money early.
Current Budget $196.18 (See how tight my budget was.)
Spent $195.41
Future budget as of July 3rd will be $35, and and additional $40 on July 6th.
Parts ordered were:
Tank Kit
Bot Board v2
Basic Atom Pro 28-M
Pololu Micro Dual Serial Motor Controller
I went with the pololu motor controller because it was cheap, and supplies over 2x the stall power of my motors. So it supples twice as much as the max limit of my motors, the motors on average take 70-80mA.
I’ll buy a 1A 5v regulator from radioshack for a buck and a half. Pocket change.
My pc has a Dedicated hardware serial port, but i’ll be using a usb to serial port.
I’ll be getting an eithernet DB25 bridge, and a DB25 to DB9 adapter (both free) will experiment with those.
My remaining budget which i dont get till the 3rd at earliest will be $35. Enough for a wireless camera, a breadboard and some jumper wires. I can get by without those for now.
And on the 6th, a bluetooth serial adapter, cheapest one i can find. Please submit links if you know of some really cheap ones.
Edit:
YAY, while taking apart an old 4.1 PC speaker setup, which no’one had used in years, it was sitting in a box.
I found a-
MC7805CT 1A 5V voltage regulator.
AND!!!
a L7809CV 1.5A 9V Voltage Regulator. JACKPOT!
Though the 9V regulator seems a bit off, i put 18v into it, and got 11.5v out, exactly 11.5v, not sure whats up there.
But the 5v regulator put out 5.06v and i have a nice little heatsink for it.
Edit2:
Anyone know how to write batch files?
Or a dos exe, Might be able to create a simple user interface in dos that can send specific commands.
If someone can write one that sends the ASCII decimal “5” when W is pressed in the window over com1, i can adapt it to cover all of my commands.
Edit3:
Can someone post the lines or at very least the commands needed for incriment and decrimint hservo controls.?
Example, if hservo’s position is 0(neutral) then how do i make it increase or decrease to a min/max. The speed is in the command.
So how do i make it add or subtract the pos while a button is pressed.
Example: a servo on Pin 4, with the speed of 255.
HSERVO [P4, var1, 255]
I wan’t var1 to have the min limit of -5000 and the max limit of +5000.
I wan’t it to start at 0 on startup, and if input1 = 1, it’ll increase from 0 to 5000, But if i press input2 it’ll decrease from what ever it’s current position is, to a max-negative of -5000. And then reset to 0 if input 3 = 1.
I know how to make it reset
if input3 = 1 then var1 = 0
Edit: i want it to remain at the value until i change it with one of the 3 inputs.
I think it uses a step counter with start and end values.
This is what i got so far, very basic, confirm if correct.
var1 = Sword
input1 = bit
input2 = bit
input3 = bit
ENABLEHSERVO
pause 10 'Because i want it to
main:
for var1 = -5000 to 5000
if input1 = 1 then var1 + 100 'I dont know if these work youll have to help me with this im confused
if input2 = 1 then var1 - 200
if input3 = 1 then var1 = 0
HSERVO [P4,var1,255]
gotomain
I’m still trying to figure it out. I’ll edit the post and remove all this if i figure it out.
I’m visualizing this all in my head at the moment. So bear with me. Though i think i’m doing pretty good for not even having a robot yet.
I need something to do while i wait for my bot to get here, and it would be nice to know what i’m doing before i get started. So i dont mess anything up.
Edit again:
When i leave notes in my program code, am i using ’ or ; because when reading the atom pro manual pdf, they always use ;
But here on the forums i keep seeing ’
though it could be a font thing.