SlideShare a Scribd company logo
1 of 18
Network Video Capture and Short Message
Service System Based on Embedded Linux




                      NAME:KATTA RAVI
                                          .
Introduction
 By using camera, video will be captured and the data
  will be sent to embedded web server.

 The video is monitored through web browser and an
 alarm will be raised through SMS using GSM
 network in video surveillance systems.
Applications:
    intelligent anti-theft


    intelligent home


    medical treatment
Hardware and Software
      USB camera module
         Mini2440 development board
         S3C2440A with ARM920t core
         Ethernet interface
         GSM module
         256mb NAND Flash
         Operating system on PC: - Ubuntu 10.04
         Operating system on target board:
               - Qtopia with Linux kernel 2.6.32
         Video 4 Linux
         Arm-Linux-GCC-4.4.3
Block Diagram:

ARM 920T features
    32-bit ARM and 16-bit Thumb instruction set
    Harvard Architecture
    5-stage pipelining
    16kb-Data cache and 16-kb-instruction cache
    32-bit registers
    MMU support
Linux Application System structure:
      o    The application system structure of Linux includes
      applications, kernel, drivers, root file system, interface and
      network protocols.
Linux Application System structure:
     o Create a cross-compiler environment:
         -Install the UBUNTU 10.04 development platform on the PC,
       and use cross compiler arm-Linux-gcc-4.4.3 to compile Linux-
       2.6.32 kernel.
     o Boot Loader(U-BOOT&vivi):
         -When system starts, the starting 4K bytes of code in Nand
       Flash is loaded into the SRAM.
     o Driver transplantation
         - There are two driver models
                       direct compile
                       loading driver file
Compiling the Kernel
   o compile the kernel into the linux-2.6.12 directory
   o Type make menuconfig
           1. Choose Multimedia devices --->
           <*>Video For Linux, load Video For Linux Module
            2. Choose USB support --->
            <*>Support for Host-side USB
            --USB Host Controller Drivers
         <*>OHCI Host HCD support
         3. Choose USB Multimedia devices --->
         <*>USB SPCA5XX Sunplus/Vimicro/Sonix jpeg
              Cameras
            4. Make; make zImage
            5. Save settings, and then exit.
Video capture based on V4L
 Video 4 Linux provides a range of programming and data interface
  functions for a variety of devices in Linux.

 Equipment can be opened, captured, read and turned off by calling
  these functions. When an application operates the device file, Linux
  kernel will access interface functions provided by the driver program
  through the file_operations structure.
Flow chart of V4L video capture
o open the video device file
        video_fd=open(“/dev/video 0”,O_RDWR)

o We can obtain the image frame buffer information by calling the
  video_vm().
       ioctl(video_fd,VIDIOCGMBUF,&video_vm)
o Equipment information by calling video_capability()
       ioctl(video_fd,VIDIOCGCAP,&video_capability )
o image attributes by calling video_picture()
     ioctl (video_fd ,VIDIOCGPICT,&video_picture )
SMS service block diagram
Short message Service
Result

References
 Dongshan Wei. Embedded Linux application development manual [M]. Beijing: People's
  Posts & Telecom Press, 2008.

 Qiong Sun. Embedded Linux application development [M]. Beijing: People’s Posts
  &Telecom Press, 2006.

 http://www.friendlyarm.net
THANK YOU

More Related Content

What's hot

20170626 imx6 quad_vs_apq8016
20170626 imx6 quad_vs_apq801620170626 imx6 quad_vs_apq8016
20170626 imx6 quad_vs_apq8016Advantech
 
20170626 rsb4760 introduction
20170626 rsb4760 introduction20170626 rsb4760 introduction
20170626 rsb4760 introductionAdvantech
 
Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)k33a
 
Fast Boot Times with InsydeH2O
Fast Boot Times with InsydeH2OFast Boot Times with InsydeH2O
Fast Boot Times with InsydeH2Oinsydesoftware
 
Show Version Command on a Router
Show Version Command on a RouterShow Version Command on a Router
Show Version Command on a RouterYaser Rahmati
 

What's hot (7)

20170626 imx6 quad_vs_apq8016
20170626 imx6 quad_vs_apq801620170626 imx6 quad_vs_apq8016
20170626 imx6 quad_vs_apq8016
 
