Design and Implementation of Sensor Module in Android System
- Author
- ChaWeiJun
- Advisor
- ZhengYouCai , YangZuoZuo
- School
- Xi'an University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TN929.5 Mobile Communications
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 183
- Citations
- 0
Abstract
With the popularity of mobile internet technology, more people start to use smart phones. Among a number of smart phone operating system, Android quickly occupied a large number of markets in a short time by virtue of Google’s technology support and its open source feature. Since sensor system makes the smart phones’ functions more colorful, sensor device has become one of the components essential for smart phones. Android system can support a variety of sensors and most of them are used by applications while some have been used in the Android framework layer.Based on the development and porting of Android sensor module on Qualcomm MSM7227, this paper briefly introduces the architecture of Android system and the developing environment, makes a deep analysis and research on the development of HAL and driver layer of Android sensor module, summarizes the working principle and working flow of sensor module, makes specific design and implementation on data collection, data transmission, the sleep mechanism and control of sensor device, finally implements the driver layer and HAL of Android sensor module on Qualcomm MSM7227developing board.Finally, the driver layer, HAL and application layer of the sensor modules are tested in the test section, the test results show that the functionality and performance of the sensor module have satisfied the design requirement.
Table of contents
Summary 3-4
Abstract 4-5
directory 5-7
first chapter 7-11 <br / > 1.1 subject background and significance 1.2 Status domestic and foreign research 7
7-8
1.3 the main contents 8
1.4 dissertation chapters arranged 8-11
The second chapter describes the relevant technologies 11-21
2.1 Android system framework 11-13
2.2 Linux kernel related Profile 13-16
2.2.1 Linux kernel introduces 13-15
2.2.2 Linux driver introduces 15
2.2.3 Android driver and Linux driver differences 15-16
2.3 Android development environment to build 16-17
2.4 Android build system introduced 17-20
2.5 Summary 20-21
Chapter III analysis and Design nbsp Android sensor module ; 21-37
3.1 sensor module structure analysis 21-22
3.2 sensor driver layer analysis and Design 22-35
3.2.1 memory allocation 25-27
3.2.2 data acquisition 27-29
3.2.3 data transfer 29-32
3.2.4 dormant design 32-35
3.3 sensor HAL analysis and design 35-36
3.4 chapter Summary 36-37 Chapter IV achieve
Android sensor module achieve 4.1 sensor driver layer 37-55
37-50
4.1.1 I2C device drivers loaded 39-40
4.1.2 memory allocation to achieve achieve 40-42
4.1.3 data collection 42-44 <br / > 4.1.4 achieve data transmission 44-45
4.1.5 equipment dormancy achieve 45-46
4.1.6 sensor controller Driver achieve 46-50
4.2 sensor HAL implementation of 50-54
4.3 Summary tests 54-55
Chapter Android sensor module 55 test Environment -61
5.1 sensor module functional test 55
5.2 sensor module performance testing 55-59
5.3 sensor module 59 - 60
5.4 Summary 60-61
Chapter VI Conclusion 61-63
Thanks 63-65
references 65-66
Related dissertations
- Design and Implementation of Bottom-layer Software for Several I2C-based Sensors in Android Operating System
- Android Platform Based Research on Large Scale Face Recognition System
- Study of Rapeseed Field Environmental Information Collection Key Technology Based on WSN
- Wireless Sensor Application-Layer Developed Based on the Android Platform
- The Design and Implement of GPS Module Based on Android
- The Design of Iron Core of Stators Automatic Production Line
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Based on Single Chip Microcomputer Technology Railway Crossing Alarm System Design
- The Design of the Platform for Environmental Monitoring Based on ARM9
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research and Design of Data Acquisition Module for Wind-Solar Hybrid Power Generation System
- The Research of Fall Detection Based on Mobile Terminal
- The Wireless Temperature and Humidity Monitoring System Design
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal