Author Topic: robot airsoft  (Read 15838 times)

0 Members and 1 Guest are viewing this topic.

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
robot airsoft
« on: January 02, 2008, 07:09:49 PM »
Im making a robotic airsoft gun for a school project and was wondering what the best sensors would be?

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: robot airsoft
« Reply #1 on: January 02, 2008, 07:17:03 PM »
what are you going to be shooting at?
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline cooldog

  • Supreme Robot
  • *****
  • Posts: 751
  • Helpful? 4
  • be nice to nerds, one day they will be your boss
Re: robot airsoft
« Reply #2 on: January 02, 2008, 07:25:58 PM »
depends on the range

sort distance
sharp IR

long distance
motion sensor

robot will rule the world and i will be building them
-admin

favorite web sites
http://www.societyofrobots.com/
http://www.instructables.com/

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: robot airsoft
« Reply #3 on: January 02, 2008, 07:39:00 PM »
depends on the range

sort distance
sharp IR

long distance
motion sensor



Im guessing he'll be shooting at certain targets he picks , and not shooting at the closest object :D

So you'll need image processing

You need it automated or are you controlling it
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: robot airsoft
« Reply #4 on: January 02, 2008, 08:16:12 PM »
if he's shooting people then he just needs infared sensors
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: robot airsoft
« Reply #5 on: January 02, 2008, 08:17:54 PM »
if he's shooting people then he just needs infared sensors

LOL

im pretty sure its not gonna shoot every person... or is it  :D

please the609blues , more details
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline GUmeR

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: robot airsoft
« Reply #6 on: January 04, 2008, 08:06:27 AM »
Stationary video camera and motion detection algorithm. Shoot at everything that moves! Till it stops!! Wohah!!
No Alien will pass through!!!

Stationary, because if it would rotate with gun, you would have to disable algorithm for rotating time. Also shooting vibration could trigger motion detection.

Of course you will have to calibrate whole system. So gun shoots were motion is detected. You can attach laser pointer to the gun and detect it via video input.

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #7 on: January 04, 2008, 09:45:43 PM »
I was planning on putting a target on top of a rc remote car at about 10-15 feet away and have it follow and shoot it. i was thinking pir sensors.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: robot airsoft
« Reply #8 on: January 05, 2008, 07:05:11 PM »
Follow a target????


So you should probably have the target emit IR light and have an IR camera target it

OR just have a regular camera target the target ( if its painted red or something)
« Last Edit: January 06, 2008, 06:57:08 AM by airman00 »
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline GUmeR

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: robot airsoft
« Reply #9 on: January 06, 2008, 06:51:55 AM »
I want to make sure about one thing. Will this gun be controlled by a PC computer?

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #10 on: January 06, 2008, 06:08:23 PM »
I want to make sure about one thing. Will this gun be controlled by a PC computer?
i want it to be autonomous

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: robot airsoft
« Reply #11 on: January 06, 2008, 06:13:37 PM »
define the autonomous functions:

track a red target and shoot


AND

what is your experience w/ robotics and what is your budget
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: robot airsoft
« Reply #12 on: January 06, 2008, 06:19:43 PM »
I want to make sure about one thing. Will this gun be controlled by a PC computer?
i want it to be autonomous
autonomous yes, but computer controlled or mcu controlled
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #13 on: January 06, 2008, 08:00:41 PM »
What I really want to do is use motion sensors to track a moving object and shoot it.I dont really have a budget but nothing ridiculously high priced. I have built robots before but never have done the proggraming my brother has though. I just need to know what sensors to use or how to link it to a camera.

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: robot airsoft
« Reply #14 on: January 06, 2008, 08:46:51 PM »
IR leds on target and roborealm+webcam for robot
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline SomeSaba

  • Full Member
  • ***
  • Posts: 75
  • Helpful? 0
Re: robot airsoft
« Reply #15 on: January 06, 2008, 11:36:45 PM »
I dont wanna sound like your mom here, but taking a gun to school no matter what kind (airsoft or not) will get u in deep trouble, do your teachers know u are doing this as your project?

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: robot airsoft
« Reply #16 on: January 07, 2008, 05:34:58 AM »
IR leds on target and roborealm+webcam for robot

Or even easier :

red ( or maybe a specific color pattern) target with roborealm and webcam


Please post pics and documentation when you are done, this sounds pretty interesting
\Also how are you going to pull the trigger? A servo or solenoid perhaps?
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #17 on: January 08, 2008, 05:31:18 PM »
i think i will do that and for the trigger im going to use an electronic airsoftgun take the trigger off and use a leaf switch and a servo will hit it but if you have a better idea feel free to post it.

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: robot airsoft
« Reply #18 on: January 08, 2008, 06:11:06 PM »
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline GUmeR

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: robot airsoft
« Reply #19 on: January 09, 2008, 09:37:11 AM »
What for? Trigger in Air Electric Gun just closes (shorts?) 12V Circuit from battery to DC engine. Just put 12V to gearbox and it will shoot. I would recommend using electric relay.
« Last Edit: January 09, 2008, 09:40:14 AM by GUmeR »

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #20 on: January 11, 2008, 07:25:28 PM »
does anyone have an idea for the movement of the gun im planning on having the gun stationary so i need it to pan and tilt.

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: robot airsoft
« Reply #21 on: January 11, 2008, 08:57:59 PM »
y dont u use servos....never used em myself but heard theyre good....have two so one goes up and down and one goes left 2 right... ;D
Howdy

