Joystick Controlled Boe Bot (bs2)
An_Idiot
Posts: 2
Hello,
A couple months ago, I decided i wanted to make a wireless boe bot that I could control with a joystick. I had my 2 xbee-zigbees(the zigbee gets better distance and is only a little more $), a homework board, a (loaded) boe bot, and a Pro development board (for a more complex controller). So I set it all up based on this, pages 136 and 137, minus the compass module HM55B, which is discontinued. I would like to get a code for the boe bot and the HW board, but the only ones i found are in this document somewhere after page 150, and are for the tilt module and require a compass module HM55B. Can someone please write/edit a code for this, and is there a way to do this via the GPS (preferred: i have one) instead of the compass?
Thank you,
An_Idiot
A couple months ago, I decided i wanted to make a wireless boe bot that I could control with a joystick. I had my 2 xbee-zigbees(the zigbee gets better distance and is only a little more $), a homework board, a (loaded) boe bot, and a Pro development board (for a more complex controller). So I set it all up based on this, pages 136 and 137, minus the compass module HM55B, which is discontinued. I would like to get a code for the boe bot and the HW board, but the only ones i found are in this document somewhere after page 150, and are for the tilt module and require a compass module HM55B. Can someone please write/edit a code for this, and is there a way to do this via the GPS (preferred: i have one) instead of the compass?
Thank you,
An_Idiot
Comments
I think you'll find that the various examples will provide the basis for what you want to do. You will have to do some work and you will have to learn how to program the Stamp. Try first making a BoeBot controlled by a wired joystick. Then move the joystick to a separate Stamp board and get the two boards to talk to each other over a wired serial connection. From there it's easy to interpose a pair of xBees for a wireless serial connection, then you could add a GPS to the BoeBot although remember that the resolution of GPS isn't high enough to use for BoeBot navigation over distances on the order of a few feet. You may be better off using current navigation chips (compass / gyro / accelerometer).
I'm trying to be optimistic about a code, because mine will most likely be buggy.
I also wanted to make it easier for the next person, as there is few codes for this.
thank you,
An_Idiot
Not sure if u are still interested in this project being that it is a month later...but i am doing a very similar project myself...you are welcome to work along side me on here. check it out at educational group project for all of us that are new to electronics
I did this once too and I didn't start with a pile of parts. I made my BOE Bot work, then I played with XBEEs and then I was able to join them together. You also have a servo pal I'm assuming, so you should understand how that works as well. http://forums.parallax.com/showthread.php?140202-Wireless-Joystick I used a Propeller, and also the joystick was in bad shape, use something with good potentiometers.
You can also take help fron this link. Here some sample code has been discussed. refer page no. 135
http://www.scribd.com/doc/84785343/33/BASIC-Stamp-Project-Wireless-Joystick-Control-and-Monitoring-of-a-Boe-Bot
This will give you an idea on how you can start with your project.
here is one more link which will help you working with the joystick.
http://www.yourwarrantyisvoid.com/2010/02/03/basic-stamp-a-quick-guide-on-using-a-legacy-joystick/