Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Show Off Your Open Source Projects (http://www.programmingforums.org/forum52.html)
-   -   Computer Controlled Gun System - 2 (http://www.programmingforums.org/showthread.php?t=14491)

boraciner Nov 17th, 2007 4:15 AM

Computer Controlled Gun System - 2
 
Hi everyone, I finished my new project which can use real rifles .. I updated a video on youtube but in a few days I'll change the rifle with another one then I'll record a new video ...
this is the direct link :
http://www.youtube.com/watch?v=-258uXZMEzg

mrynit Nov 17th, 2007 6:31 AM

Re: Computer Controlled Gun System - 2
 
it looks like a rifle on a wierd looking stand next to a laptop. nothing more. maybe show it doing some thing. you are not really showing anything off. no code, diagrams, explanations.

boraciner Nov 17th, 2007 7:46 AM

Re: Computer Controlled Gun System - 2
 
I'll show everything but it will be finished completely in a few weeks. =)

DaWei Nov 17th, 2007 8:01 AM

Re: Computer Controlled Gun System - 2
 
As I said previously, this is an interesting project. I hope you have instituted a closed-loop system (and plugged the barrel).

Wizard1988 Nov 17th, 2007 11:00 PM

Re: Computer Controlled Gun System - 2
 
I think i have seen something like this. It was a gun system which you could operate through a website where you had to make an account and stuff. It suppository allowed you to hunt animals.

Jabo Nov 18th, 2007 12:00 AM

Re: Computer Controlled Gun System - 2
 
Hunting animals with suppositories? Nasty.

DaWei, when you say closed loop, do you mean like a run once and terminate type thing?

DaWei Nov 18th, 2007 12:21 AM

Re: Computer Controlled Gun System - 2
 
No. Closed loop means you control something by comparing the desired parameter (position, speed, acceleration) against an actual measurement.

Suppose I want to set a motor's speed to 2000 RPM. If the speed is zero, that's a large difference that can be amplified to apply a high voltage to the motor to gain maximum acceleration. As the measured speed approaches the desired speed, this "error" difference is reduced and drive to the motor is correspondingly reduced. In conjunction with appropriate damping, this prevents overshoot and ensures a tightly controlled speed.

The same techniques can be applied to other parameters such as position.

Jabo Nov 18th, 2007 3:26 AM

Re: Computer Controlled Gun System - 2
 
Are servos variable speed?

boraciner Nov 18th, 2007 3:59 AM

Re: Computer Controlled Gun System - 2
 
These DC motors are used with PWM signals which controls the speed of motor with electric pulses.. these signals control the motor like this:

start :
Turn right for 1 unit time
Stop for 4 unit time
goto start

these are not real codes..

boraciner Nov 18th, 2007 4:00 AM

Re: Computer Controlled Gun System - 2
 
Speed of Servo motors for robotic projects cannot be controlled. These are also controlled with pulses but their aim is to position the servo right ,left or bottom..


All times are GMT -5. The time now is 3:29 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC