Wide Range Of Remote Communication Computer Science Essay

Published:

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

Abstract

A wide range of remote communication features are possible when Ethernet connectivity is added to embedded designs.  For example, it can enable end users to remotely monitor systems using a web browser or receive messages triggered by service alerts or low product inventory.  This benefits them through cost and time savings since they can centrally monitor, control and service their embedded systems over the Internet instead of physically being there. The growing demand for embedded Ethernet products enables easy network connectivity for cost-sensitive embedded designs.

In many Organizations there are Data Centers which includes sensitive data that must be protected. Exceeding Temperature or Humidity can cause damage to Organization equipment's. And also we should be able to control the number of employees entering to the Data Center for unimportant reasons. (example :-Entering to switch On/Off lights). To control and monitor remotely placed devices, every time we should go to that place and make certain operations. And also there should be a way to track the access to the Data Center. When the Temperature and Humidity of the Data Center exceeds or decreased from pre-defined values there should be a way to alert to the responsible person. To overcome these problems we have developed a system that saves time and control and monitor remote devices through LAN.

Our system can easily switch On/Off lights. And even schedule the amount of time the lights should be on. So we can save the power consumption and reduce labor cost. And our system can easily detect the exceeding temperature or humidity and inform the responsible person by sending an SMS. If an unauthorized person enters the data center an SMS alert will be send to the responsible person. The main seek of this project is to develop a controlling monitoring and security system for an Organization.

Table of Contents

1 Introduction…………………………………….………..………………………...3

2 Objectives……...…………...………………………..…………….………………..5

2.1 Specific Accomplishments………………………...……………………………...5

2.2 General Accomplishments……..……....…………………………………………5

2.3 Main Functions…………………………………………………………………….6

2.3.1 Control and Monitor Remote Devices.………….……………....…..6

2.3.2 SMS Function…………….……..…..…………………………........6

3 Procedures…..…………………………..………………………………………...….7

Design Procedures………………...………………………………………....……7

Main Components………………………………………………………………...8

Power Supply……………………………………………………..8

Micro Controller…………………………………………………..8

RS 232 CONVERTER……………………………………………9

Relay……………………………………………………………..10

E2S Card……………………………………….……..………….10

Buzzer……………………………………………………………11

PC Side Operations……………………………………………....11

Grant Chart……………………………………………………………………....12

3.3 Participants Task………………………………………………………………....13

3.4 Supervisor Task…………….…………………………………………………….15

4 Hardware and Software Requirements……….………………………………...16

4.1 Hardware Requirements……...………………………………………………….16

4.2 Software Requirements………………………………………………………….16

5 Personal and Facilities…….……………………………………………………...17

6 Budget………….………………………………………………………………….18

7 Reference….………………………………………………………………………19

1. INTRODUCTION

In many Organizations there are data centers which contain sensitive data which has to be protected. And there are many remotely placed devices like lights, AC, fans, etc… that sometimes consumes power for no reason. So if those devices need to be turned On/Off an Employee should go to that place and make necessary operations. This task may consume valuable time and money of the Organization. The Temperature or the Humidity of the data center exceed or decreased for some reason (ex: - cause of fire) there is a large possibility that it may result in damage to the Organization sensitive data. So there should be away to continually monitor the Temperature and the Humidity and if there is a large difference between the current temperature value and the expected temperature value the system should inform to the responsible person immediately. And also we should be able to control the number of employees entering to the Data Center for unimportant reasons. So to reduce the outcomes of the above problem we have introduce a System that continuously monitor secures the data of an Organization.

The system is mainly designed to control remote devices (ex:-lights, etc…) and switch On/Off those devices when necessary. And also the system can schedule the time that the lights should be on. So the main purpose of those two tasks is to reduce the power consumption. Our system can detect exceeding or decreasing temperature and Humidity and if the current temperature value is considered harmful, the system automatically sends an SMS alert to the responsible person. So as a result of this task large number of sensitive information can be saved for the Organization. And finally our system can detect the access to the Data Center and inform the responsible person by sending an SMS alert and also a Buzzer will be activated.

Key Benefits

Control remote devices through LAN (Lights , A/Cs, etc…) .

Automating tasks (Scheduling tasks).

Monitoring parameters like temperature, humidity in a desired environment.

Sending SMS alerts.

Detect access to the Data Center.

Saves time, power and reduce labor cost.

The General Overview of the System is displayed in Figure 1.1

Data Center

datacenter

compaq-presario-desktop-pc3

Humidity Sensor Temperature Sensor Relay switcheslm335z-temperature-sensor529135Honeywell_HIH

MCUdotted lineC:\Users\Altaaf\Desktop\InfoBunker-blast-lock-large2.jpg

Outlet

Untitled-4 copy

