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

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
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
 
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
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

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
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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
 
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...
 

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