210 likes | 224 Views
Design and develop a medical monitoring system that integrates wearable sensors, software architectures, Bluetooth, and database functionalities. The system connects and controls various sensors, stores data and user information, and presents sensor data through desktop, Android, and Pebble Smart Watch applications.
E N D
Final Report Project Title: Design and Development of a Continuous Monitoring System based on Wearable Devices Yijie Xiao Page 1
Project Objective Design and Develop a Medical Monitoring System that can: Connect and control various types of sensor Store data and user information Read and present data from sensor Page 2
Project description Keywords: Wearable sensors, Software architectures, Bluetooth, Database , Android 1) Hardware integration 5 types of Wearable sensors 2) Software Design System Architecture Database 3) System Implementation Desktop Application Android Application Pebble Smart Watch Application Page 3
Video Demonstration Page 4
Hardware Integration • Based on Arduino: Easy to develop • Various Types of Sensors • Completed Library and Hardware Connection • Hardware Selection e-Health Sensor Platform V2.0 for Arduino and Raspberry Pi Page 5
Hardware Integration Sensor Description Page 6
Hardware Integration Way of Communication Page 7
Hardware Integration Integration Result Page 8
Software Design Focus part System Architecture Page 9
Software Design • Purpose: • Storage of following information: • User Information • Sensor Status • Read Value and Time Database Design Page 10
System Implementation Desktop Application Serial Connection serialPort = (SerialPort) portId.open("Ardunio", 2000); ArdunioControl reader = new ArdunioControl(); publicvoid serialEvent(SerialPortEvent event) Connection and Query of Database Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection(url,user,password); Statement stmt=con.createStatement(); ResultSet result=stmt.executeQuery(ls); Java GUI Page 11
System Implementation Desktop Application 1)Main Page Page 12
System Implementation • Desktop Application 2)Read and Query Data Page 13
System Implementation 1)Main Page 2)Searching Device 3)Read Data Android Application Page 14
System Implementation Original Plan: Two Slave devices cannot be paired Implementation: Using Android as a bridge for transmission Pebble Smart Watch Page 15
System Implementation Pebble Smart Watch Message format Example: //content of message: “connected” const uint8_t connectedMsg[30]={0x00, 0x1a, 0x0b, 0xB8, 0x01, 0x00,0x09,0x43, 0x6f, 0x6e, 0x6e , 0x65, 0x63, 0x74, 0x65, 0x64 , 0x0d ,0xFF, 0xFF, 0xFF, 0xFF , 0xFF , 0xFF, 0xFF, 0xFF , 0xFF, 0xFF , 0xFF , 0xFF, 0xFF}; Yellow part: These 6 numbers are fixed for every message. Green part: This hex number is the number of the char included in this message. Blue part: The sequence of hex number is obtained by transform the content of the message into hex format. Red part: The rest of the message packet is filled with “0xFF”, in order to reach 30 hex numbers in each message packet. Page 16
System Implementation 1)Function in Android 2) Display on Pebble Pebble Smart watch Page 17
Conclusion 1) Arduino: • Excellent choice for conducting this project. • Completed Library and easy language • Plug and play Feature • Great potential for development of medical system • Low cost • Good extensibility Page 18
Conclusion 2) Bluetooth: • Meet the system requirement • Communication range • Low cost • Convenient for future development • compatibility Page 19
Conclusion 3) Java: • not an appropriate language for serial communication • Input stream reading: • Byte hex • Better to combine with other language such as C. • Good in development of interface and multimedia Page 20
END Gracias! Page 21