dotted line

Remote PC

Ethernet to Serial Converter Door Check

C:\Documents and Settings\it10075272\Desktop\cell_14.jpg

Mobile Phone

Figure 1.1

2. Objectives

The overall goal of this project is to develop a system that can monitor, control and secure the sensitive data of an Organization. This project is widely useful for a Date Center. This system will provide a way to monitor the Data Center from a Remote location. There are several specific and general accomplishments that an Organization gains by using such a system.

2.1 Specific Accomplishments

Control remote devices through LAN (Lights, Fans, etc…).

Automating tasks (Scheduling tasks).

Monitoring parameters like temperature, humidity in a desired environment.

Sending SMS alerts.

Preventing unauthorized access to the Data Center.

2.2 General Accomplishments

Protect sensitive data of the Organization.

Reduce the power consumption.

Reduce labor cost.

Increase Security.

The entire interface has the following features:

SMS functionality for exceeding and decreasing Temperature and Humidity.

SMS functionality to prevent unauthorized access to the Data Center.

Control and schedule remotely placed devices.

2.3Main Functions

2.3.1 Control and Monitor Remote Devices

The microcontroller continually listens for a signal coming from the PC. The received signal will be decoded and the micro controller will check for the status of the relay array. So according to the user requirement the lights can be controlled. For an example if the light is currently turned ON and the user wish to turn the light OFF the desired relay will be switched OFF. And the user can schedule the amount of time the lights should be turned on or off.

2.3.2 SMS Function

Every 30 seconds the micro controller reads the current temperature and humidity using the desired sensors. The values that have been read are forward to the remote PC. If the Temperature or the Humidity exceeds the desired values then the PC will generate a SMS message and send it to a responsible person.

Access to the Data Center will be detected using an IR sensor or LDR. At such situation an interrupt will be trigged from the micro controller and it will switch on the Buzzer and also sends a signal to the Remote PC. Form the PC side a SMS message will be generated and forward the message to a responsible Person.

Ozeki NG SMS Gateway software is used to generate a SMS message. A database is been maintained to send SMS messages.

3. Procedures

3.1 Design Procedures

This system uses Visual Basics software, which is designed as the application platform monitors and co-ordinates with the embedded devices, attached to the LAN network. Using this project we can communicate with any embedded systems or machine connected to the LAN network. This project is mainly doing an application with the embedded LAN card available. This card mainly has an interface to the LAN network and it has a serial port .The micro controller with different devices will be connected according to the Figure 1.1. If we want to control any of the devices we have to send a command indicating switch off the relay one with the IP address of that network.

LAN Cable

Micro Controller-

PIC16F877A

Control

Circuit

Ethernet to Serial Convertor

RS232

Convertor

Computer

Device 1

Device 2

Device 4

Device 3

Temperature Sensor

Door check

Power Supply

Trans Former

Rectifier

Regulator

(7805)

Humidity Sensor

Buzzer

Buzzer Driver

Buzzer OSC

Figure 3.1 displays the overall Block diagram of the system

Mobile Phone

Figure 3.1

3.2 Main Components

3.2.1 Power Supply

The microcontroller and other devices get power supply from AC to Dc adapter through voltage regulator. The adapter output voltage will be 12V DC non regulated. The 7805 voltage regulators are used to convert 12 V to 5VDC as shown in Figure 3.2.1

Filter

Regulator (7805)

AC Power

DC Output

AC/DC Adapter

Figure 3.2.1

3.2.2 Micro controller-PIC16F877A

The PIC16F877A is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. It is a 40 pin micro controller which has the capability handle interrupts.

Features:

8K Bytes of In-System Programmable (ISP) Flash Memory

Operating speed: DC - 20 MHz clock input

DC - 200 ns instruction cycle

40 pins

Eight level hardware stack

Wide operating voltage range: 2.0V to 5.5V.

UART with 9-bit address detection.

10-bit multi-channel Analog-to-Digital converter.

The Micro Controller is used to,

Read the data from LAN card through serial port.

Control devices attached to it.

Monitor and Report the current temperature and humidity value periodically (Every 30 seconds).

Detect access to the Data Center using an IR sensors and in such situation inform to the remote PC and activate the Buzzer.

3.2.3 RS 232 CONVERTER (MAX 232N)

This is the device, which is used to convert TTL/RS232 vice versa.

RS-232Protocol

RS-232 was created for one purpose, to interface between Data Terminal Equipment (DTE) and Data Communications Equipment (DCE) employing serial binary data interchange. So as stated the DTE is the terminal or computer and the DCE is the modem or other communications device.

RS-232 pin-outs for IBM compatible computers are in Figure 2.3.4.  There are two configurations that are typically used: one for a 9-pin connector and the other for a 25-pin connector.

