My current BoeBot project, wireless controll.
Hello
I have just succeded with my current project. Controlling my BoeBot wireless with my computer.
I know you can buy parts from Parallax to communicate wireless by radio between BasicStamp modules. But I think they are quite expensive and· because I live in Sweden they get even more expensive. Instead I bought a RX433 receiver module and a TX433 transmitter module for about 12,50$ apiece in Sweden. I aslo had to buy a BasicStamp HomeWork board for about 60$ (but it can always be good to have one extra, right·). Then I just connected the transmitter module to the HomeWork board which I connected to my comupter and I connected the reciver module on my Boebot. Then just a little program code and my robot is wireless controlled!
Now I am developing my program.·I have fit my robot with some IR-sensors so that the robot can roam by itself but I can start to controll it at any time. I shall also try to·get a two-way communication so that the robot can sent stuff to the computer. Maybe get a distance sensor on the robot and send the measurements to the computer.
I will also try to steer the robot with my Texas TI-83plus calculator instead of the comuter.
\Jonas
http://www.geocities.com/jcee324
I have just succeded with my current project. Controlling my BoeBot wireless with my computer.
I know you can buy parts from Parallax to communicate wireless by radio between BasicStamp modules. But I think they are quite expensive and· because I live in Sweden they get even more expensive. Instead I bought a RX433 receiver module and a TX433 transmitter module for about 12,50$ apiece in Sweden. I aslo had to buy a BasicStamp HomeWork board for about 60$ (but it can always be good to have one extra, right·). Then I just connected the transmitter module to the HomeWork board which I connected to my comupter and I connected the reciver module on my Boebot. Then just a little program code and my robot is wireless controlled!
Now I am developing my program.·I have fit my robot with some IR-sensors so that the robot can roam by itself but I can start to controll it at any time. I shall also try to·get a two-way communication so that the robot can sent stuff to the computer. Maybe get a distance sensor on the robot and send the measurements to the computer.
I will also try to steer the robot with my Texas TI-83plus calculator instead of the comuter.
\Jonas
http://www.geocities.com/jcee324
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
COOL! Do you have ideas on HOW to do this. Or is it more in the concept stage?
\Jonas
http://www.geocities.com/jcee324
Could i have alink? I've been looking for this for some time
Can you tell how I can control my BoE-Bot with my computer?
First I did it with the debug window of the basic stamp editor, but that isn't working very good.
So, how are you doing that?
Martin
how did you hook them up? Do you have sample code? What additional details can you provide? What a great, and inexpensive way to play!!
I have a robot that I also control with RF. But I use the RF-modules of Parallax.
I think the pbasic-code is the same.
Transmitter code:
Reciever code:
·And can someone tell me·how I can control my BoE-Bot with my computer?
Martin
That's a great looking bot. I was wondering how I would mount some additional hardware on my bot and I never thought about cutting out some plexi. I also plan to control my Boe-Bot with my computer at some point. I'll most likely use some CGI scripting with a web based front end. I just got my PINK set up so that could be a likely choice.
-Marc
I also like it to control my robot with internet, but the pink kit is to expensive for me.
So I am looking for a alternative.
Can you post some pictures of your bot?
Martin
Here's a link to my bot with a hacked Radio Shack ZapZaps car as the remote: http://forums.parallax.com/forums/default.aspx?f=21&m=93838
If you can connect your PC with your transmitter board through the Parallel port, there is a Perl module which allows you to control the Parallel port which would make it pretty simple to write a CGI web app. You can downlaod Apache and Perl for free.
-Marc
but where can I find that "Perl module"?
Martin
ppm install Device-ParallelPort
ppm install Device-ParallelPort-drv-win32
Then, if you open the file C:/Perl/html/index.html and scroll down on the left under modules you will see the documentation for how to use the Device::ParallelPort module.
-Marc
Sorry about the delay of my answer but I haven't been at home for a couple of weeks now and I haven't been working with my boebot. But here is two pictures of the robot and some sample code. I have to say that there is alot work left before the robot goes smoothly. But you can drive your robot with the computer using this code.
This first code is the code of the transmitter (the card connected to the computer).
When the program starts it sends the value "5" over and over again until you push "Knapp1" (button 1) on the card. This is used to synchronize the communicaion between the transmitter and the receiver. When you push the button the it starts to receive values that you enter in the debug window in BASIC Stamp Editor.
This is the robot program code.
First of all. Yes I have copyed alot from a program called "Tethered BOEBOT Control using SERIN from Debug", so if you who made that program reads this. Thank you very much, your program helped my alot.
Back to my program. When the program starts it tries to receive the value "5", if it doesn't receive it the program sleeps for about 2.3 seconds and then it starts over. When the program receive the value "5" the "IniLED" turns high and then you know that the transmitter and the receiver is synchronized and you can push the button1 on the transmitter board. Then the program jumps to different subroutins depending on what number you enter in the debug-window.
As I said, there is alot of work left before the program is finished so please, be not disappointed if your robot not always obey the commands that you give it. Maybe it is the transmitter/receiver that isn't the best but for that money I spent I think it works better than I hoped.
Please enjoy!!!
\Jonas
http://www.geocities.com/jcee324/
Post Edited (Jonas) : 12/22/2005 9:20:35 PM GMT
Can you supply us with the schematics...
I've been looking for a cheap wireless project for ages...
Thankfully, Provas, GReece
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--
\Jonas
http://www.geocities.com/jcee324
I have also·control my BoE-bot with·a debug window of the basic stamp editor. It was working very good. But in the futere I think its better to control my BoE-bot with a Visual Basic program.
The program I use:
···· Transmitter:
Receiver:
I like some reply for use Visual Basic to control my BoE-bot.
Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (Martin_vL) : 11/30/2005 6:59:48 PM GMT
Here is my schematics for the robot and the transmitter. I assume that you will solve power supply schematic by yourself.
\Jonas
http://www.geocities.com/jcee324
TX433 and RX433
Where did you get them from...
I have a friend that can order me things from Germany, if this is right...
Provas, GReece
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--
http://www.velleman.be/Downloads/7/TX433N_datasheet.pdf
http://www.velleman.be/Downloads/7/RX433_datasheet.pdf
http://www.velleman.be
US distributors sell them for $12 for the pair.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 12/6/2005 10:20:13 PM GMT
www.qkits.com
www.sparkfun.com
www.rentron.com
I believe that they are made by Laipac Technology in Canada... They do have european operations in Spain. Check them out at http://www.laipac.com/easy_eng.htm
509-RCR-433-RP $4.99
509-RCT-433-AS $3.99
Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I have also thought about controlling the robot with a visual basic program. And maybe also have the robot send back information to the computer, such as distance to objects or something like that. But sadly my visual basic skills are very limited.
\Jonas
http://www.geocities.com/jcee324
http://www.crownhill.co.uk/product.php?prod=434
if you are looking for TWS-434 and RWS-434 in Greece
Michael (aridaios)
Our Greek Forum about robotics!!!
Thanks, Provas!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rule your Destiny-
--Be Good. Be Bad. Be Provas--
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Yes, I live in Greece
I will visit the site
The only programing i have done so far, is testing various values for the servo's on my (sumo bot), so u can say i'm not very into programing yet :P.
U can say i'm kinda lazy, and have all my life tried to make things "easier", so wireless programing for the school bot seems like a good first choise. (not a good choise if u think about me learning of it)
The good thing is:
first. that i can do this by puzzling (and learning) together everything by the schematics and the program kodes.
second. u found a cheap way to buy a transmitter and a reciever, so my school can buy them [noparse]:)[/noparse]
third. a LOT of time saved, without the need of plugging the serial cable inn and out 10 times pr. program line :P
it's just a tiny thing i wanted to ask about-
Program kode for the Homework board:
I see the buzzer is still programmed in there, and just wanted to know which lines i have to delete (to remove the useless lines) without breaking the program anyway, i know it doesn't matter if it's there, but i learn from it, and it looks more tidy [noparse]:)[/noparse]
Anyway, thank you very much for an exelent post [noparse]:D[/noparse]
MVH
Kim (Norway)