
3-1 OVERVIEW............................................................................................................................27
3-1-1 Software Overview..........................................................................................................27
3-1-2 Development Flow..........................................................................................................28
3-2 LINUX KERNEL AND DRIVERS ..............................................................................................29
3-2-1 Linux Kernel, Ramdisk, Bootloader................................................................................29
3-2-2 NFS (Network File System) ............................................................................................31
3-2-3 The Drivers.....................................................................................................................31
3-3 WEB SERVER........................................................................................................................32
3-3-1 Thttpd, PHP and MySQL................................................................................................33
3-3-2 Block Diagram................................................................................................................33
3-4 THE USB CAMERA APPLICATIONS .......................................................................................34
3-4-1 Functional Diagram .......................................................................................................34
3-4-2 Photo Grab.....................................................................................................................35
3-4-3 Images Display...............................................................................................................40
3-4-4 Motion Detection ............................................................................................................44
3-4-5 Image Auto Recording ....................................................................................................46
3-4-6 Notification to Cell Photo...............................................................................................50
3-5 TWO-TIER IDENTIFICATION ..................................................................................................53
3-5-1 Block Diagram................................................................................................................53
3-5-2 Controlling the RFID Module.........................................................................................54
3-5-3 MySQL Database Access................................................................................................56
3-6 WIFI AUDIO BROADCAST.....................................................................................................59
3-6-1 Darwin Streaming Server (DSS).....................................................................................59
3-6-2 Controlling the Wireless Card.........................................................................................62
3-7 PHP APPLICATIONS ..............................................................................................................64
3-7-1 MySQL Management - PHPMyAdmin............................................................................64
3-7-2 Web Camera – SimplePHPWebCam...............................................................................64
CHAPTER 4 EXPERIMENTAL RESULTS.................................................................................66
4-1 SYSTEM APPEARANCE..........................................................................................................66
4-2 ENTRANCE SYSTEM..............................................................................................................67
4-2-1 Grabbing Images and Showing ......................................................................................67
4-2-2 Two-tier identification ....................................................................................................68
4-2-3 Auto Recoding.................................................................................................................70
4-2-4 Cell Phone Remote Monitor ...........................................................................................70
4-3 WIFI BROADCAST ................................................................................................................72
4-3-1 Configuration of PDA Wireless Network........................................................................72
4-4 SUMMARY ............................................................................................................................74
CHAPTER 5 CONCLUSION AND FUTURE WORK................................................................76
5-1 CONCLUSION........................................................................................................................76
5