國 立 交 通 大 學 電機與控制工程學系 碩 士 論 文 數位家庭門禁管理與 WiFi 娛樂 的設計與實現,使用 ARM-Based 平台 The design and Implementation of the Entrance System and WiFi-Entertainment
Table List TABLE 1. VIDEO_CAPABILITY STRUCTURE FIELDS ...36 TABLE 2.
Chapter 1 Introduction The door has been used for thousand years. However, the door evolution was almost in variedly material, ex. the wood door an
entertainment with MP3 broadcasting and home gallery. It would be discussed as following sections. 1-1 System Overview Figure 1 shows the overview of
using portable devices. 1-2 The Scenarios The scenarios are shown as following: 1. The families want to open the door to into the house. The familie
pass the keypad identification. 6. Using WiFi entertainments. If the entrance system is closed by the occupants, than they can use the PDA to play a b
include an RFID reader and keypad whose placement is shown in Figure 2. A user entries the password via keypad for first identification, then second i
copying key to open the door. 2. When the identification failed three times. If the tag reader program sensed the tag and checked the tag was error t
the member data for verifying the door opening conditions. 1-3-7 1-4-1 Overview Remote Monitor Function The member of family can use the browser for
MP3 broadcasting that were described as follows. 1-4-2 1-4-3 Home Gallery The home gallery is the collection of home digital picture which was obtain
Chapter 2 Implementation of Hardware 2-1 Hardware Overview PCM-7130DisplayAnd Touch screenStorageARMSA-1110SA-1111PS2PCMCIARS232GPIOUSBAudioDI/DOSp
數位家庭門禁管理與 WiFi 娛樂 的設計與實現,使用 ARM-Based 平台 學生:黃俊傑 指導教授:吳炳飛 教授 國立交通大學電機與控制工程學系碩士班 摘 要 在數位家庭時代的來臨,必定有一個足以保護居家財產安全的數位大門,而本論文便是以此概
Figure 7. PCM-7130 Embedded System The introduction and features of PCM-7130 were shows as Chapter 5 . 2-2-2 PCM-7130 SBC Figure 8 shows the appeara
Figure 8. PCM-7130 SBC The features of PCM-7130 SBC are: CPU SA-1110 Companion Chip SA-1111 SDRAM 64MB Flash 32MB Audio AC'97 aud
Figure 9. The Block Diagram of PCM-7130 SBC 2-2-3 2-2-4 System Display The system display includes LCD display and touch panel. The LCD display can
they are the bridge of various devices which described in 2-3. What devices would connect with the IO and what the devices can be used that would be e
computers that can make use of it. The appearance of RFID module included three parts in this thesis. They are RFID board, an antenna and RFID tag. Th
3. Tag: The tag is compliant with the ISO/IEC 15693 standard. With a user memory of 2k bits, organized in 64 blocks. The specifications of tag are:
The following figure shows the appearances. Figure 12. The Appearance of USB Device 2-3-4 PCMCIA Wireless Card The DWL-650H Wireless LAN (WLAN) PC
Low-power operation for battery-powered devices with PC Card slots. Standard NDIS (Network Driver Interface Specification) drivers. Card and
Chapter 3 Implementation of Software 3-1 Overview 3-1-1 Software Overview Embedded Linux KernelOS LayerDriver LayerWireless Card DriverPCM-7130 Dr
developing times and program size of the applications, and be easily for source management. At last, the top layer is application layer which include
The design and Implementation of the Entrance System and WiFi-Entertainment in Digital Home Using ARM-based Platform Student:Chun-Chieh Huang Advi
Windows or minicom in Linux. The execution flow could be consequently observed from the kernel booting up messages by RS232 terminal which was communi
z make zImage: Use this command in Linux (the commands in this section was executed in Linux, except downloading commands) to compile the kernel that
3-2-2 3-2-3 NFS (Network File System) The NFS was developed to allow machines to mount a disk partition on a remote machine as if it were on a local h
Figure 16. Place of a Device Driver in Linux Figure 16 shows the place of a device driver in Linux relative to the device: User program or utility
ex. family member data, home photos… etc. 3-3-1 3-3-2 Thttpd, PHP and MySQL Thttpd[8] is an HTTP server, it has the feature as simple, small, portable
Figure 17 shows the functional block and dataflow of the web server. The functional block has three layers: the bottom layer is embedded Linux which i
Figure 18. The Functional Block of Camera Applications Figure 18 shows the functional block of USB camera Applications. This figure has three modes
Figure 19 shows the flow chat of photos grabbing, it has five steps, using the Video4Linux was described as following: Open the video device: The h
Set the channel of video device The VIDIOCGCHAN ioctl allows a user to ask about video channels. The M318B has a single camera input. The correspon
if (ioctl (fd, VIDIOCGMBUF, &videombuf) < 0) { perror (" init VIDIOCGMBUF FAILED\n"); } pFramebuffer = (unsigned char *) mm
ACKNOWLEDGEMENTS 這篇論文能夠順利的完成,首先要感謝的是我的指導教授 吳炳飛教授。在交大的這兩年,吳教授給了我很好的研究環境,以及廣泛電機領域的資源,並且在適時地給我指導,讓我受益良多,因此增廣不少知識,亦激發出創造力與實作能力,才能順利完成此論文。 再來是感謝所有 LAB61
Figure 20. mmap interface grabs diagram 1. Get video_mbuf Getting the capabilities of mmap interface is the first thing before using it that was disc
CAPTURE frame 1CAPTURE frame 2CAPTURE frame 3CAPTURE frame 4SYNC frame 1CAPTURE frame 1CAPTURE frame 2SYNC frame 2CAPTURE frame 4SYNC frame 4SY
Figure 22. SDL interface flow chat Displaying the images on the screen (LCD display) is the first thing to do after the image was read. The displayi
StartInitial SDL SubsystemSetup Video ModeUpdate Image on ScreenShut Down SDLEnd Figure 23. SDL usage of displaying on the screen Figure 238 shows th
SDL_INIT_EVENTTHREAD Initializes the event thread. Table 4. SDL_Init flags Setup Video Mode Use SDL_SetVideoMode to set up a video mode with the
the usage of SDL_UpdateRect as following: SDL_UpdateRect (pscreen, 0, 0, 0, 0); Shut down SDL Use SDL_Quit to shut down SDL. SDL_Quit ();
∑∑−=yxyxSyxSNMAD ),(),(121 The x, y are the row and column which is a pointer of dot in the image, the N is total dots in the image, the S1 and S2 a
detected than the state changes to state 1. 3-4-5 Image Auto Recording The motion images would be recorded to the remote server, when the motion
client. Server Response Commands Client Request Commands LOGIN TYPE PASSWORD Image types: JPG, YUV, AVI … OK SIZE ERROR Massage STREAMING BYE QUIT
Record Server Record Client Request Response Linux PCM-7130Record ServerRecord Client Request cmd: STREAMING Response data: OK Record Data Record D
Table of contents 中文摘要…………………………………………………………………………………………………1 ABTRACT...
Figure 28 illustrates the record client (PCM-7130) and a record server (Linux) using the TCP/IP protocol stack. The client and server each interact wi
FFmpeg make the jpeg stream to video file with 3gp format for suiting in cell phone. Using the following execution to encode jpeg stream to 3gp video
PCM-7130 then sent the SMS to cell phone. TwSMS is a SMS sending company in TW. It provides many methods for sending SMS to cell phone by user. Those
1. Execute PHP script for sending SMS via HTTP: The PHP script (sms.php) uses HTTP protocol to send the SMS data to 2. TwSMS http server. Execute the
Figure 31. SMS Sending Flow with TwSMS TwSMS provided applications and browser interface for transfering the SMS data to TwSMS, the PCM-7130 used API
It is simply to control the keypad, just only use ‘read’ system call, the subsequently section therefore only discusses how to control the RFID module
0x1B, ‘B’, 0x06 (57600bps) 0x1B, ‘B’, 0x07 (115200bps) Waiting 1 second…. Response: 0x1B, 0x03, “Ok!” EX: Request: 0x1B, ‘B’, 0x
The UID and password are saved in MySQL, so, it need to read before identification loop. The section 3-5-3 would describe in more detail. 3. Two-tier
Field Type ID tinyint(1) Name varchar(20) Password varchar(20) UID varchar(20) State tinyint(1) Table 7. the member table content ID: The id is se
application execute the php script to get the ‘member’ table in MySQL, then parser the table to obtain the UID, password, and state. The following php
3-1 OVERVIEW...27 3-1-1 Sof
enumerated array. The results $title[$I] and $row[$I] in above php script code are the field and data of field in the ‘Member’ table in MySQL, it can
Darwin Streaming Server supports both multicast (broadcast) and unicast network transport to deliver streaming media. The multicast transport was used
illustration). Many clients connected via unicast to a stream in a local network can result in heavy network traffic. The multicast was therefore us
DSS and data flow. Music PlayerDSS:MP3Broadcasterstreamingplay backWiFi broadcastMedia requestplay backMedia requestWiFi broadcaststreamingMedia reque
1. /etc/pcmcia/config: Add the following context to /etc/pcmcia/config, the cardmgr references this file to install the driver for DWL-650H. card &q
The wireless function would be working when the cardmgr identified the DWL-650H and set the all necessary parameters after restarted PCM-7130. 3-7 P
Embedded LinuxThttpd Web ServerUser BrowserWeb PageSimplePHPWebCamData Requires Grab image functionImage Figure 40. Web Cam Working Flow The user conn
Chapter 4 Experimental Results 4-1 System Appearance Figure 41. The System Appearance The above figure (Figure 41) shows the system appearance,
PCMCIA wiresless card, USB connector, PS2 connector for keypad, Ethernet connector for local network (connect to internet via router in this experimen
Figure 45. Show the Images When Motion Detected The image size is 320x240 showing in figure 44, and the display rate is 11~13 frame per sec. 4-2-2
5-2 FUTURE WORK...76 CHAPTER 6 REF
Figure 47. The Demo of Two-tier Identification Figure 47 shows the demo of two-tier identification, first, input the password via keypad, and second
4-2-3 Auto Recoding Figure 49. Recoding Server Message Figure 49 shows the recoding server message, the sever receive the jpeg streams to ‘./temp1/’,
Figure 50 shows the remote monitor by cell phone, the man uses the cell phone to watch the images which was grabs from PCM-7130 embedded system. The f
Figure 53. Cell Phone Plays the Record Video 4-3 WiFi Broadcast 4-3-1 Configuration of PDA Wireless Network Figure 54. PDA Wireless Configuration
Figure 55. PDA Wireless Networking IP Configuration Figure 55 shows the IP configuration of PDA wireless network. The IP domain is ‘192.168.0.’ that
Figure 57. Playing the Broadcasting Music via PDA Figure 57 presents the PDA plays the broadcasting music. The PDA would play the broadcasting music
Webpage —PHP Administrator 4500 60 Table 8. The System Resource Usage of Entrance System Table 8 show the system resource usage of entrance system,
Chapter 5 Conclusion and Future Work 5-1 Conclusion This thesis presents a design and implementation of hardware and software to solve a security le
1. The encryption type of RFID. 2. Reduce the system source usage of MySQL. 3. Friendly GUI and easily setup. 4. Bigger images size grabbing and
Chapter 6 Reference [1] http://www.RFID.org [2] http://www.wi-fi.org [3] http://www.ti.com/tiris/default.htm?DCMP=TIHomeTracking&HQS=Other+O
Figure List FIGURE 1. THE SYSTEM OVERVIEW ....... 1
FIGURE 37. UNICAST ...............................60 F
Comentarios a estos manuales