20170626 rsb4760 introduction
20170626 rsb4760 introduction20170626 rsb4760 introduction
20170626 rsb4760 introduction
 
Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)Unified Extensible Firmware Interface (UEFI)
Unified Extensible Firmware Interface (UEFI)
 
Fast Boot Times with InsydeH2O
Fast Boot Times with InsydeH2OFast Boot Times with InsydeH2O
Fast Boot Times with InsydeH2O
 
Show Version Command on a Router
Show Version Command on a RouterShow Version Command on a Router
Show Version Command on a Router
 
Flv for H.264
Flv for H.264Flv for H.264
Flv for H.264
 
Md088 k
Md088 kMd088 k
Md088 k
 

Viewers also liked

Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014
Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014
Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014Silviya Dineva
 
Using LinkedIn to Grow Businesses
Using LinkedIn to Grow BusinessesUsing LinkedIn to Grow Businesses
Using LinkedIn to Grow BusinessesChandni Gupta
 
alternative MBA | Billa Bulgaria Business Case
alternative MBA | Billa Bulgaria Business Casealternative MBA | Billa Bulgaria Business Case
alternative MBA | Billa Bulgaria Business CaseSilviya Dineva
 
助理委員制度簡介會
助理委員制度簡介會助理委員制度簡介會
助理委員制度簡介會Karen Leung
 

Viewers also liked (9)

12202401 pss7
12202401 pss712202401 pss7
12202401 pss7
 
Draf takwim 2013
Draf takwim 2013Draf takwim 2013
Draf takwim 2013
 
Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014
Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014
Идея и Стратегия_Студентски клуб на политолога_Силвия Динева_27 май 2014
 
Using LinkedIn to Grow Businesses
Using LinkedIn to Grow BusinessesUsing LinkedIn to Grow Businesses
Using LinkedIn to Grow Businesses
 
alternative MBA | Billa Bulgaria Business Case
alternative MBA | Billa Bulgaria Business Casealternative MBA | Billa Bulgaria Business Case
alternative MBA | Billa Bulgaria Business Case
 
Google+ PowerPoint
Google+ PowerPointGoogle+ PowerPoint
Google+ PowerPoint
 
Tugas plkj
Tugas plkjTugas plkj
Tugas plkj
 
助理委員制度簡介會
助理委員制度簡介會助理委員制度簡介會
助理委員制度簡介會
 
Sales promotion
Sales promotionSales promotion
Sales promotion
 

Similar to Embedded Linux Video Capture and SMS Alarm System

Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...IOSR Journals
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
Buildin a small linux kernel
Buildin a small linux kernelBuildin a small linux kernel
Buildin a small linux kerneltrx2001
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolBrent Muir
 
Developing an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architectureDeveloping an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architectureChristian Charreyre
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptxJayakumarS71
 
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...Anne Nicolas
 
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processorUplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processorSatya Harish
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...Toradex
 
Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...SZ Lin
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & dockerejlp12
 
Design and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerDesign and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerIJERA Editor
 
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)Ryo ONODERA
 
Embedded System Design for Iris Recognition System.
Embedded System Design for Iris Recognition System.Embedded System Design for Iris Recognition System.
Embedded System Design for Iris Recognition System.Lakshmi Sarvani Videla
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1Qualcomm Developer Network
 
Linux firmware for iRMC controller on Fujitsu Primergy servers
Linux firmware for iRMC controller on Fujitsu Primergy serversLinux firmware for iRMC controller on Fujitsu Primergy servers
Linux firmware for iRMC controller on Fujitsu Primergy serversVladimir Shakhov
 

Similar to Embedded Linux Video Capture and SMS Alarm System (20)

Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
Implementation of Cmos Camera Device Driver and Wifi Technology on S3c2440 Us...
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Buildin a small linux kernel
Buildin a small linux kernelBuildin a small linux kernel
Buildin a small linux kernel
 
WinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage ToolWinFE: The (Almost) Perfect Triage Tool
WinFE: The (Almost) Perfect Triage Tool
 
Junliang`s Resume
Junliang`s ResumeJunliang`s Resume
Junliang`s Resume
 
Developing an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architectureDeveloping an embedded video application on dual Linux + FPGA architecture
Developing an embedded video application on dual Linux + FPGA architecture
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...
Kernel Recipes 2017 - Developing an embedded video application on dual Linux ...
 
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processorUplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
UplinQ - ubuntu linux on the qualcomm® snapdragon™ 600 processor
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
 
