Pc Based Security System

3,126 views

Published on

Final Year Project titled “PC-based security system powered by 8051 Microcontroller,” Department of Electronics and Communication Engineering, Sri Venkateswara College of Engineering (Anna University), 2005

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,126
On SlideShare
0
From Embeds
0
Number of Embeds
22
Actions
Shares
0
Downloads
132
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Pc Based Security System

  1. 1. PC-BASED SECURITY SYSTEM
  2. 2. PROBLEM DEFINITION The purpose of the project is to come out with a Reliable Security System. Pictures of the scene under security belt are sent via e-mail to the user. The PC also initiates a call to the users phone when there is intrusion. Remote Controlling the PC is achieved using an Interactive Voice Response System.
  3. 3. E-MAIL (PICTURE) DOOR IR RX OR TX SMS WINDOW MICRO- CONTROLLER ALARM STEPPER WEB- MOTOR CAM MODEM IVM SOFTWARE
  4. 4. MICROCONTROLLER • 8051 MICROCONTROLLER # 8255 I/O CHIP * 40- PIN CHIP * 3 PORTS - A, B, C OF 8-BITS EACH. # OUR APPLICATION: * PORT A – OUTPUT * PORT B – INPUT * SIMPLE I/O MODE (MODE 0)
  5. 5. SERIAL COMMUNICATION WE WORK AT * BAUD RATE – 9600 BPS * DATA BITS - 8 * PARITY - NONE * STOP BITS - 1 TO TRANSFER DATA SERIALLY •TMOD( TIMER MODE) - TIMER 1 IN MODE 2. •SCON (SERIAL PORT CONTROL REGISTER) SERIAL MODE 1- 8 BIT DATA, 1 START AND 1 STOP BITS. •SBUF - TRANSFER DATA VIA TxD. •TR1SET TO START TIMER. •TI FLAG BIT MONITORED.
  6. 6. SERIAL COMMUNICATION WE SEND DATA “YES” SERIALLY TO THE PC. TO RECEIVE DATA SERIALLY •TMOD( TIMER MODE) REGISTER – TIMER 1 IN MODE 2. •SCON (SERIAL PORT CONTROL REGISTER) SERIAL MODE 1- 8 BIT DATA, 1 START AND 1 STOP BITS. •SBUF - TRANSFER DATA VIA TxD. •TR1SET TO START TIMER. • RI FLAG BIT MONITORED. WE RECEIVE DATA “DONE” SERIALLY FROM THE PC.
  7. 7. STEPPER MOTOR CONTROL ALGORITHM: • STEPPER MOTOR IS AT RESET POSITION. • THE 8051 SCANS THE PORTS CONTINUOUSLY FOR ANY I/P FROM THE IR RECEIVER CIRCUITRY. • ON RECEPTION OF SIGNAL AT THE PORTS, 8051 AUTOMATES THE STEPPER MOTOR TO PREDEFINED ANGLES.
  8. 8. START RESET STEPPER MOTOR (SM) AND SCAN FOR I/P’S NO I/P AT NO I/P AT PORT 1? PORT 2? YES YES ROTATE SM BY B DEGREES ROTATE SM BY A DEGREES SEND SIGNAL TO PC TO TAKE A PICTURE
  9. 9. PROGRAMMING- VISUALBASIC PROGRAMMING-I ALGORITHM: ALGORITHM: • SERIAL COMM. PORT TO COMMUNICATE WITH MICRO CONTROLLER IS CHOSEN AND PORT SETTINGS ARE SET. • THE COMM. PORT IS SCANNED FOR INPUT FROM THE MICRO CONTROLLER. • ONCE THE PROGRAM RECEIVES THE REQUIRED INPUT, THE WEBCAM IS AUTOMATED TO TAKE A PICTURE. • THE WEB CAM CAN TAKE ‘N’ NUMBER OF PICTURES DEPENDING ON THE REQUIREMENTS.
  10. 10. VISUALBASIC PROGRAMMING-II PROGRAMMING- ALGORITHM: ALGORITHM: • AN ACTIVE-X CONTROL ezVidCap IS USED TO AUTOMATE WEB CAM. • THE PICTURES TAKEN ARE IN BITMAP FORMAT. • THE FORMAT OF THE PICTURE IS THEN CONVERTED FROM .bmp TO .JPEG BY COMPRESSION TECHNIQUE (USING Picformat32). • THE .JPEG PICTURE IS THEN STORED IN THE SYSTEM AND SENT TO USER’S e-MAIL.
  11. 11. PROGRAMMING- VISUALBASIC PROGRAMMING-III ALGORITHM: ALGORITHM: • MICROSOFT OUTLOOK IS USED TO SEND THE E-MAIL. • A MISSED CALL OR A SMS MESSAGE IS SENT TO THE USER’S MOBILE / PHONE USING A DIAL-UP MODEM. • ONCE DIALING A NUMBER IS COMPLETED THE PROGRAM COMMUNICATES WITH THE MICROCONTROLLER • THE MICROCONTROLLER THEN RESETS ITSELF TO THE INITIAL POSITION AND STARTS TO SCAN FOR INPUT FROM THE IR RECEIVER.
  12. 12. START SCAN FOR I/P FROM µC AUTOMATE WEBCAM STORE PICTURES CONVERT PICTURES FROM .bmp TO .JPEG e-MAIL USING COMMUNICATE MICROSOFT OUTLOOK WITH µC DIAL A NUMBER STOP
  13. 13. IVM SOFTWARE (ANSWERING ATTENDANT) TELEPHONE ANSWERING MACHINE. CALL ATTENDANT. (RE-DIRECT INCOMING CALLS). VOICE MAILBOX – STORES INCOMING MESSAGES. INTERACTIVE VOICE RESPONSE SYSTEM (IVRS).
  14. 14. FEATURES OF IVM CALL TRANSFER (CALL FORWARDING). REMOTE ACCESS (LISTEN TO MESSAGES BY DIALING-IN). AUTOMATED OUTBOUND CALLS. UNLIMITED VOICE MAILBOXES.
  15. 15. FEATURES OF IVM AUTOMATIC MESSAGE FORWARD BY e-MAIL OR UPLOAD TO INTERNET. SAVE IN-COMING MESSAGES AS WAV FILES. ABILITY FOR CALLER TO ENTER NUMBERS. ABILITY TO OPEN FILES OR RUN OTHER SOFTWARES.
  16. 16. REMOTE ACCESS BY TELEPHONE ACCESS MAILBOXES: LISTEN TO STORED MESSAGES. TRANSFER OR DELETE THE MESSAGES. ACCESS THE SYSTEM: SHUTDOWN THE SYSTEM. RESTART THE SYSTEM. OPEN ANY EXTERNAL APPLICATION. CLOSE THE RUNNING APPLICATION. IVM ANSWERING ATTENDANT
  17. 17. 2 COMPUTER 1. WITH INTERACTIVE VOICE THE USER RESPONSE (IVR) PUTS A CALL PHONE SOFTWARE THROUGH. 3 DIALING A SPECIFIC ACCESS CODE-SOFTWARE ENTERS 5 IVR MODE. 3 TRIGGERING THE 4 SECURITY SYSTEM. REGULAR ANSWERING CONTROLLING MACHINE. THE COMPUTER. *RESTARTING
  18. 18. SENDS IMAGES 1. ABOUT THE SCENE AT HOME THROUGH DOOR E-MAIL. CONNECTED TO AN 6. ON –OFF SWITCH SMS 5. WEB CAM PHONE CALL 2. 4. COMPUTER RECEIVES THE SIGNAL & ALARM TAKES 3. PREDEFINED ACTION.
  19. 19. FUTURE ENHANCEMENTS • USING A GSM MODEM * SMS (SHORT MESSAGING SERVICE) * MMS (MULTIMEDIA MESSAGING SERVICE). • THE SYSTEM MAY BE CUSTOMIZED: * TRAP THE INTRUDER * PARALYSE THE THIEF
  20. 20. REFERENCES - I • IBM PC & CLONES, by B.GOVINDARAJALU. • www.nch.com.au/ivm IVM SOFTWARE FROM “NCH SWIFT SOUND”. • THE 8051 MICROCONTROLLER AND EMBEDDED SYSTEMS, by MUAMMAD ALI MAZIDI & JANICE GILLISPIE MAZIDI. • www.electronicsforu.com “ELECTRONICS FORYOU”
  21. 21. REFERENCES- REFERENCES-II • VISUAL BASIC 6-HOW TO PROGRAM, by DEITEL & DEITEL. • THE COMPLETE REFERENCE-VISUAL BASIC 6 by NEOL JERKE. • http://www.martin2k.co.uk/vb6/ezVidCap VIDEO CAPTURE CONTROL.
  22. 22. THANK YOU.

×