style definition design andand hardware implementation oof

5
Design Andand Hardware Implementation oOf Automation oOf Classroom Using 8051 Microcontroller M.Hymavathi M, M.Swapna M, V.Sravani Devi V, M.Naga Sruthi M, Md Abdul Khadar Riza Department of Electrical and Electronics Engineering, Vignan’s Institute of Information & Technology(A), Visakhapatnam, India. Andhrapradesh-530049 *Corresponding author: [email protected] Legacy template for preparing a research article for submission to Optics Letters Author One, 1 Author Two, 1 Author Three 2,* 1 Publications Department, OSAThe Optical Society, 2010 Massachusetts Avenue N.W., Washington, D.C. 20036 2 College of Physics, Jilin University, Changchun 130012, China *Corresponding author: [email protected] Received XX Month XXXX; revised XX Month, XXXX; accepted XX Month XXXX; posted XX Month XXXX (Doc. ID XXXXX); published XX Month XXXX Abstract: This project is to design cost effective automation system which can be easily incorporated in academic institution especially in the class rooms to conserve the energy. Lights and fans switched ON and OFF as for density of the students entering in the class room. The implementation made simpler by using sensor to detect person and compact circuitry built using 8051 microcontrollers. Which is useful to academic institutes to save money on their power bills and contribute in reducing the emissions? Present scenario of energy crisis not only demands to increase generation of energy but also to utilize it as per legitimate greenhouse gases in environment. Key WordsSensors, 8051 Microcontroller, Automation, Energy Conservation. I.INTRODUCTION 1 Present scenario of energy crisis demands to increase generation of energy. And also need to utilize carefully to conserve at public places like educational institutions. The aim of this project is to design cost effective automation system which can be easily incorporated in academic institution especially in the class rooms to conserve the energy. Example: we consider a class room B-23 which consists of 6 fans, 6 lights, 6 bulbs and the power consumed by the fan is 75 watts. The power consumed by the tube light is36 watts. The watts consumed by the flourocent lamp is 60 watts. And the wattage consumption of whole room is product of number of fans, wattage of fan, number of working hours and number of days divided by1000 then the total wattage of the classroom will be given below Actually in India for first 150 units the government charges 2.55 Rs and for next 250 units 4.80 Rs from 800 to1000 to 5.00 Rs for total units consumed by B-23 room is 307.8 units and total amount is 757.44 Rs. The implementation made simpler by using sensor to detect person and compact circuitry built around 8051 microcontroller programs. Table. 1.3. Calculations of total units consumed in one month Loads Nu mbe r of item s Nu mbe r of watt age Nu mbe r of wor king hour s Nu mbe r of days Total calculation Total numb er of units cons umed Style Definition ... Style Definition ... Style Definition ... Style Definition ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted ... Formatted Table ...

Upload: others

Post on 18-Dec-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Design Andand Hardware Implementation oOf Automation oOf Classroom Using 8051 Microcontroller

M.Hymavathi M, M.Swapna M, V.Sravani Devi V, M.Naga Sruthi M, Md Abdul Khadar Riza

Department of Electrical and Electronics Engineering,

Vignan’s Institute of Information & Technology(A),

Visakhapatnam, India. Andhrapradesh-530049 *Corresponding author: [email protected]

Legacy template for preparing a research article for submission to Optics Letters

Author One,1 Author Two,1 Author Three2,*

1Publications Department, OSA—The Optical Society, 2010 Massachusetts Avenue N.W., Washington, D.C. 20036 2College of Physics, Jilin University, Changchun 130012, China

*Corresponding author: [email protected]

Received XX Month XXXX; revised XX Month, XXXX; accepted XX Month XXXX; posted XX Month XXXX (Doc. ID

XXXXX); published XX Month XXXX

Abstract: This project is to design cost effective automation system which can be easily incorporated in academic institution

especially in the class rooms to conserve the energy. Lights and fans switched ON and OFF as for density of the students entering

in the class room. The implementation made simpler by using sensor to detect person and compact circuitry built using 8051 microcontrollers. Which is useful to academic institutes to save money on their power bills and contribute in reducing the

emissions? Present scenario of energy crisis not only demands to increase generation of energy but also to utilize it as per legitimate

greenhouse gases in environment.

Key Words— Sensors, 8051 Microcontroller, Automation, Energy Conservation.

I.INTRODUCTION1

Present scenario of energy crisis demands to increase

generation of energy. And also need to utilize carefully to

conserve at public places like educational institutions. The aim of this project is to design cost effective automation

system which can be easily incorporated in academic

institution especially in the class rooms to conserve the

energy.

Example: we consider a class room B-23 which consists of 6

fans, 6 lights, 6 bulbs and the power consumed by the fan is

