Design and Realization of a Safety System Based on ARM and Bluetooth

Author
ZengJian
Advisor
WangLing
School
Hunan University
Major
Circuits and Systems
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2007
Downloads
589
Citations
5

Request the full text

Abstract

With the improvement of people's material and cultural living standards and the rapid development of science and technology, smart home has become a trend. Smart home system uses sensor technology, computer technology and information transfer and processing technology, to give users a full range of services, remote monitoring and real-time management within the housing. The security system is an important part of the smart home. Traditional security systems are based on single-chip design to achieve, it is difficult to meet the modern home network appliances function, designed and implemented a security system based on ARM and Bluetooth address these issues. (1) in-depth study of the situation and development trend of video surveillance security systems, analyzing the advantages and disadvantages of the embedded Linux operating system and select the kernel version Linux2.6 reasons, and pointed out that the purpose and significance of the topics of research. (2) from the two aspects of the network topology and several important agreements on smart home technology - Bluetooth. (3) According to the functional requirements of the smart home, the design of an intelligent home security systems, discusses the theory and performance of the ARM9 embedded microprocessor S3C2410 elaborate security systems NANDFLASH module, SDRAM modules, RS232 serial port module Ethernet module, USB, USB Bluetooth, USB camera composition principle, and design and implementation. (4) In accordance with the needs of the system software environment to build embedded Linux system software platform, and discusses the establishment of a cross-compiler environment and NFS development and debugging environment boot program VIVI transplant S3C2410 transplant embedded Linux operating system (kernel version 2.6.14), elaborated system device driver transplantation (NAND FLASH, USB, USB camera, USB Bluetooth), the use of the file system, and the implementation process under Linux Bluetooth wireless communication. (5) structures embedded Linux system software platform, discusses a method under Windows XP remote login to the Linux operating system, elaborated under Linux the V4L programming to intercept the camera images SOCKET programming will intercept to the indoor PC, transferring the image to the remote monitoring computer logged on to this on a PC using IE browser to achieve on-site environmental monitoring. (6) combined experimental test environment and test data, the video surveillance system performance testing and analysis of the test results and the improvement measures for the problems. Security systems laboratory tests show that the system can detect the intrusion of the lawless well, and to inform the user through remote video surveillance system is stable, to achieve the desired design objectives.

Table of contents

