RobotBox is a community for robot builders to show off their projects. Add yours today.
Robotic Airsoft Gun
This is a project that I have be working on/off for the past 2 years. It is a robotic airsoft gun. It is* capable of detecting objects via webcam and aiming toward the object and firing. Currently, the image processing software is done by using MatLab's Image Processing Toolbox. Motor control is by a Basic Stamp 2 connected to a computer. Movement is from two servo motors connected to gears with a ratio of 5 to 1. It can either be controlled remotely via GUI or set to autonomous mode where it can acquire the specified target on its own.
New development will include the use of OpenCV, an image processing library, and C++. I am currently researching (when I have time) to send commands via serial port to the basic stamp. The image processing using OpenCV can easily be done. I am having trouble communicating with the basic stamp with C++. If you can offer advice or guidance, it would be greatly appreciated.
I can be contacted at FredrickSoria@gmail.com
Thanks for viewing.
-Fredrick Soria
**update: the aifsoft gun that is currently in the pictures has broke. It has been replaced by a smaller, yet still powerful gun. Additionally, there is less stress on the gears because of this. Finaly, a video will be posted soon or you can search YouTube user = teknician1
- power is from a wall wart and from the usb
- microcontroller = basic stamp 2
- motors = 2 rc servos (hitek, i think), and gears
- sensors = webcam for image processing and feedback, laser pointer
- etc ... wires and electric tape? lol
Recent comments
- My MacBook is currently out
2 days 6 hours ago - cool project! Have you made
2 days 7 hours ago - HI!
2 days 7 hours ago - HI!
2 days 7 hours ago - HI
2 days 7 hours ago - HI!
2 days 7 hours ago - For the final object to look
1 week 1 day ago - Thanks for info. Looking
4 weeks 5 days ago - Looks great! What software
5 weeks 13 hours ago - Hi wak,
It's nice to know
5 weeks 5 days ago




Comments
You might also consider using
You might also consider using RobotSee from Eric Gregori at EMG Robotics
http://www.emgrobotics.com/
He's a senior engineer for FreeScale and has developed his own robot control language that's half C half Basic and includes the vision system he developed over seven years of work with computer vision. There are some prety sweet video demos on his site. Nice fellow too, I had the pleasure of meeting him at two different events in Schaumburg, Ill. Anyway, he has this all available for free for Windows, and he's working now on porting it to firmware for FreeScale. Damn sweet stuff.
Fredrick, have you tried
Fredrick, have you tried playing around with Roborealm? It's a neat piece of software for doing vision processing. But, since you seem to already be pretty advanced, it might not be powerful enough for you.
contact info...