170 likes | 349 Views
Control of an RC car via an M68HC11 microcontroller. ECE 345 - Senior Design Project Paul Whitaker and Robert Swanson. Introduction. Why we chose this project Practical applications. Project Block Diagram. Introduction. Why we chose this project Practical applications. Hardware Design.
E N D
Control of an RC car via an M68HC11 microcontroller ECE 345 - Senior Design Project Paul Whitaker and Robert Swanson
Introduction • Why we chose this project • Practical applications
Introduction • Why we chose this project • Practical applications
Hardware Design • Transmitter • Switching circuitry • Keypad with input encoder • GPS equipment
Analog Switch Operation Harris HI-300 CMOS Analog Switch • Output nodes become connected together when the input goes high Pads on remote control unit circuit board Input from Port B of microcontroller
Hardware Design • Transmitter • Switching circuitry • Keypad with input encoder • GPS equipment
Keypad Encoder Operation National Semiconductor MM54C922 16-Key Encoder Outputs to microcontroller Port C Row and column inputs from Grayhill 4x4 Matrix Output Keypad
Hardware Design • Transmitter • Switching circuitry • Keypad with input encoder • GPS equipment
Software Design • Command output • Keypad input • Preset motion sequences • Time delay subroutine
Simplified Software Flowchart Begin loop Directional signal? Send “begin motion” signal YES NO Sequence signal? Execute preset motion sequence YES NO
Project Economics • Parts • Labor
GPS receiver Radioshack Jammer Motorola M68HC11 Total parts cost $268 $39 $199 $506 Parts:
Total person-hours Hourly salary Labor cost Support factor Total labor cost 160 $25 $4,000 2.5 $10,000 Labor:
Project Economics • Parts • Labor • Total cost: $10,506
Project Accomplishments • Used a microcontroller in conjunction with assembly code to control a complex system • Gained experience interpreting component specifications and datasheets • Implemented a matrix-style input keypad
Educational Benefits • Improved our analytical abilities by determining the functionality of undocumented hardware • Developed our leadership and teamwork skills • Gained experience working under project deadlines