Abstract 5-6 Abstract 6-11 Chapter 1 Introduction 11-16 1.1 video surveillance security systems at home and abroad in the development 11 1.2 video surveillance security system development direction 11-12 1.3 Select Linux2.6 reasons 12-13 1.4 topics of significance 13-14 1.5 The main work of this topic 14-16 Chapter 2 Bluetooth technology 16-22 2.1 Bluetooth network topology 16-17 2.2 build Bluetooth-based wireless LAN 17-18 2.3 Bluetooth protocol analysis 18-21 2.3.1 Bluetooth protocol stack consisting 18-19 2.3.2 baseband protocol 19 2.3.3 Link Management Protocol (LMP) 19 2.3.4 Logical Link Control and Adaptation Protocol (L2CAP) 19-20 2.3.5 Service Discovery Protocol (SDP) 20 2.3.6 Host Controller Interface (HCI) 20 2.3.7 cable replacement protocol (RFCOMM) 20 2.3.8 Network Encapsulation Protocol (BNEP) 20-21 2.4 Chapter Summary 21-22 Chapter 3 smart home security system design 22-33 3.1 smart home security system design 22-24 3.2 hardware design 24-25 3.3 hardware resources 25-31 3.3.1 ARM microprocessor 25-27 3.3.1.1 S3C2410 microprocessor 26 3.3.1.2 system address space allocation 26-27 3.3.2 NAND FLASH unit 27 3.3.3 SDRAM unit 27-29 3.3.4 RS232 serial unit 29-30 3.3.5 Ethernet unit 30-31 3.3.6 USB unit 31 3.4 external expansion modules 31-32 3.4.1 USB Bluetooth module 31 3.4.2 USB camera module 31-32 3.5 Chapter Summary 32-33 Chapter 4 Embedded System Software Platform 33-50 4.1 Linux development environment and development tools 33-35 4.1.1 build cross-compiler environment 33-34 4.1.2 NFS development and debugging environment 34-35 4.2 Embedded System Software Platform 35-38 4.2.1 bootloader bootloader 35-36 4.2.2 Linux kernel 36 4.2.3 build in flash file system on 36-38 4.2.3.1 CRAMFS file system 36-37 4.2.3.2 JFFS2 file system 37-38 4.3 Linux2.6.14 transplant and cut 38-40 4.3.1 Linux2.6.14 kernel porting 38 4.3.2 Linux2.6.14 kernels cut 38-40 4.4 VIVI transplant 40-41 4.5 Linux devices and their drivers 41-43 4.5.1 Linux under the classification of equipment 41-42 4.5.2 important data structure 42-43 4.5.2.1 file_operations 42-43 4.5.2.2 file structure 43 4.5.2.3 inode structure 43 4.6 several device drivers transplant 43-48 4.6.1 NAND FLASH drive 44-46 4.6.2 USB drive 46-47 4.6.3 USB camera 47 4.6.4 USB Bluetooth 47-48 4.6.4.1 USB Bluetooth driver 47-48 4.6.4.2 Bluetooth wireless communication realization process 48 4.7 Chapter Summary 48-50 Chapter 5 security systems video surveillance software design 50-57 5.1 Linux telnet implementation 50-51 5.1.1 intranet and extranet 50 5.1.2 Linux telnet implementation 50-51 5.2 V4L programming for image 51-53 5.2.1 V4L programming 52 5.2.2 V4L programming software designed for image 52-53 5.3 SOCKET programming transfer pictures 53-56 5.3.1 SOCKET socket 53 5.3.2 SOCKET programming software design 53-56 5.4 Chapter Summary 56-57 Chapter 6 System testing and analysis 57-61 6.1 test environment 57 6.2 test content 57-59 6.3 test results 59-61 6.3.1 Test Results 59-60 6.3.2 causes problems and their solutions 60-61 Summary and Outlook 61-63 References 63-66 Thanks 66-67 Appendix A (master's degree papers published during) 67-68 Appendix B (period of study for a degree to participate in research projects) 68-69 Appendix C (hardware chart) 69-70 Annex D (part of the program source code) 70-76

Related dissertations

  1. The Design and Implementation of Android Smart Home Control System
  2. Research and Design of Smart Home System Based on Embedded Web Server and Zigbee
    LiLe ·Hunan University ·2011 ·Master's thesis
  3. Research and Implementation of Embedded System in Intelligent Household
    LiNa ·Dalian Maritime University ·2012 ·Master's thesis
  4. The Design of the Smart Home Control Center Based on S3C2440
    GaoRong ·Suzhou University ·2012 ·Master's thesis
  5. CAN Bus Analysis and Application Programming
    TangJinHai ·Inner Mongolia University ·2013 ·Master's thesis
  6. Research and Design of Bluetooth-based Smart Home Controller
    YangChangLong ·Beijing University of Technology ·2013 ·Master's thesis
  7. Design of Smart Home System Based on the S3C2440
    HuLongYing ·Jiangxi Agricultural University, ·2012 ·Master's thesis
  8. Research and Implement of Smart Home Networking System Based Linux
    DingDuNan ·Guangdong University of Technology ·2008 ·Master's thesis
  9. The Design and Implementation of Smart Home Security System
    HanXiuFeng ·Dalian University of Technology ·2009 ·Master's thesis
  10. The Design and Implementation of Wireless Indoor Monitoring Alarm System Based on ARM9
  11. Smart Home Monitoring System Based on Ni Wireless Sensor Network
    LuZuoChao ·Zhejiang Normal University ·2013 ·Master's thesis
  12. On Design of Security System in Bank
    FuZhongCai ·Zhejiang University of Technology ·2013 ·Master's thesis
  13. Design of Intelligent Household Security and Alarm System Based on ARM9
    XuLiLi ·University of North ·2014 ·Master's thesis
  14. The Design of the Platform for Environmental Monitoring Based on ARM9
    WangChuanMiao ·Hunan University ·2012 ·Master's thesis
  15. Research and Implementation of Meteorological Monitoring System Based on ARM9
  16. Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
  17. Embedded Network Monitoring System Based on ZIGBEE
  18. Research on Smart Home System Based on Zigbee
  19. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  20. The Embedded Smart Home System Based on QT and GSM
    WuTong ·Hebei University of Technology ·2012 ·Master's thesis