75 watts. The power consumed by the tube light is36 watts.

The watts consumed by the flourocent lamp is 60 watts. And

the wattage consumption of whole room is product of number

of fans, wattage of fan, number of working hours and number

of days divided by1000 then the total wattage of the classroom

will be given below Actually in India for first 150 units the government charges 2.55 Rs and for next 250 units 4.80 Rs

from 800 to1000 to 5.00 Rs for total units consumed by B-23

room is 307.8 units and total amount is 757.44 Rs.

The implementation made simpler by using sensor to detect

person and compact circuitry built around 8051

microcontroller programs.

Table. 1.3. Calculations of total units consumed in one month

Loads Nu

mbe

r of

item

s

Nu

mbe

r of

watt

age

Nu

mbe

r of

wor

king

hour

s

Nu

mbe

r of

days

Total

calculation

Total

numb

er of

units

cons

umed

Style Definition ...

Style Definition ...

Style Definition ...

Style Definition ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted ...

Formatted Table ...

International Journal of Progressive Research in Science and Engineering

Volume:: 21, Issue:1: 1, JanuaryApril-20210.

www.ijprse.com

2

Formatted: Font: 12 pt

Formatted Table

Formatted: Font: 12 pt

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Fans 6 75 10 30 (6*75*10*

30)/1000

135u

nits

Tube

light

6 36 10 30 (6*36*10*

30)/1000

64.8u

nits

Flour

ocent

lamp

6 60 10 30 (6*60*10*

30)/1000

108

units

This system inculcate discipline in the students by giving no

option but to occupy the front row first and back bencher to

come front and then only have the comfort of fan and light.

At the same time want to help the academic institutes to save

money on their power bills and contributes in reducing the emission of green house gases in environment.

II. PROPOSED SYSTEM

A classroom mostly consists of a fan and a tube light

at least. Many a times it is observed that it’s the human nature

and we tend to forget to switch off the lights when we leave

the house. This leads to more of energy consumption and

wastage of energy. The same scenario can also happen with

the classroom. Hence it is considered as one of the most

important issue that needs to be addressed. The same system is not only dedicated to solve the problems of class room but

the same can also be used in home automation application.

The said system can be used to keep a track on the devices

that are on in the classroom when we are not present. This will

lead to automation plus the energy consumption factor that

will save energy. The system will operate with the help of a

relay module. The relay controls the circuit functions and acts

as an interface between input and output circuits. The system

will also require a communication network channel that helps

to transmit messages between the application at the user end

and the hardware at the system end.

A. Block diagram:

The following fig. 1. Shows the schematic block diagram of

proposed system. In this block diagram the microcontroller

89C51 is main component of whole circuit.

Fig.1. Block diagram of Automation System

III. HARDWARE DESIGN

1. Power supply:

For our project we require a +5v power supply.

This power supply can be designed using voltage regulator

IC 7805.

2. Micro-controller 89C51:

The IC 89C51 is a low-power, high-performance CMOS 8-bit

microcomputer. It has 4K bytes of Flash Programmable and

Erasable Read Only Memory (PEROM). The device is

produced by using Atmel high density non-volatile memory technology and it is corresponding with MCS-51™

instruction set and pin-out. By combining an all-round 8-bit

CPU with Flash memory on a monolithic chip, the Atmel

AT89C51 becomes a powerful microcomputer, which

provides a highly flexible and cost effective solution in so

many embedded control applications.

Fig.2. Prototype Model of automation system

3. Relay Driver:

Output of micro-controller is not sufficient to drive the relay

directly. Therefore, to drive the relay we are using relay driver

i.e. transistor as switch. We used transistor IC ULN2804.

This IC has 8 transistors in it.

4. Relay:

Formatted: Left

Formatted: Font: 8 pt

Formatted: Font: (Default) Arial

Formatted: Centered

Formatted: Font: (Default) Arial, Not Bold

Formatted: Centered

International Journal of Progressive Research in Science and Engineering

Volume:: 21, Issue:1: 1, JanuaryApril-20210.

www.ijprse.com

3

Formatted: Font: 12 pt

Formatted Table

Formatted: Font: 12 pt

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Relay is electromechanical switch. This electromechanical

switch is used to turn ON-OFF the Loads.

5. Seven segment:

The seven segments displays are the oldest yet one of the

efficient types of display used in embedded applications. This

display has nothing more than 8 LED inside it. So to make an

LED of a particular segment glow we just have to power

common pin along with the segment pin. This way we can

power more than one segment at a time to represent the numeric number 0-9 and also few Alphabets as shown on the

graphic image below. We also have an option to show a

decimal point using the DP pin.

Software

Keil µVision IDE

Proteus

Hardware

AT89C52 Microcontroller (40 Pin, 4V-5.5V, 0Hz-

33MHz).

Relays (5 Pin mini Relay 10A, 250V AC).

Relay driver (ULN2003, 5V TTL, CMOS, 14 PIN

IC).

Common Anode Seven Segment Display (10-20mA,

1.8V-2.2V)

Lamps (230V, 50Hz, 0Watts).

LED

IV. SOFTWARE SIMULATIONS

The Keil C51 is the most popular 8051 C compiler in the world. It provides more features as compared to other C

compiler. The C51 Compiler allows you to write 8051

microcontroller applications in C which have the efficiency

and speed of assembly language. [7] In the C51Compiler, it

gives you full access to all resources of the 8051.

Proteus Software

ISIS provides the development environment for PROTEUS

VSM, our revolutionary interactive system level simulator.

This product combines mixed mode circuit simulation, micro-

processor models and interactive component models to allow

the simulation of complete micro-controller based designs. ISIS provides the means to enter the design in the first place,

the architecture for real time interactive simulation and a

system for managing the source and object code associated

with each project. In addition, a number of graph objects can

be placed on the schematic to enable conventional time,

frequency and swept variable simulation to be performed.

V. RESULTS AND CONCLUSION

Case1: First bulb is in ON condition when count is greater than 0 and less

than 10.

Case2: First and second bulb are in ON condition when count is greater than

10 and less than 20.

Case3: Three bulbs are in ON condition when count is greater than 20 and

less than 30.

Formatted: Font: (Default) Arial

Formatted: Centered

Formatted: Centered

Formatted: Centered

Formatted: Centered

International Journal of Progressive Research in Science and Engineering

Volume:: 21, Issue:1: 1, JanuaryApril-20210.

www.ijprse.com

4

Formatted: Font: 12 pt

Formatted Table

Formatted: Font: 12 pt

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Case4: All the four bulbs are in ON condition when count is greater than 30

and less than 50.

By this automation of loads in class room we were able to

minimize an economical expense along energy conservation.

And we can improve desiplane in students.

REFERENCES

[1]. Automatic room light intensity detection and control

using a microprocessor and light sensors, Ying-Wen

Bai; Dept. of Electronics. Eng., Fu-Jen Catholic

Univ., Taipei; Yi-Te Ku.

[2]. Kadam Shah, Prakash Savaliya and Mitesh Patel

"Automatic Room Light Controller With

Bidirectional Visitor Counter" (IJICTRD)

International Journal of ICT Research and

Development | Vol-1 Issue-4 | ISSN: 2395-4841.

[3]. Automatic room light controller with bi-directional

counter (vol-1 issue-4) ISSN: 2395-4841.

[4]. B wannarka, Rachel; ruhl,Kathy(may 2008).”Seating

arrangements that promote positive academic and

behavioural outcomes: A review of empirical

research”.Support for learning.23(2):89-

93.Doi:10.1111/j.14679604.2008.00375.X.Retrived 17

September 2001.

[1] Automatic room light intensity detection and control using

a microprocessor and light sensors, Ying-Wen Bai; Dept. of

Electronics. Eng., Fu-Jen Catholic Univ., Taipei; Yi-Te Ku.

[2] Reference Book: Programming in ANSI C: E BALAGURUSAMY.

[3] Kadam Shah, Prakash Savaliya and Mitesh Patel

"Automatic Room Light Controller With Bidirectional Visitor

Counter" (IJICTRD) International Journal of ICT Research

and Development | Vol-1 Issue-4 | ISSN: 2395-4841.

[4] Automatic room light controller with bi-directional

counter (vol-1 issue-4) ISSN: 2395-4841.

http://www.ijictrd.net/papers/IJICTRDV1I4005.pdf.

[5] ^a b wannarka, Rachel; ruhl,Kathy(may 2008).”Seating

arrangements that promote positive academic and behavioural

outcomes: A review of empirical research”.Support for

learning.23(2):89-93.Doi:10.1111/j.1467-

9604.2008.00375.X.Retrived 17 September 2001. This legacy template can be used to prepare a letters article for submission to Optics Letters. Letters articles have a four-page limit, and this template will help authors approximate final page length. Formal funding sources should be identified separately from any other acknowledgments. Consult the OSA Author Style Guide for general information about manuscript preparation. © 2019 Optical Society of America

http://dx.doi.org/10.1364/OL.99.099999 To use this template, you will need to apply the embedded styles to each paragraph-level item in your manuscript, or simply use this template as a visual guide. Equations. Display equations should be broken and aligned for two-column display unless spanning across two columns is essential. For MathType math, use the Format Equations feature to format all equations as Times + Symbol 10. Apply the Equations style to create appropriate spacing above and below.

2 4.

2

b b ac

a

(1)