C44081316
C44081316C44081316
C44081316
 
Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...Using open source software to build an industrial grade embedded linux platfo...
Using open source software to build an industrial grade embedded linux platfo...
 
Linux container & docker
Linux container & dockerLinux container & docker
Linux container & docker
 
Design and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web ServerDesign and Development of ARM9 Based Embedded Web Server
Design and Development of ARM9 Based Embedded Web Server
 
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)
 
Embedded System Design for Iris Recognition System.
Embedded System Design for Iris Recognition System.Embedded System Design for Iris Recognition System.
Embedded System Design for Iris Recognition System.
 
Sundance at the 49th Intelligent Sensing Program
Sundance at the 49th Intelligent Sensing ProgramSundance at the 49th Intelligent Sensing Program
Sundance at the 49th Intelligent Sensing Program
 
Building
BuildingBuilding
Building
 
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
Developing for Industrial IoT with Linux OS on DragonBoard™ 410c: Session 1
 
Linux firmware for iRMC controller on Fujitsu Primergy servers
Linux firmware for iRMC controller on Fujitsu Primergy serversLinux firmware for iRMC controller on Fujitsu Primergy servers
Linux firmware for iRMC controller on Fujitsu Primergy servers
 

Recently uploaded

PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Recently uploaded (20)

PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

Embedded Linux Video Capture and SMS Alarm System

  • 1. Network Video Capture and Short Message Service System Based on Embedded Linux NAME:KATTA RAVI .
  • 2. Introduction  By using camera, video will be captured and the data will be sent to embedded web server.  The video is monitored through web browser and an alarm will be raised through SMS using GSM network in video surveillance systems.
  • 3. Applications:  intelligent anti-theft  intelligent home  medical treatment
  • 4. Hardware and Software  USB camera module  Mini2440 development board  S3C2440A with ARM920t core  Ethernet interface  GSM module  256mb NAND Flash  Operating system on PC: - Ubuntu 10.04  Operating system on target board: - Qtopia with Linux kernel 2.6.32  Video 4 Linux  Arm-Linux-GCC-4.4.3
  • 6.
  • 7. ARM 920T features  32-bit ARM and 16-bit Thumb instruction set  Harvard Architecture  5-stage pipelining  16kb-Data cache and 16-kb-instruction cache  32-bit registers  MMU support
  • 8. Linux Application System structure: o The application system structure of Linux includes applications, kernel, drivers, root file system, interface and network protocols.
  • 9. Linux Application System structure: o Create a cross-compiler environment: -Install the UBUNTU 10.04 development platform on the PC, and use cross compiler arm-Linux-gcc-4.4.3 to compile Linux- 2.6.32 kernel. o Boot Loader(U-BOOT&vivi): -When system starts, the starting 4K bytes of code in Nand Flash is loaded into the SRAM. o Driver transplantation - There are two driver models direct compile loading driver file
  • 10. Compiling the Kernel o compile the kernel into the linux-2.6.12 directory o Type make menuconfig 1. Choose Multimedia devices ---> <*>Video For Linux, load Video For Linux Module 2. Choose USB support ---> <*>Support for Host-side USB --USB Host Controller Drivers <*>OHCI Host HCD support 3. Choose USB Multimedia devices ---> <*>USB SPCA5XX Sunplus/Vimicro/Sonix jpeg Cameras 4. Make; make zImage 5. Save settings, and then exit.
  • 11. Video capture based on V4L  Video 4 Linux provides a range of programming and data interface functions for a variety of devices in Linux.  Equipment can be opened, captured, read and turned off by calling these functions. When an application operates the device file, Linux kernel will access interface functions provided by the driver program through the file_operations structure.
  • 12. Flow chart of V4L video capture
  • 13. o open the video device file video_fd=open(“/dev/video 0”,O_RDWR) o We can obtain the image frame buffer information by calling the video_vm(). ioctl(video_fd,VIDIOCGMBUF,&video_vm) o Equipment information by calling video_capability() ioctl(video_fd,VIDIOCGCAP,&video_capability ) o image attributes by calling video_picture() ioctl (video_fd ,VIDIOCGPICT,&video_picture )
  • 14. SMS service block diagram
  • 17. References  Dongshan Wei. Embedded Linux application development manual [M]. Beijing: People's Posts & Telecom Press, 2008.  Qiong Sun. Embedded Linux application development [M]. Beijing: People’s Posts &Telecom Press, 2006.  http://www.friendlyarm.net