Controlling my robot via computer commands
noobmuncher
Posts: 124
Hello,
I need to have a program that will allow me to simply click a keyboard button (or an onscreen button) or at the very least type a one letter command in order to make my robot go forward, backward, right and left turn etc. I have never actually tried to control one from a computer through a BS2 so any help is appreciated. (I would prefer suggestions for the BS2) I am sufficient in my programming skills, I just have no idea how to interface it to the computer.
Thank you
I need to have a program that will allow me to simply click a keyboard button (or an onscreen button) or at the very least type a one letter command in order to make my robot go forward, backward, right and left turn etc. I have never actually tried to control one from a computer through a BS2 so any help is appreciated. (I would prefer suggestions for the BS2) I am sufficient in my programming skills, I just have no idea how to interface it to the computer.
Thank you
Comments
laptop-->bs2 on a boe(board of education) thru my standard old usb to serial cable-->rf transmitter on the boe--> rf reciever on my boebot
Have the program on the bs2 thats connected to the computer waiting for any keyboard press( i used...I= forward, j=left,k=right and m= back and anything else stopped the bot). Then serially send out a number that the recieving bs2 "knows" that means to go forward or whatever.
The transmitter & reciever i got off ebay were under $10 total and do the job(up to 30 or 40 feet in my house)
Well...that's one way to do it
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A complex design is the sign of an inferior designer."
Note that it uses a wireless link, but you could just replace that in the receiver program with whatever your source of characters is.
http://forums.parallax.com/forums/default.aspx?f=6&m=351119
It is fairly easy and the tutorial has great info in it if this is your first attempt at remote control.
http://forums.parallax.com/forums/default.aspx?f=6&m=351119
Do you have the program code for control boe bot via pc
can you paste it in the forum
or anyone
Do you have the program code for control boe bot via pc
can you paste it in the forum
or anyone
You have to do some work. Several people have already provided links to other threads where there are code examples. Take a look at those references.
Thanks again