Your SlideShare is downloading. ×
Embedded project
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Embedded project

600

Published on

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
600
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
19
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Network Video Capture and Short MessageService 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
  • 5. Block Diagram:
  • 6. 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
  • 7. Linux Application System structure: o The application system structure of Linux includes applications, kernel, drivers, root file system, interface and network protocols.
  • 8. 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
  • 9. 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.
  • 10. 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.
  • 11. Flow chart of V4L video capture
  • 12. 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 )
  • 13. SMS service block diagram
  • 14. Short message Service
  • 15. Result
  • 16. References Dongshan Wei. Embedded Linux application development manual [M]. Beijing: Peoples Posts & Telecom Press, 2008. Qiong Sun. Embedded Linux application development [M]. Beijing: People’s Posts &Telecom Press, 2006. http://www.friendlyarm.net
  • 17. THANK YOU

×