8/3/2019 Auto Target System
1/9
Automatic Target System Welcome The Automatic Target System (ATS) is a senior project for ME 102 at the
University of California Berkeley. This project is a prototype rotational gunsystem that can locate and shoot at a target designated with a laser.
-Group 4 members-
Kai W. Tsai, Yuan-Tse Lo, and Tony Yang
8/3/2019 Auto Target System
2/9
Group Members
Group members from Left to Right Yuan- Tse Lo Kai W Tsai
Email: [email protected] Email:[email protected]
Tony Yang:Email: [email protected]
8/3/2019 Auto Target System
3/9
Circuitry
we connect the motor to the h-bridge, so that we are able to change the
speed and the direction of the motor, last we connect the signal to the
controller.
8/3/2019 Auto Target System
4/9
Mechanical Hardware
Bill of Materials: Arduino Duemilanove x1
Circuit broad x1
Transistor x1
H bridge x1 OpAmp (74LS14) x1
DC motor (gear ratio: 133:1) x1
Electric BB gun x1
Target x1 Photoresistor x2
9V Battery x2
8/3/2019 Auto Target System
5/9
Mechanical Hardware The electric motor inside the gun is linked to the power supply. After the system starts running, the DC motor with gear box gear ration will begin
to rotate. This gear ratio was chosen because it rotates very slowly so that be able
to detect the light source.
Once the photoresistor detects the light source, it will show a resistance drop,
which will open the transistor gate to supply voltage to the motor inside the BB
gun, which can then fire at the target.
8/3/2019 Auto Target System
6/9
Method and Purpose
The goal of the ATS (Automatic Target System) project is to design a machinecapable of rotating 360 and launching a BB at a target.
1. ATS detects the light source on the target via the photoresistor located on the
device.
2. Motor on the ATS base will rotate to align with the target
3. The spring releases to shoot a BB at the target
8/3/2019 Auto Target System
7/9
Multimedia & Future Development
This is the Automatic Target System in action. In the future we would like
to further develop the device into a two dimensional system that is
capable of adjusting to both horizontal and vertical location of the target.
8/3/2019 Auto Target System
8/9
Software int PotVal;
int swch=LOW;
intPWMpin = 6;intDirPin = 4;int fire= 11;
int Direction;intval;
void setup(){Serial.begin(9600);pinMode(PWMpin,OUTPUT);pinMode(DirPin,OUTPUT);pinMode(fire,OUTPUT);
}
void loop(){PotVal= 500; //val=map(PotVal,0,1024,0,255);digitalWrite(DirPin,HIGH);analogWrite(PWMpin,val);Serial.println(analogRead(5));Serial.println(analogRead(4));if (analogRead(5)
8/3/2019 Auto Target System
9/9
ME102 Group 4 presentation
Thank you very
much
Top Related