Wifi enabled robot
noobmuncher
Posts: 124
Hello,
I am a first year university student who has a few years of experience now building autonomous robots and the likes. However I need expertise on a new project of mine. I am building a droid for a "safe walk" security volunteer program I am a part of. It would basically just allow us to patrol areas without actually leaving the room unless needed. I need to be able to control it wirelessly and recieve live video feed. For the video I plan to use a IP wireless network camera because the campus is coated in wireless internet, but for the robot controls i need assistance. Originally I had planned on using a 2.4 full spectrum r/c radio which i have been told a decent one can cover a quarter mile, which SHOULD be enough. Then I started thinking though, is their a easy, yet somewhat affordable way of controlling the BS2 through wifi? This would allow it to go as far as the networks allow it and would be great for inside the school buildings.
My research has brought me to this
http://www.sparkfun.com/commerce/product_info.php?products_id=9290
but how hard will that be to use? I can't exactly go around setting up routers, i need it to find the networks that aren't password protected (the entire school) and connect to them.
Any input on this matter would be greatly appreciated!
I am a first year university student who has a few years of experience now building autonomous robots and the likes. However I need expertise on a new project of mine. I am building a droid for a "safe walk" security volunteer program I am a part of. It would basically just allow us to patrol areas without actually leaving the room unless needed. I need to be able to control it wirelessly and recieve live video feed. For the video I plan to use a IP wireless network camera because the campus is coated in wireless internet, but for the robot controls i need assistance. Originally I had planned on using a 2.4 full spectrum r/c radio which i have been told a decent one can cover a quarter mile, which SHOULD be enough. Then I started thinking though, is their a easy, yet somewhat affordable way of controlling the BS2 through wifi? This would allow it to go as far as the networks allow it and would be great for inside the school buildings.
My research has brought me to this
http://www.sparkfun.com/commerce/product_info.php?products_id=9290
but how hard will that be to use? I can't exactly go around setting up routers, i need it to find the networks that aren't password protected (the entire school) and connect to them.
Any input on this matter would be greatly appreciated!
Comments
http://www.onhop.ca/Product/10197504?f=Shopbot
You could use either a nano-ITX board (kinda expensive but worth it to save bulk and power) or an old laptop as the
"brain" to your robot.
This would give you a simple windows/linux setup that'll give you all the functionality you'd like easily.
Heck, for the price of the two parts you've mentioned you can get a decent laptop on ebay.
You could hook up a $15 USB webcam and IM your 'bot to see it... then use either some VB, C, java, linux script, whatever
language your comfortable with, and control the robot with that.
For the physical side of the robot, just leave a BS2/SX/Prop connected to the serial or USB port to interface the outside
world.
Heck, you could even make it a web interface that you can control/view from anywhere on the planet [noparse];)[/noparse]
If you need info on how to set this up, I'd be glad to help.
Thanks for the help, if others have alternative ideas or can contribute to the above please do so.
I've successfully used an Axis 213-PTZ with a linksys bridge to go wireless, and used the serial port to connect to a propeller. There is no reason you couldn't do the same with a Stamp.
I thought about going the PC route, but I wanted the PTZ (Pan Tilt Zoom) of the camera, and coudn't find a web cam with similar optics.
That particular camera (the 213) also does Infra Red, and can "automagically" switch from visible to I/R. Slick camera, but not cheap.
I've only see the serial port available in the relatively high end IP cameras, both "fixed" and "PTZ". In addition to Axis, I know that some of the Sony cameras have the serial port.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John R.
Click here to see my Nomad Build Log
Here's what I'd do:
I'd get a friend (or pay someone, it should be cheap since its easy) to make a simple command-line serial out interface that the
stamp can understand (correct baud rate and such).
The command should be able to send strings of data (text) over the serial/usb port to the stamp from the DOS/console command line.
Example:
senddata "turn cam left 5"
This should be a fairly simple program to write (I'd do it for you but I haven't written anything in C in like 8 years and my books aren't
handy) and has the benefit of being scriptable in batch files.
In the very least, you can VNC into your laptop/nano-itx and execute commands from the command line. This should get you going
enough to have a test platform to get your robot working. You can make something more functional (mouse interface, feedback, ect) later
once you have more programming experience or you find someone to help you out.
As for the web interface, you need to find either a prepackaged program to do something like that, or you need to learn a programming
language. This is outside of my experience range (other than actually putting the webcam on a webpage) so I can't give you advice there.
Thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My website www.quigleyelectronics.com/
Just be careful when doing any thing that might use a lot of computer power. I was using it for machine vision, and it kept crashing on every computer i tried it on. Hopefully they fixed it, or that would be a stupid way to spend 90$
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My website www.quigleyelectronics.com/
http://www.smarthome.com/insteon/cameras.html