12
Wireless Controller Steven Mays Faculty Advisor: Frank Hludik Start Date: 10/27/09 End Date: May 2010

Wireless Controller Steven Mays Faculty Advisor: Frank Hludik Start Date: 10/27/09 End Date: May 2010

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

Wireless Controller

Steven MaysFaculty Advisor: Frank Hludik

Start Date: 10/27/09End Date: May 2010

Forward/Backward MotionThe vehicle contains two DC motors attached to the rear wheels. I will need to build two h-bridges in order to control these motors, making them turn

one way or the other depending on the inputs.

H-Bridge Circuit

SteeringThe jeep has kingpin steering which uses a pivot point to move the axle right or left. To control this motion I will use another H-bridge to

drive a motor inside a power screw driver. The screwdriver will drive a screw into and out of a nut forcing the axle to pivot back and forth.

Distance MeasuringFor measuring the distance traveled, I will cut equally spaced holes in a disc of a known radius. As the disc turns with the wheels of the jeep, an LED will be shined on a phototransistor on opposite sides of the disc. A counter chip will then be used to count how many holes it passes by to determine the distance the jeep has travelled. One revolution will make the distance travelled equal to the circumference of the disc

(2*pi*r)

Collision DetectionIn order for the jeep to avoid collisions while it is moving, I will include a Passive Infra-red Sensor which can detect changes in radiation from 20 feet away. This device is made to adjust to slow ordinary changes in the environment, while reacting to sudden changes such as

motion. Motion is detected by a high output signal from the sensor, in which case the jeep should stop moving to avoid a collision.

System Diagram

Testing

• Testing will play major role in completing this project on time and must be done often. Since I am working on this project alone it should be easier to test and rebuild certain parts without having to worry about compatibility with other parts being built concurrently. I will unit test each component for functionality and compatibility with the computer and the vehicle. I will be performing integration testing (software/hardware) between all the components to ensure the required functionality, reliability, and efficiency. Finally, I will perform a final system test to ensure all components work and behave as expected.

Project Timeline

ID Task Name Start Finish DurationOct 2009 Nov 2009 Dec 2009

10/4 10/11 10/18 10/25 11/1 11/8 11/15

1 22d10/30/200910/1/2009Define Problem and Solution

2 21d11/30/200911/2/2009Design and Implement Forward/Backward Motion

16d12/21/200911/30/2009Design and Implement Software for Forward/Backward Motion

14d1/7/201012/21/2009Forward/Backward Motion Unit Test

11/22 11/29 12/6 12/13 12/20

4

3

Project TimelineID Task Name Start Finish Duration

Jan 2010 Feb 2010 Mar 2010 Apr 2010

1/3 1/10 1/17 1/24 1/31 2/7 2/14 2/21 2/28 3/7 3/14 3/21 3/28 4/4 4/11 4/18 4/25

1 14d1/20/20101/1/2010Design and Implement Steering System

2 11d1/29/20101/15/2010Design and Implement Steering System Software

3 8d1/29/20101/20/2010Steering Control Unit Test

4 20d2/26/20102/1/2010Distance Measuring

7 23d3/30/20102/26/2010Collision Avoidance

10 8d4/8/20103/30/2010Integration Test

11 7d4/16/20104/8/2010System Test

10d2/26/20102/15/2010Design and Implement Distance Measuring Software

5d2/26/20102/22/2010Distance Measuring Unit Test

5

6

12d3/30/20103/15/2010Design and Implement Collision Avoidance Software

8

7d3/30/20103/22/2010Collision Avoidance Unit Test9

BudgetGeneral Quantity Price Total

PC 1 $300 $300

Jeep 1 $50 $50

USB to digital I/O 1 $50 $50

Router 1 $20 $20

6volt Gel Cell Battery 1 $20 $20

Charger 1 $40 $40

Category 5 Cable 1 $7 $7

Router LAN Antenna 8db Gain 1 $14 $14

USB hub 1 $20 $20

Misc hardware screws, nuts, bolts $15 $15

Misc power wiring 1 $10 $10

Misc electrical connectors 1 $10 $10

Steering

Power Screw Driver 1 $35 $35

Misc hardware 1 $10 $10

Potentiometer 1 $3 $3

Switches 3 $2 $6

H-Bridge 1 $20 $20

USB Cable 1 $5 $5

Rear Wheel Drive

Hbridge 2 $20 $40

Misc Hardware 1 $10 $10

Aluminum Plate Distance Measurement 1 $5 $5

Infared LED and Detector for distance measuring 1 $5 $5

Counter Chip 1 $2 $2

Misc mounting hardware 1 $5 $5

Collision

Infared Ping Device 1 $30 $30

Wire 1 $10 $10

Total $742