Tables. Styles for table title, table head, and table text are provided in the MS Word Styles ribbon. Tables should be set as one column wide if possible and be placed near their first mention in the body. Using the Word styles. In this template, styles for the manuscript appear in the MS Word Styles ribbon (or toolbar for older versions of Word). The names of these styles will begin with “OSA”; for example, the title style is “OSA Title.” Apply the appropriate style before typing or apply the style to existing text. It is possible to paste manuscript text into this template or attach this template to an existing manuscript. Margins. The margins for a published Optics Letters paper are 0.75” (top), 0.88” (bottom), and 0.69” (left and right). Equations. Display equations should be broken and aligned for two-column display unless spanning across two columns is essential. For MathType math, use the Format Equations feature to format all equations as Times + Symbol 10. Apply the Equations style to create appropriate spacing above and below.

2 4.

2

b b ac

a

(1)

Tables. Styles for table title, table head, and table text are provided in the MS Word Styles ribbon. Tables should be set as one column wide if possible and be placed near their first mention in the body. Figures. As with tables and equations, figures should be set as one column wide if possible unless two-column display is essential. If possible, set the figures in the desired position within the text. Consult the Electronic Art Submission Guidelines for a guide to sizing figures and figure type. The space above a figure should be 24 points, and the space between a figure and its caption should be 9 points.

Fig. 1. Caption text with descriptions of (a), (b), and (c).

Formatted: Centered

Formatted: Default Paragraph Font, Font: Calibri, 8 pt

Formatted: Normal, Justified, Pattern: Clear (Background 1)

Field Code Changed

Formatted: Font: (Default) Times New Roman, Font color:Black

Formatted: Font:

International Journal of Progressive Research in Science and Engineering

Volume:: 21, Issue:1: 1, JanuaryApril-20210.

www.ijprse.com

5

Formatted: Font: 12 pt

Formatted Table

Formatted: Font: 12 pt

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: Font: 12 pt, Bold

Formatted: Font: 12 pt, Bold, Not Italic

Formatted: 04. Email

Formatted: Font: 12 pt, Bold

Supplementary material. Consult the Author Guidelines for Supplementary

Materials in OSA Journals for details on accepted types of materials and instructions on how to cite them. All materials must be associated with a figure, table, or equation or be referenced in the results section of the manuscript. (1) 2D and 3D image files and video must be labeled “Visualization,” not “Movie,” “Video,” “Figure,” etc. (2) Machine-readable data (for example, csv files) must be labeled “Data File.” Number data files and visualizations consecutively, e.g., “Visualization 1, Visualization 2….” (3) Large datasets or code files must be placed in an open, archival database. Such items should be mentioned in the text as either “Dataset” or “Code,” as appropriate, and also be cited in the references list. For example, “see Dataset 1 (Ref. [1]) and Code 1 (Ref. [2]).” Here are examples of the references: Sample dataset citation T. Ireno and R. Tadaa, "Chemical and mineral compositions of sediments from ODP Site 127-797" (Geological Institute, University of Tokyo, 2009), http://dx.doi.org/10.1594/PANGAEA.726855. Sample code citation Zima Engineering, ZIMA-CAD-Parts: Application for management of CAD files and projects (version 0.5.0-beta1) [software] (2013), http://sourceforge.net/projects/zima-cad-parts/. Funding sources, acknowledgments, and disclosures. Formal funding sources should be listed in a separate paragraph block before any other acknowledgment information. Funding sources and any associated grant numbers should match the information entered into the Prism manuscript system. Funders should be listed without any introductory language or use of labels (do not use labels such as “grant no.”). Disclosures should be listed in a separate section at the end of the manuscript. List the Disclosures codes identified on OSA’s Conflicts of Interest policy page. If there are no disclosures, then list “The authors declare no conflicts of interest.” Here are examples of each statement: Funding. National Science Foundation (NSF) (1263236, 0968895, 1102301); The 863 Program (2013AA014402) Acknowledgment. We thank the Optics Laboratory for the use of their equipment. Disclosures. ABC: 123 Corporation (I,E,P), DEF: 456 Corporation (R,S). GHI: 789 Corporation (C). Disclosures. The authors declare no conflicts of interest. References Set references at the back of the manuscript. Optics Letters uses an abbreviated reference style. Citations to journal articles should omit the article title and final page number. However, full references (to aid the editor and reviewers) must be included as well on a fifth page that will not count against page length. M. R. E. Lamont, Y. Okawachi, and A. L. Gaeta, Opt. Lett. 38, 3478 (2013). A. Cordero-Davila, J. R. Kantun-Montiel, and J. Gonzalez-Garcia, in Imaging and Applied Optics Technical Digest 2012 (Optical Society of America, 2012), p. 13.