9-pin RS-232 pinout

Figure 2.3.4

Voltage range

The standard voltage range on RS-232 pins is _15V to +15V. This voltage range applies to all RS-232 signal pins. The total voltage swing during signal transmission can be as large as 30V. In many cases, RS-232 ports will operate with voltages as low as _5V to +5V. This wide range of voltages allows for better compatibility between different types of equipments and also allows greater noise margin to avoid interference. Because the voltage swing on RS-232 lines is so large, the RS-232 signal lines generate a significant amount of electrical noise. It is important that this signal does not run close to high impedance microphone lines or audio lines in a system. In cases where you must run these types of signals nearby one another, it is important to make sure that all audio wires are properly shielded.

The main role of the RS232 chip is to convert the data coming for the 12-volt logic to 5 volt logic and from 5 volt logic to 12 volt logic.

3.2.4 Relay

The relay subsystem is an electrically-operated switch. The relay switches when the signal coming into the driver is high. It must be connected to a Darlington or transducer driver subsystem.

The relay coil is connected between the supply rail (+V) and the input signal. This acts as load on the driver. When the input signal coming into the relay subsystem is low, a potential difference across the relay coil causes current to flow. It is this flow of current that causes contacts to switch.

Relay is used as electrical switch to control the devices attached to device.

3.2.5 E2S CARD

E2S card is a serial /Ethernet and Ethernet/serial converter module. E2S is a device that converts RS-232 protocol into TCP/IP protocol. It enables remote gauging, managing and control of a Serial device through the network based on Ethernet and TCP/IP by connecting to the existing equipment with RS-232 serial interface. In other words, E2S is a protocol converter that transmits the data sent by serial equipment as TCP/IP data type and converts back the TCP/IP data received through the network into serial data to transmit back to the equipment. E2S also supports UDP protocol for Broadcast kind of application.

2.3.6 Block Diagram C:\Users\Altaaf\Desktop\etos.jpg

E2S Card is used to capture the user commands and convert the data into Ethernet packets.

3.2.6 Buzzer

The buzzer subsystem produces a 2 KHz audible tone when powered. The buzzer will sound when the signal coming into the driver is high. It must be connected to a transistor, Darlington or transducer driver subsystem.

The buzzer is connected between the supply rail (+ V) and the input signal. This acts as load on the driver. When the input signal coming into the buzzer subsystem is low, a potential difference across the buzzer causes current to flow. It is this flow of current that causes the buzzer to sound.

3.2.7 PC side operations:

First the Ethernet Adopter must be configured. In configuration mode we will be having serial configuration mode, server configuration mode etc. Ethernet Adopter is also called as LAN Card.

In Visual basics, a component called Winsock is used for communication through LAN. We can use User Datagram Protocol or Transmission Control Protocol which depends upon our application.

EAD will be having an IP address and port number which is nothing but another machine which converts Ethernet data to serial data or vice versa.

In our system we have to know the IP address and port number which is very essential for Winsock communication.

We can select the device and we can send machine number through LAN which in turn converts the Ethernet data to serial data and transfers to the microcontroller.

The Micro Controller in turn does the operation based on the received data and it also requires data through the LAN to the system

3.3 Grant Chart

C:\Documents and Settings\IT10078860\Desktop\untitled.JPG

3.4 Participants Task

MEMBER 1: - L. R Malimage (Team Leader)

Task

Application Developer.

Getting data from the Micro controller.

Design the User Interface.

Testing Debugging and Documentation.

The Application is developed using C# programming language.

Schedule the amount of time the lights should be turned on.

Send and receive data to/from the Serial Interface and perform action according to the request.

Send and receive data to/from the micro controller.

Get the current temperature/humidity values from the microcontroller and compare with the ideal temperature/humidity values and if there is a significant difference between the two values the SMS function will be called.

If there is an access to the Data Center the SMS function will be called.

MEMBER 2: - M.A.A Anver

Task

Programming the microcontroller.

Reading temperature and Humidity.

Detecting Access to the Data Center.

Handling the Serial Communication.

Testing Debugging and Documentation.

The microcontroller is programmed using Micro C. the micro controller continually reads the current temperature and humidity values in the Data Center (Every 30 sec). The values will be forward to the Remote PC in order to validate the temperature and the humidity values.

Access to the Data Center will be detected using an IR sensor or LDR. At such situation an interrupt will be trigged from the micro controller and it will switch on the Buzzer and also sends a signal to the Remote PC. Before authorized people enter the Data Center, the door check option should be disabled, if not the buzzer and SMS alerts will be activated.

The microcontroller continually listens for a signal coming from the PC. The received signal will be decoded and the micro controller will check the status of the relay array. If the light is currently turned ON and the user wish to turn the light OFF the desired relay will be switched OFF.

