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 (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 (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 project

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 kernel
trx2001
 

Similar to Embedded project (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

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
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
heathfieldcps1
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 

Recently uploaded (20)

Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Embedded project

  • 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