Escolar Documentos
Profissional Documentos
Cultura Documentos
2.1 Following mechanisms are required for implementing our security system:
Sensing Mechanism To sense the smoke at regular interval of time and checking for the data at serial port. Processing Mechanism To start taking action if the data value is available at Serial port and start other modules. Attention Mechanism To send a signal to the hardware in order to notify fire. Serial Port Communication - Using DB9 connector (For data input to the computer) Parallel Port Communication - Using DB25 connector (For data output from the computer)
3.1.2 SQL SERVER 2005: Microsoft SQL Server 2005 is a full-featured relational database management system (RDBMS) that offers a variety of administrative tools to ease the burdens of database development, maintenance and administration. The SQL Server 2005 data platform provides organizations of all sizes with the following benefits: Leverage data assets: In addition to delivering a secure, reliable database for line-of business and analytical applications, SQL Server 2005 enables customers to get more value from their data by including embedded functionality such as reporting, analysis and data mining. Increase productivity: Through comprehensive business intelligence capabilities and integration with familiar tools such as the Microsoft Office System, SQL Server 2005 provides information workers across your organization with critical, timely business information that is tailored to their specific needs. The goal is to extend BI to all users within an organization to make better business decisions based on one of their most valuable assets their data. Reduce Information Technology complexity: SQL Server 2005 simplifies the development, deployment and management of line-of-business and analytical applications by providing a flexible development environment for developers and integrated, automated management tools for database administrators.
4. Logical Decomposition
The Fire Alert System is divided into two parts. 1. Hardware 2. Software Below figure shows the flow of our modules.
DATABASE
SENSOR
HARDWARE INTERFACING
C# MODULE
Micro Programming In Hardware The P89V51RD2 is an 80C51 microcontroller with 64 kB Flash and 1024 bytes of data RAM. A key feature of the P89V51RD2 is its X2 mode option. The design engineer can choose to run the application with the conventional 80C51 clock rate (12 clocks per machine cycle) or select the X2 mode (6 clocks per machine cycle) to achieve twice the throughput at the same clock frequency. Another way to benefit from this feature is to keep the same performance by reducing the clock frequency by half, thus dramatically reducing the EMI. The Flash program memory supports both parallel programming and in serial In-System Programming (ISP).
HARDWARE INTERFACING
HARDWARE
10
LOGIN AUTHENTICATION SENSING CIRCUIT INTERFACING SOFTWARE RECEIVE SIGNAL FROM HARDWARE SEND MESSAGES TO MOBILES AND LAN CONNECTED PCS
DATABASE ENTRY
11
5. Database Design
DeptID
Department table include the details for all department which has fields DeptId and DeptName. DeptId is primary key
Department DeptName
12
DesigID
Designation table include the details about designation which has fields DesigId and DesigName. DesigId is primary key.
Designation
DesigName
EmpNo EmpName
Email
Employee
Employee table include the details for all employees which has fields such as EmpId, EmpName, Email, PhNo, Address, DesigId, DeptId. EmpNo is primary key.
13
6. UML Diagrams
6.1 Use Case Diagrams
A use case is a methodology used in system analysis to identify, clarify, and organize system requirements. In use case diagram actors and activities are defined. In this use case Sensing device, Employee and Systems are defined as Actors. System has activities such as receiving signal, sending messages to mobile, sending messages to LAN connected PCs. Sensing device has activity of sensing smoke and sending signal.
sense signal
Sensing Device
14
Recei e i
System
Database entry
delete database
Update database
ee
15
16
Sensing Device
System
Database Driver
Database
Sense Temperature
Send signal
17
S 1 S
1 1..* Syst
i si
s s
s t S si
si D vic tu () l() 1 l y i h _ _ i si i ()
18
7. Model
7.1 Waterfall Model
The name of the waterfall lifecycle model comes from its physical appearance, shown in Figure 8.1, and the process by which the results from one phase flow into the next. An alternative name for this model is the Big Bang lifecycle because working results first appear near the end of the process, something like how scientists describe the Big Bang theory of how the universe was created. The waterfall model is simple, easy to learn, and easy to use. I and others have used it successfully in its standard and modified forms. The format of this model makes it easy to document, update, and refine using software such as Office Project and other Gantt chartbased project management systems. Advantages y Waterfall model provides a template into which methods for analysis, design, coding, testing and support can be placed. it remains a widly used procedural model for software engineering.
y .
Disadvantages y Real project rarely follow thw sequential flow that the model proposes. Although the waterfall model can accommodate iteration, it does so indirectly. As a result, change can cause confusion as the project team proceeds. The waterfall model requires all requirement explicitly, but it is often difficult for the customer to state all requirement explicitly.
A working version of the program will not be available until late in the project timespan.
19
Communication
Information gathering
Planning
Planning schedule Risk analysis
Modeling
Design Analysis
Construction
Coding Testing
Deployment
Delivery Feedback
20
8. Test Cases
21
22
1. Informatin Gathering
2. Learning C#
3. Hardware Design
4. Database Design
9. Complete Integration
23
Conclusion
24
References
1. http://electroschematics.com/4426/diode-based-fire-sensor/ 2. http://en.kioskea.net/contents/elec/connecteur-prise-db9.php3
3. http://www.dotnetspider.com/forum/144707-send-message-one-system-another-systemLAN.aspx 4. http://www.dotnetspider.com/resources/35565-Send-Message-all-hosts-connectedLAN.aspx 5. http://www.gnutellaforums.com/general-p2p-network-discussion/67061-send-messagelan-i-want-write-program-c-can-send-others.html 6. http://www.eggheadcafe.com/community/aspnet/2/10085799/how-to-send-message-vial.aspx 7. http://www.eggheadcafe.com/community/aspnet/2/10068132/how-to-send-the-messagef.aspx 8. http://www.dreamincode.net/forums/topic/75990-convert-speech-to-text-and-vice-versain-c%23net/ 9. http://www.dreamincode.net/forums/topic/75990-convert-speech-to-text-and-vice-versain-c%23net/ 10. The 8051 Micro Controller and Embedded Systems by Muhammad Ali Mazidi and Janice Gillipie Mazidi 11. A Brain Friendly Guide Head First C# by Andrew Stellman and Jennifer Greene PSE 12. Programming in C# by Balagurusamy
25
Appendix
Login Form
26
Main Screen
Department Form
27
Designation
28
Employee Form
29
IC 8051
30
31
32
33