300 likes | 375 Views
Senior Project. Steve Dumais & Joe Fisher EER/CPE 199 Saturday March, 6 th 2005. Outline:. What is IntelliSki? Design Goals & Constraints Components & Interfaces Algorithms Results Future Work & Conclusion. What is IntelliSki?.
E N D
Senior Project Steve Dumais & Joe Fisher EER/CPE 199 Saturday March, 6th 2005
Outline: • What is IntelliSki? • Design Goals & Constraints • Components & Interfaces • Algorithms • Results • Future Work & Conclusion
What is IntelliSki? • IntelliSki,is a portable, multifunctional tool used to acquire data that is interesting to the typical skier.
Design Goals • IntelliSki Indicates: • Skier’s current trail name and difficulty. • Altitude • Temperature • Total vertical feet skied • Number of Runs
Constraints • Operational Temperature (0º to 70º F) • Battery Life ( > 12 hours) • Size (Pocket Size) • Weight (< 1 pound) • Retail Cost (< $250)
Who will use IntelliSki? • Beginners • Skiers in poor weather conditions • Avid skiers • Ski Resorts
How will it work? Jiminy Peak
Components: • LCD Display • Programmable Microcontroller • GPS System • Serial Port Interface (future addition) • Temperature Sensor (future addition)
Microcontroller: • Key Factors: • Size • Power Consumption • Operating Temperature • Cost • Selection of Ports
U-Blox SAM-LS GPS Antenna • Key Factors: • Size • Power Consumption • Operating Temperature • Fast Update Rate
LK204-25E • Key Factors: • Size • Operating Temperature • Screen Dimensions
I2C Protocol Master Transmitter Mode
RS232 w/ UART0 • SCON0: UART control Register • Set to Mode 1: • 8-bit UART • Variable Baud Rate
Interface Problems: • I2C • Could not get ACK from LCD • Would not change states • Signal level • RS232 • Incompatible signal levels • UART • GPS antenna was too low level. • Power/pin interface
Prototype Model • Modifications: • Removed Microcontroller • Use 2 RS232 comm ports • Switched to handheld Garmin GPS Device
Algorithm: Start Up Get GPS Data Find Nearest Point Output Run Data Output Trail Data
GPS Data @050217145934N4249221W07352839S015+00148E0000N0000U0000 Latitude: 4249221 -> 42° 49m 22.1s Longitude: 07352839 -> 73° 52m 83.9s Altitude: 00148 -> 148 ft Master[7] = {Lat_Deg, Lat_Min, Lat_Sec, Lon_Deg, Lon_Min, Lon_Sec, Alt}
Algorithm: Start Up Get GPS Data Find Nearest Point Print Run Data Print Trail & Diff.
Finding The Nearest Point: Lat_Min = 32 Lat_Min = 33 Search Lat_Sec Return Found Search Lon_Sec Make Candidate Array Return Closest Match If only 1 match Else
Algorithm: Start Up Get GPS Data Find Nearest Point Print Run Data Print Trail & Diff.
Algorithm: Start Up Get GPS Data Find Nearest Point Print Run Data Print Tail & Diff.
Algorithm: Start Up Get GPS Data Find Nearest Point Print Run Data Print Tail & Diff.
Code: • Executable Code Size = 26.5 kb • 1200 Lines of Code • 216 Data Points • 4 Data Storage Arrays • 1 Search Array
Possible Additions: • Temperature Sensor • Date/Time • Log of trails skied • PC interface • GPS Beacon
Conclusions: • Problems: • Interfacing with microcontroller • Signal levels • Receiving ACK from LCD • Accomplishments: • Fully functional software! • Interpreted and displayed data. • Successful algorithms to parse data and find closest points
Acknowledgements: Thank You: Professor Traver Professor Spinelli Professor Hedrick Professor Spallholz Gene Davison