Offline maverick monk

  • Robot Overlord
  • ****
  • Posts: 204
  • Helpful? 0
Re: robot airsoft
« Reply #22 on: January 12, 2008, 11:08:58 AM »
automated automatic airsoft turet how-to, with IR
http://unconventional-airsoft.com/2003/11/16/an-automated-motion-sensing-airsoft-gun-turret/

not a full how to, but an idea

Offline SmAsH

  • Supreme Robot
  • *****
  • Posts: 3,959
  • Helpful? 75
  • SoR's Locale Electronics Nut.
Re: robot airsoft
« Reply #23 on: January 13, 2008, 04:30:37 AM »
haha yea that does look extremely good for a sensor gun..but have a look at admins robots they track stuff. or maybe ask her to help you or tell you how to rig up the circuit that she used in the red tracking robot..
Howdy

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #24 on: January 13, 2008, 10:46:13 AM »
After getting many suggestions on it i have decided to use pir sensors and using 1 servo to move it left and right(no up /down) im still not sure on the trigger but i dont need help on that. I do Have a couple of questions though.

1. How high powered of a servo will I need to turn the gun or how can i find  out.
2.since Im going to use pir sensors can i program them like the photovore ( If pirleft detects heat and pir right does not then turn left)?
3. If I can use the photovore type algorithm can i do if pir left and pir right = then shoot)
4.Will I need a servo controller
lastly do the pir sensors need to rest for thirty seconds or is this just something i heard.

If any one can answer these questions or help with my design its greatly appreciated.

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: robot airsoft
« Reply #25 on: January 13, 2008, 12:27:12 PM »
After getting many suggestions on it i have decided to use pir sensors and using 1 servo to move it left and right(no up /down) im still not sure on the trigger but i dont need help on that. I do Have a couple of questions though.

1. How high powered of a servo will I need to turn the gun or how can i find  out.
2.since Im going to use pir sensors can i program them like the photovore ( If pirleft detects heat and pir right does not then turn left)?
3. If I can use the photovore type algorithm can i do if pir left and pir right = then shoot)
4.Will I need a servo controller
lastly do the pir sensors need to rest for thirty seconds or is this just something i heard.

If any one can answer these questions or help with my design its greatly appreciated.

1. Find the weight of the gun

2. the photovore idea i do not think will work very well( i may be wrong)   , you want something like this to track people http://www.robotshop.ca/home/suppliers/devantech-en/devantech-8-pixel-thermal-array-sensor.html
3. you can do it, but its not going to work well
4. No , just use a  microcontroller and have it give a pulse to the servo

Why use PIR?  Why not camera ? 
also, I believe that the PIR sensor uses special lenses inside, so you could change the lenses to change the width of the "view" of the PIR sensor.

Try the accuracy of the PIR sensor and try the tracking area out. The photovore idea may work! If it does I want to see some documenting, I might use the same design.  ;)
« Last Edit: January 13, 2008, 12:28:33 PM by airman00 »
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #26 on: January 13, 2008, 12:48:08 PM »
how would i do a camera without using roborealm

Offline GUmeR

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: robot airsoft
« Reply #27 on: January 13, 2008, 01:22:56 PM »
1. One strong (expensive) servo. Well mounted gun, so center of mass is on rotation axis. For 500g-1000g gun should work, but it’s more a guess, than calculation.

2. I very much doubt that any kind of ranged heat detection will work (other than professional thermal camera). In link it says it "can detect a candle flame at a range 2 meters (6ft) - unaffected by ambient light". Candle flame has tamp. is over 1600 Kelvin (1327 C). Human has 309 Kelvin (36 C). Background temp. in room is 293 Kelvin (20 C). Candle flame is small and hot on cold background. Human is quite big (compared to candle flame) and just little warmer than background.

If someone DID use IR to detect heat, please list exact sensor, link to documentation, price and effects.

I would suggest to mount IR transmitter on target, and 3-4 IR detectors on gun, separated by tiny walls.

3. If sensor 1 detects IR signal, rotate left fast, If sensor 2, rotate left slowly, If 2-3 sensors detect IR at same time, but 1 and 4 not, then shoot.

4. You can use one microcontroller for detection and controlling servo.

I suggest you first build sensors, write program and test it. Leave gun, trigger, power, servos for now. These problems are easy solvable. Sensors will be the most difficult and time consuming part.

You can program video processing by yourself on PC. I advise not to try use video processing on microcontroller. It's possible, but very very difficult.

If you want to use camera (IMHO best but most complicated sensor), connect whole gun to PC, and use some ready libraries (e.g. robotrealm).

Offline the609bluesTopic starter

  • Jr. Member
  • **
  • Posts: 20
  • Helpful? 0
Re: robot airsoft
« Reply #28 on: January 13, 2008, 04:26:21 PM »
So pir sensors are out what else could i use but i have to do a presentation and there will be no computer present

Offline GUmeR

  • Jr. Member
  • **
  • Posts: 24
  • Helpful? 0
Re: robot airsoft
« Reply #29 on: January 13, 2008, 04:56:29 PM »
I might be wrong. Don't discard this idea because opinion of only one person. Search for PIR robotic project on the net, post link if you find something interesting :) I would be very interested, if motion/heat/human detection could be done in this cheap and easy way. If many people suggested it, maybe they have some useful links. If not you can still try it by yourself.

I would like to stress out that I did NOT tested PIRs by myself.

I apologize for this misunderstanding.
« Last Edit: January 13, 2008, 05:11:49 PM by GUmeR »

 


data_list