190 likes | 324 Views
Embedded Stroke Evaluation System. Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin. Presentation Overview. Project Description Stroke, Occupational Therapy & the Embedded Stroke Evaluation System Hardware Hardware Implementation Graphical User Interface Final System Conclusion.
E N D
Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin
Presentation Overview • Project Description • Stroke, Occupational Therapy & the Embedded Stroke Evaluation System • Hardware • Hardware Implementation • Graphical User Interface • Final System • Conclusion
Project Description • Project Aim: • Develop a system to aid occupational therapists in assessing the severity of stroke suffered by patients in their care • Embedded Stroke Evaluation System: • LCD • 3 Force Sensing Resistors • Serial interface to a PC • Functionality: • The sensors measure the patients resistance to motion • These changing values are visible on the LCD, and are also sent to the PC for further analysis
Stroke • A stroke occurs when the blood supply to a part of the brain is suddenly reduced or cut off, causing the affected area of brain tissue to die • When an individual suffers a stroke, the muscles in their arms can tighten significantly, resulting in reduced mobility
Occupational Therapy • Occupational Therapy is a profession concerned with promoting health and well being through occupation • The aim of receiving Occupational Therapy is to improve everyday function and also to prevent disability • Splints • Support • Protect • Correct
Hardware Implementation Connecting LCD to MPU
Hardware Implementation Programming the Microcontroller - Analogue to Digital Conversion • The ADC uses two SFR’s to store the converted 12-bit digital value, ADCDATAL and ADCDATAH • The most significant eight bits are displayed on the LCD • Least significant four bits of ADCDATAH • Most significant four bits of ADCDATAL
Hardware Implementation Programming the Microcontroller - Serial Communication (UART) • Form of I/O in which the bits of a byte being transferred appear one after the other in a timed sequence on a single wire • UART modes are controlled through the SCON • The timers are controlled using TMOD and TCON
Hardware Implementation Programming the LCD • Initialising the LCD • Register Settings • Control Word Settings • Display Settings • Data Auto Read/Write Settings • Automode • Status Checking • Ensures that LCD is ready to communicate with the MPU
Hardware Implementation Sending Commands to LCD • Commands are stored in a Look up Table • Each instruction has two data bytes • Commands that don’t need the data will it ignore it
Hardware Implementation Sending Data to LCD • Data to be sent will be stored in a Look up Table • MSGDATA sends the data pointed to by the DPTR to the LCD
Hardware Implementation Sending Text to LCD
Graphical User Interface • Allows Occupational Therapist to interact with the system • Displays the incoming data from the microcontroller in real time • Creates a bar graph for each sensor • Analyses the received data and calculates the Minimum, Maximum and Average values recorded by each sensor
Conclusion • The goals outlined for this project have been achieved • Outputs of each sensor are converted to digital values and displayed on the LCD in real time • Data transmitted via the serial port to the VB Application • Graphical User Interface Developed • Performs analysis of the data being received • Displays relevant results clearly to the Occupational Therapist • User Friendly • Allowing Occupational Therapist to focus their attention on the patient, while retrieving important information with minimal effort