Upload
dodung
View
221
Download
8
Embed Size (px)
Citation preview
10/16/2016
1
Students: Demetrio Vallejo & Scott James
Class Instructor: Professor Paul I-Hai Lin
Faculty Advisor: Professor Hack
Date: December 7, 2012
Project Outline Introduction
Problem Statement/Solution
System Design
Hardware Design
Software Design
Testing
Lessons Learned
Conclusion
10/16/2016
2
Introduction Gear Shifting display intended for a motorcycle
Problem Statement/Solution Most motorcycles do not have shifting mechanisms
due to the added costs
Aftermarket Shifting Mechanisms expensive around $500 and ours will cost roughly $30
Relatively easy to install
Helpful to racers as they want to make sure that they are in the correct gear while going around a corner.
Helpful to know when your in overdrive gear
Helpful to know what gear your in at a stop light
10/16/2016
3
System Design Seven Segment Display
Brighter
Hall Sensors
Reliable
Microcontroller
Voltage Regulator
System Requirements The prototype will sense the gear
shifting up or down.
The prototype shall count up and down
The prototype shall display the correct gear number that Motorcycle is in
10/16/2016
4
System Requirements (Cont.)
System Architecture
Port C RC0 RC1 RC2 RC3 RC4 RC5 RC6 RC7
Cathodes A B C D E F G N/A
10/16/2016
5
Seven Segment Array
Hardware Design Breadboard Seven Segment Display 22 AWG 200C red and black wire Heat induced cable (heat sink) Magnet (neon ferrite) Pic16F887 (microcontroller) Sensory Type (Unipolar Hall Switch-Low Sensitivity)
10/16/2016
6
Hardware Design (Cont.) Power
‐Positive voltage regulator IC
‐ 12V Motorcycle battery
Hardware Design (Cont.)
10/16/2016
7
Hardware Design (Cont.)
1 2 3 4 5 6
Pin 1: 12V
Pin 2: GND
Pin 3: VCC
Pin 4: UP_SENSOR
Pin 5: DOWN_SENSOR
Terminal Block
12V Battery
Heat Induced Cable
Hall Sensor 1 Hall Sensor 2 +‐
3
6
1,4
2,5, ‐
+
Hardware Design (Cont.)
10/16/2016
8
Hardware Design (Cont.)
Shifting Pedal
Shifting Lever
UpDown
Hardware Design (Cont.)
10/16/2016
9
Hardware Design (Cont.)
Software Design Overview MPLab
- C Programming (C++)
Pic it start Plus-Program
MPLAB ICD 3-Debug
10/16/2016
10
Software Flow Chart
Code
10/16/2016
11
Multisim
Ultiboard
10/16/2016
12
PCB Board
Bottom Top
Finished PCB Board
10/16/2016
13
Testing/Validation Shall display corresponding gear number
Shall pass all shock tests
Shall pass all temperature tests
Shall be water resistance
Sensors mounted so they do not fall off.
Display shall be legible even in direct sunlight
Hall sensor shall be strong enough to detect shifts
Cost per Unit
Part Value Quantity Price (per unit) Total Price
R1 10 to 220 Ω ½W 1 $0.09 $0.09
R2, R3 10 ΚΩ ¼W 2 $0.13 $0.26
C1 220 μF / 35V / Electrolytic capacitor 1 $0.45 $0.45
C2 100 nF / polyester capacitor 1 $0.52 $0.52
MCU PIC16F887 1 $2.80 $2.80
IC1, IC2 Hall sensor 2 $0.71 $1.43
IC3 7805 5V Regulator TO‐220 1 $0.55 $0.55
RED 7 Segment Display " 1 $1.08 $1.08
Wire 22 AWG 200 °C Black wire 6ft $0.11 $0.66
Magnet Neon Ferrite 1 $1.87 $1.87
Total $9.82
10/16/2016
14
Given ItemsNames Quantity Price Total
Motorcycle 1 $22,000 $22,000
MPLAB ICD 3 1 $200.00 $200.00
PICIT START PLUS 1 $200.00 $200.00
MPLAB Software 1 $200.00 $200.00
IPFW Computer 1 $400.00 $400.00
Manufacturer of Board 3 weeks $40.00 $40.00
Paper Usage 1 $40.00 $40.00
Total Cost $23,080.00
Lessons Learned Time Management
School Work Board Real life
Resources Mercy Outside help (AVR Code)
Hardware AVR Code Microprocessor Hall Sensor ATV
Flexibility Difficult to work with multiple people’s schedules
10/16/2016
15
Conclusion Project was successful
Completed our main goals
Affordable
Demo
Installation
Demo
10/16/2016
16
Questions?