- Open Access
- Total Downloads : 797
- Authors : B. Chandra Mohan, Krishna Kanth.Y, G. Mahendra Babu, K. Mahesh Babu
- Paper ID : IJERTV2IS3064
- Volume & Issue : Volume 02, Issue 03 (March 2013)
- Published (First Online): 11-03-2013
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
GSM Based ClassRoom Power Control
1B.ChandraMohan, 2Krishna Kanth.Y, 3G,Mahendra Babu, 4K.Mahesh Babu
1Head of the Department of ECE, Bapatla Engineering College, Bapatla-522101, India, 2Final Year, Department of ECE, Bapatla Engineering College, Bapatla-522101, India, 3Final Year, Department of ECE, Bapatla Engineering College, Bapatla-522101, India, 4Final Year, Department of ECE, Bapatla Engineering College, Bapatla-522101, India,
Abstract: This paper defines a scheme for control of power in a class room thereby saving electricity which is a major concern today. It also describes the use of wireless sensor networks using GSM for class room power monitoring and control. This system would provide a remote access for class room power control and maintenance. Pow- er saving is an important issue when there is a severe power cut. If the appliances are switched off when not in use, power can be saved. In this work, a GSM based class room power control scheme is employed. The microcontroller used in the proposed scheme is AT89S52. The proposed system is highly secure, since unauthorized users are not permitted to access the power control.
Index terms: GSM , AT89S52 MICRO CON- TROLLER.
-
INTRODUCTION
Embedded systems are designed using mi- crocontrollers and microprocessors. A micropro- cessor is a general purpose IC like 8085,8086,80386 and the Pentium. These micro- processors do not contain any RAM, ROM, I/O ports. For this reason these are called general pur- pose microprocessors. A system designer using microprocessor must add external ROM, RAM, I/O ports to make his system functional. As a result the system becomes much bulkier and much more ex- pensive, yet they have the advantage of versatility such that designer can decide on the amount of RAM, ROM, and I/O ports needed to fit the task.
This is not the case with microcontroller, which has a CPU(a microprocessor) in addition to fixed amount of RAM,ROM,I/O ports and timers on a single chip. We can rightly say that the pro- cessor, RAM, ROM,I/O ports and timers are em- bedded together on one chip. Therefore designer cannot add any external memory, I/O ports or time- rs to. Microcontroller and microprocessor are used in embedded systems products. An embedded sys- tem uses a microprocessor or a microcontroller to do one and one function only. A printer is an ex- ample of an embedded system since it performs single task, namely, getting the data and printing it. Contrast to this, a Pentium based PC performs many tasks which includes word processor, print server, bank terminal, video game player,
network server, or internet terminal. In an em- bedded system, there is only one application software that is typically burned into ROM. But, in a general purpose system there are many applica- tion softwares, one for each function.
.
-
SYSTEM ARCHITECTURE
Figure 1. Block diagram
.
The system comprises six devices: a AT89S52microcontroller,GSM,LCDdisplay,Transf ormer,Bulb, Mobile phone. All the components are interfaced to the Microcontroller.AT89S52 has 8051 based architecture microcontroller. It is a low cost efficient Microcontroller. The transformer helps in providing a constant voltage of 5v to the microcontroller. A message is sent from mobile to the GSM through air medium. The GSM which is interfaced to microcontroller sends a signal corre- sponding to the message given from the mobile. For example If message is 123BULBON then the
GSM sends a signal to the microcontroller to make the relay ON so that power is supplied to the bulb via relay.
If the message is 456BULBOFF then the GSM sends a signal to the microcontroller to make the relay OFF so that no power goes to the bulb via relay. The LCD is used to display the status of the message, that is, it shows whether the microcon- troller is reading the message or not. It also dis- plays the message that a return message is sent to the mobile phone for acknowledgement. Hence LCD is an important component which displays the status of the operation of our system. The relay acts as an electrical switch. It is operated by the signal from the microcontroller. The relay supplies power or cut off power as per the signal received from microcontroller.
2.1 AT89S52
IIIIJJJJ
IIIIJJJJ
EEEE
EEEE
The AT89S52 is a low-power high per- formance CMOS 8-bit microcontroller with 8K bytes of in system programmable flash memory. It is based on the 8051 architecture. The device is manufactured using Atmel high density non- volatile memory technology and is compatible with standard 8051 instruction set and pin out. The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt ar- chitecture, a full duplex serial port, on-chip oscilla- tor. The microcontroller AT89C52 is not IN- SYSTEM programmable but AT89S52 csn be pro- grammed even when the microcontroller is in- stalled in the system.
The AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The IDLE mode stops CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The power down mode saves down the ROM contents but freezes the oscillator, disabling all other chip functions until the next in- terrupt reset. The on chip flash allows the program memory to be reprogrammed in-system or by a conventional non volatile memory programmer. By combining a versatile 8 bit CPU with in-system programmable flash on monolithic chip, the Atmel AT89S52 is a powerful microcontroller which pro- vides high flexibility and cost effective solutions to many embedded control application.
TTTT
TTTT
Figure 2. AT89S52
RRRR
RRRR
Figure 3. Internal Architecture of AT89S52.
This microcontroller has five software select- able power saving modes. The Idle mode stops the CPU while allowing the RAM, Timer/Counters, SPI port, and interrupt system to continue function- ing. The Power down mode saves the register con- tents but freezes the Oscillator, disabling all other chip functions until the next Interrupt or Hardware Reset. In Power-save mode, the asynchronous timer continues to run, allowing the user to maintain a timer base while the rest of the device is sleeping. The ADC Noise Reduction mode stops the CPU and all I/O modules except asynchronous timer and ADC, to minimize switching noise during ADC conversions. In Standby mode, the crystal/resonator Oscillator is running while the rest of the device is sleeping. This allows very fast start-up combined with low-power consumption.
-
GSM
GSM(Global System For Mobile commu- nication) is a standard set by European Telecom- munication Standards Institute to describe proto- cols for second generation(2G) digital cellular net- work used by mobile phones. The GSM standard was developed as a replacement for first genera- tion(1G) analog cellular network, and originally described a digital circuit switched network opti- mized for full duplex voice telephony. This was expanded over time to include data communication, first, by circuit switched transport, then packet data transport via GPRS(General Packet Radio Service) and EDGE(Enhanced data rates for GSM evolu- tion).
-
RELAY
IIIIJJJJ
IIIIJJJJ
EEEE
EEEE
A relay is an electrically operated switch. Relays are used where it is necessary to control a circuit by a low power sgnal or where several cir- cuits are controlled by one signal. It is usually an electromagnetic device which has a coil .When this coil is supplied with power, a magnetic field is cre- ated which makes it to act as a switch. A solid state contactor is a heavy-duty solid state relay, includ- ing the necessary heat sink, used where frequent on/off cycles are required, such as with electric heaters, small electric motors, and lighting loads. There are no moving parts to wear out and there is no contact bounce due to vibration. They are acti- vated by AC control signals or DC control signals from Programmable logic controller (PLCs), PCs, Transistor-transistor logic (TTL) sources, or other microprocessor and microcontroller controls.
Figure 4. Relay, Bulb connection
-
LCD
A Liquid Crystal Display is a flat panel, electronic visual display device which do not emit light directly. It uses the light modulating properties of the liquid crystals to display the mes- sage. The LCD is a much more informative output device than a single LED. The LCD is a display that can easily show characters on its screen. LCDs range in size, price and configuration, from having a couple of lines to large displays. Some are even very specifically designed for a single application, having only that ability to display set graphics.
LCD is interfaced to the microcontroller which controls the displaying message in the LCD. The microcontroller sends specific digital signals corre- sponding to the message that is to be displayed by the LCD. These digital signals from microcontrol- ler make LCD to display the required message. Hence it displays the status of the system.
-
TRANSFORMER
RRRR
RRRR
TTTT
TTTT
The transformer is the main component in the power supply unit. It step downs the 240v ac supply and gives it to the bridge rectifier. The pul- sating dc output of the bridge rectifier is given to capacitive filter. The filter provides us the dc signal with some ripples created due to the charging and discharging action of the capacitive filter. The dc signal with ripple is converted into perfect dc signal of 5v by LM8405 regulator. This 5v dc signal is given to the microcontroller and to all its interfaced components. The transformer role is very important in supplying the required low voltage signal from the high voltage signal.
Figure 5. Power supply unit.
-
-
FLOW CHART 4. EXPERIMENTAL RESULTS
BRIDGE REC-
BRIDGE REC-
LM78
LM78
Supply Power to the system
Supply Power to the system
TRANS-
TRANS-
LCD
LCD
RE-
RE-
Start
AT89
AT89
Send message from a mobile
GS
Send message from a mobile
GS
Message dis- played on LCD
TTTT
TTTT
Figure 6.Circuit diagram
The bulb glows and GSM sends ac- knowledgment
The bulb glows and GSM sends ac- knowledgment
IIIIJJJJ
IIIIJJJJ
EEEE
EEEE
If message is123BULB ON
The bulb will not glow and GSM sends the acknowledgement
The bulb will not glow and GSM sends the acknowledgement
If message 456BULBO FF
Stop
The flow chart gives the complete idea of the working of the system. The message sent from the mobile is analysed by the microcontroller and it switches ON or OFF the bulb through the relay, as per the message sent from the mobile. An acknowl- edgement is sent to the mobile after the required task is done by the microcontroller.
RRRR
RRRR
Figure 7.LCD Display
Figure8.Glowing Bulb
-
CONCLUSION
In this work we introduced how to control a bulb with message from a mobile using relay capable of handling only (3-5)A of current only. The power in a class room can be done by increasing current handling capabilities of the relay, since the amount of current flowing in class room circuit is much larger than 3-5 A of current. The transformer voltage rating must
be increased for controlling power in the class.
-
REFERNCES
-
-
Muhammad Ali Mazidi, Janice Gillispie ,Rolin D, The 8051 Microcontroller and Embedded Systems, Edition 2, pp. 22-45, 2012
-
Kenneth.J.Ayala, The 8051 Microcontroller, Edition 3, pp.61- 97,2000
-
Vladimir Gurevich, Electric Relay Principles and Application, pp.45-78,2000
-
Rappaport, Wireless Communication Principles and Practice
,Edition 2,2000.
-
Jia-Ren Chang Chien, Cheng-Chi Tai The Information Home Appliance Control SystemA Bluetooth Universal Type Remote Controller Proceedings of the 2004 IEEE. International Network- ing, Sensing & Control. Taipei, Taiwan, Vol. 1,pp. 399-400, March 21-23. 2004.
-
Malik Sikandar Hayat Khiyal, Aihab Khan, and Erum Shehzadi SMS Based Wireless Appliance Power Control System (HACS) for Automating Appliances and Security, Issue in Information Science and Information Technology Vol.6, pp 887-894, 2009.
-
Rifat Shahriyar, Enamul Hoque, S.M. Sohan, Iftekhar Naim, Remote Controlling of Power using Mobile Telephony, Inter- national Journal of Smart Home, Vol. 2, No. 3, July, 2008
]
]
[8 Yuksekkaya B, Kayalar A.A, Tosun M.B, Ozcan M.K, Alkar A.Z, "A GSM, internet and speech controlled wireless interactivepower control system," Consumer Electronics, IEEE Transactions on Consumer Electronics,Vol.52,no.3,pp.837-843,Aug.2006
-
Jacob Milliman, Electronic devices and circuits,Edition.2,pp.52- 290,2008
-
D. Menniti, A.Burgio, G. Fedele A cost effective ac voltage regulator to mitigate voltage sags and dim lamps in street- lighting
Applications, 9th IEEE conference on Environmental and Electri- cal Engineering,pp396,399,2010.
-
Chunguo Jing, Dongmei Shu and Deying Gu, Design of Streetlight Monitoring and Control System Based on Wireless Sensor Networks Second IEEE conference on industrial Elec- tronics and Applications pp1-7 2007.
-
R. Caponetto, G. Dongola, L. Fortuna, N. Riscica and D. Zufac- chi , Power consumption reduction in a remote controlled street
lighting International Symposium on Power Electronics, Elec- trical Drives, Automation and Motion(SPEEDAM).pp.428-433. 2008.
-
Ransom.S., Pfisterer,.D., Fischer.S, Comprehensible Security Synthesis for Wireless sensor Networks, Proceedings of the 3rd international workshop on Meddleware for sensor Net- works,Leuven, Belgium, pp.19-24,2008.