MEMBER 3: - T.A.M Kalpage

Task

Handling the SMS function.

Getting data from the Micro Controller, Compare the value and if required Send an SMS.

Testing Debugging and Documentation.

Ozeki NG SMS Gateway software is used to generate a SMS message and sent that message to a responsible person. SMS message will be generated only for critical situations. Ex; - for Increasing/Decreasing temperature or humidity, unauthorized access to the Data Center.

Get the current temperature/humidity values from the microcontroller and compare with the ideal temperature/humidity values and if there is a significant difference between the two values a SMS message will be generated and send it to a responsible person.

If there is an unauthorized access to the Data Center a SMS message will be generated and forward to a responsible person. A SQL database is been maintained to send SMS messages.

If the user is currently in the data center, receiving SMS alerts would be un-necessary. So in order to receive SMS alerts, user has to activate this option from the application.

C:\Users\Altaaf\Desktop\SQL_SMS_figure.jpg

3.5 Block Diagram

MEMBER 4: - S.S Liyanage

Task

Designing and Implementing control circuit.

Handling Conversion between Ethernet and Serial.

Testing Debugging and Documentation.

Connect the Temperature, Humidity and IR sensors to the PIC micro controller. The signals that are read from the sensors have to be converted to digital format. This task is important to read the sensor values more accurately.

Design the Power circuit according to figure 2.3.2. To control the incoming voltage, a voltage regulator is used. So it will convert whatever the voltage to a consistent 5V.

Design the control circuit.

Handling the signals coming from the micro controller serial interface and sending the signal to the PC using the Ethernet interface.

3.5 Supervisor task

Provide advices and directions in connecting and programming the micro controller.

Hardware and Software Requirements

4.1 Hardware Requirements

Power Supply - 12V/1A DC

Microcontroller - PIC16F877A

Crystal - 11.0592 MHz

LAN card

E2S card

max232 - RS232 to TTL converter

Relays(12v)

Buzzer - Freq-1 to 18khz.Volt-5v-12vDC

Temperature, Humidity and IR sensors.

Programming Board

Electronic Equipments

4.2 Software Requirements

Micro C.

Visual Studio C#.

SQL Server

Ozeki NG SMS Gateway software.

Personnel and Facilities

Name

Role

Resources Needed

L. R Malimage (Team Leader)

Application Developer

Laptop, Software's (Visual studio, SQL )

M.A.A Anver

Programming the microcontroller

Microcontroller, Programming Board, Software's(micro C) Laptop, Ethernet to Serial Convertor

T.A.M Kalpage

Handling the SMS function

Software's (Visual studio, SQL, Ozeki NG), mobile phone, Laptop, Ethernet to Serial Convertor

S.S Liyanage

Designing and Implementing control circuit

Electronic Equipments, Ethernet to Serial Convertor

6. Budget

The parts that factor into the cost of the product are all parts used, but more costs may be incurred in order to solve the inverter timing issues and isolation problems

Part

Cost (Rs)

Quantity

Cost (Rs)

Temperature Sensor

200

1

200

Humidity sensor

200

1

200

Ethernet to Serial Convertor

4100

1

4100

IR Sensor

100

1

100

40PIN PIC

500

1

500

20 MHz Oscillator

50

1

50

Buzzer

30

1

30

Relay controller

100

1

100

Voltage Regulator

10

1

10

MAX232 level converter

50

1

50

Programming Board

1800

1

1800

Parts Subtotal

7140

Writing Services

Essay Writing
Service

Find out how the very best essay writing service can help you accomplish more and achieve higher marks today.

Assignment Writing Service

From complicated assignments to tricky tasks, our experts can tackle virtually any question thrown at them.

Dissertation Writing Service

A dissertation (also known as a thesis or research project) is probably the most important piece of work for any student! From full dissertations to individual chapters, we’re on hand to support you.

Coursework Writing Service

Our expert qualified writers can help you get your coursework right first time, every time.

Dissertation Proposal Service

The first step to completing a dissertation is to create a proposal that talks about what you wish to do. Our experts can design suitable methodologies - perfect to help you get started with a dissertation.

Report Writing
Service

Reports for any audience. Perfectly structured, professionally written, and tailored to suit your exact requirements.

Essay Skeleton Answer Service

If you’re just looking for some help to get started on an essay, our outline service provides you with a perfect essay plan.

Marking & Proofreading Service

Not sure if your work is hitting the mark? Struggling to get feedback from your lecturer? Our premium marking service was created just for you - get the feedback you deserve now.

Exam Revision
Service

Exams can be one of the most stressful experiences you’ll ever have! Revision is key, and we’re here to help. With custom created revision notes and exam answers, you’ll never feel underprepared again.