Emergency Service Provide by Mobile


Published on

Published in: Technology
1 Comment
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Emergency Service Provide by Mobile

  1. 1. CSE 3100- SOFTWARE DEVELOPMENT PROJECT-2<br />Name of the project: HELP CARE CENTRE WITH AUTOMATIC MESSAGE CENTRE.<br />Project supervisor <br />Mr. Sheikh Md. Masudul Ahsan<br />Assistant Professor<br />Department of Computer Science and Engineering<br />Khulna University of Engineering and Technology<br />Khulna-9203<br />Project submitted by<br /> Prosenjit saha Samiul hoque<br /> Roll: 0507012 Roll:0507035<br /> <br /> ©2008<br />ACKNOWLEDGEMENTS<br /> First of all we acknowledge to almighty ALLAH for completing this project successfully. Then we are grateful to our project supervisor whose intelligent direction has made the task easier to accomplish. A special thanks to the Head of the Department of Computer science & Engineering to allow us to take several components from the Hardware and Interfacing Lab as also to the teacher who has assigned us this project. <br />INDEX<br /><ul><li>Help care centre provides emergency service.
  2. 2. Message centre.
  3. 3. Database section.
  4. 4. DTMF circuit.
  5. 5. Serial port.
  6. 6. Using speech engine.
  7. 7. Software review (Windows form).
  8. 8. Requirements.
  9. 9. Limitations.</li></ul>10.Conclusion.<br />11.Future plan.<br />1. Help care centre provides emergency service:<br />Help care center is a automated service provider without any kind of operator .It provides helpful service in case of emergency condition .Call center is widely used in every mobile network provider .This software is a automated call centre provides service in extreme condition .After calling to a special number it recognizes desired service by DTMF detection .Then speech engine is used to detect the location who is calling .After taking all of the caller information a call send to emergency service provider (Such as- Ambulance ,Police station ,Fire bridget etc.).<br />2. Message center :<br /> Message centre is a offline message storage system. If a mobile phone owner is away from his/her phone this software store voice message in pc.<br />3. Database section:<br />A relational database created in database section by Oracle 10g.This database provides various operations (such as-insert/delete/update) in every table. The relational database model is given below-<br />4. DTMF circuit:<br />In DTMF there are 16 distinct tones. Each tone is the sum of two frequencies: one from a low and one from a high frequency group. There are four different frequencies in each group. <br />Every phone only uses 12 of the possible 16 tones. If you look at the phone, there are only 4 rows (R1, R2, R3 and R4) and 3 columns (C1, C2 and C3). The rows and columns select<br />frequencies from the low and high frequency group respectively. The exact value of the frequencies are listed in below-<br />ROW #FREQUENCY (HZ) COL #FREQUENCY (HZ)<br />R1: ROW 0697 C1: COL 01209<br />R2: ROW 1770 C2: COL 11336<br />R3: ROW 2852 C3: COL 21477<br />R4: ROW 3941 C4: COL 31633<br />DTMF circuit is designed by MT8870 DTMF decoder IC and Atmega 32 micro controller.MT8870 IC received the DTMF signal and decode then transfer it to serial port through Atmega32 micro controller.<br />Figure: Atmega 32 micro controller.<br />Figure: MT8870 DTMF decoder 18 pin dip.<br />5.Serial port :<br />In computing, a serial port is a serial communication physical interface through which information transfers in or out one bit at a time (contrast parallel port). Serial ports use two-level (binary) signalling, so the data rate in bits per second is equal to the symbol rate in baud. Common bit rates per second for asynchronous start/stop communication are 300, 1200, 2400, 9600, 19200 baud, etc. The port speed and device speed must match, though some devices may automatically detect the speed of the serial port. Though the RS-232 standard is formally limited to 20,000 bits per second, serial ports on popular personal computers allow settings up to 115,200 bits per second; the capability to set a bit rate does not imply that a working connection will result. Not all bit rates are possible with all serial ports.<br />*Port Wiring Notes<br />DB9 Male (Pin Side) DB9 Female (Pin Side)<br />DB9 Female (Solder Side) DB9 Male (Solder Side)<br /> ------------- -------------<br /> 1 2 3 4 5 / 5 4 3 2 1 /<br /> 6 7 8 9 / 9 8 7 6 /<br /> --------- ----------<br />9-pin 25-pin Assignment From PC<br />Sheild 1 Case Ground Gnd<br />1 8 DCD (Data Carrier Detect) Input<br />2 3 RX (Receive Data) Input<br />3 2 TX (Transmit Data) Output<br />4 20 DTR (Data Terminal Ready) Output<br />5 7 GND (Signal Ground) Gnd<br />6 6 DSR (Data Set Ready) Input<br />7 4 RTS (Request To Send) Output<br />8 5 CTS (Clear To Send) Input<br />9 22 RI (Ring Indicator) Input<br />DTMF transfer to serial port and pc received the DTMF by following code-<br />sp.DataReceived += new SerialDataReceivedEventHandler(sp_DataReceived);<br /> sp.Open();<br />sp.Write(" AT+CLIP=1" + " " );<br />DTMF is detected by the following code-<br />int buffer;<br /> buffer = sp.ReadByte();<br />Then the buffer is compared and functions are called to do the several operation.<br />6.Speech engine :<br />Microsoft speech sdk 5.1 is used to detect the voice command for storing caller information. This involves the computer taking the user's speech and interpreting what has been said. This allows the user to control the computer (or certain aspects of it) by voice, rather than having to use the mouse and keyboard, or alternatively just dictating the contents of a document.<br />The complex nature of translating the raw audio into phonemes involves a lot of signal processing and is not focused on here. SR engines are often called recognisers and these days typically implement continuous speech recognition (older recognisers implemented isolated or discrete speech recognition, where pauses were required between words).Speech recognition usually means one of two things. The application can understand and follow simple commands that it has been educated about in advance. This is known as command and control (sometimes seen abbreviated as CnC, or simply SR).<br />Alternatively an application can support dictation (sometimes abbreviated to DSR). Dictation is more complex as the engine has to try and identify arbitrary spoken words, and will need to decide which spelling of similarly sounding words is required. It develops context information based on the preceding and following words to try and help decide. Because this context analysis is not required with Command and Control recognition, CnC is sometimes referred to as context-free recognition.<br />District , thana which are inserted into database is also used in speech engine for detecting location. This sdk is efficient to recognize voice accurately. <br />7.Software review (Windows Forms):<br />There are three parts in software-<br />1. Database section.<br />2. Call receiver section.<br />3. Message centre.<br />Database section: Here 6 forms are created for database operation. In database section service information can be insert/delete/update efficiently. New District, thana and service can be add or delete by one click.<br />Call receiver section: This form contains the port selection option.Both serial and Phone serial port can be accessed through this form.<br />Message centre: This form contains the message save option.Port selection option opens the serial and Phone serial port.<br />Database Insert form:<br />Database delete form:<br />Database Update form:<br />Receiver form:<br />Message centre form:<br />8.Requirements:<br />1. Microsoft speech sdk 5.1.<br />2. Nokia pc suite.<br />3. Oracle 10g.<br />4. DTMF circuit.<br />5. Platform: C# (using .NET sdk 3.5).<br />9.Limitations:<br />Though we have developed our software using the platform independent programming language C# but our software is not totally platform independent at all. Speech engine is not efficient to detect voice. But we are tried our best to do that. There are a few limitations in DTMF hardware cause it is not embaded in one circuit.<br />10.Conclusion:<br />This software is very much user-friendly. It just needs some clicks to provide operate the whole things. This software is applicable for all versions of WINDOWS operating system. As maximum computer users feel comfort to use this operating system. We are looking forward to improve our software to make it truly platform independent.<br />11.Future plan: <br />1. Specially develop the speech engine for help care centre.<br />2. Develop the software by voice modem(under process).<br />Resources:<br /><ul><li>Microsoft visual studio 2008.
  10. 10. Microsoft .net SDK 3.5.
  11. 11. MSDN.
  12. 12. Professional C# by Simon Robinson, Christian nagel .
  13. 13. Complete reference Oracle by Lony and koch.