Beruflich Dokumente
Kultur Dokumente
Organization of report
Chapter I:
1.1 Abstract 1.2 Problem statement 1.3 Operating environment 1.4 Assumptions
Chapter II:
2.1 Review of related literature 2.2 Present scenario 2.3 Present and Future scope
Chapter III:
3.1 System Specifications 3.2 Block Diagram 3.3 Block Diagram description 3.4 Complexities involved
Chapter IV:
4.1 System Schematic 4.2 System Design 4.3 PCB layout 4.4 Component list
Chapter V:
5.1 System Algorithm 5.2 Program Algorithm
Chapter VI:
Performance and evaluation of the system
Refrences
CHAPTER I
1.1 Abstract
The objective of this project is to enable users to remotely control their home appliances and systems using a cell phone-based interface. To access the control unit, the user should send an authentication code along with the required/desired function/action to his/her home control system via GSM. Upon being properly authenticated, the cell phone-based interface at home (control unit) would relay the commands to a microcontroller that would perform the required function/action.
1.4 Assumptions
The following is a list of assumptions for the project:
1. The user and control unit will establish communication via GSM. 2. All service charges from service provider apply. 3. The controlled appliances will have to have an electrical interface in order to be controlled by microcontroller.
CHAPTER II
CHAPTER III
and, once the call gets picked up, enters the password and tones for a corresponding device. Every key has to be pressed for a minimum amount of time to get it latched at the decoder IC.
The Microcontroller:
The five output bits of the decoder IC serve as an input to port 1 of the microcontroller. Then each tone is verified by the programmed microcontroller and once a correct sequence of code is received, output corresponding to the tones sent by the user is made available at the port0, which is connected to relay through a relay driver.
Relay Circuitry:
The output from the port0 of the microcontroller is given to the relay driver IC which drives the corresponding relay, to which the home appliances are connected.
Home Appliances:
One terminal of each appliance is connected to relay and the other terminal is connected to 230v AC. As soon as the relay gets driven by the microcontroller the device gets switched on/off.
1. Building a programmer for the microcontroller: There are several kind of microcontroller ICs available in the market. We first bought Intels 8051 IC, but found out that it does not have flash memory, so we were not able to use it. Then we bought Atmels AT89s52 and tried to build a programmer circuit for the same. After investing some time on finding a programmer, we learnt that AT89s52 supports In System Programming (ISP) and can be programmed through the parallel port of a PC. Then we found out that a software named AEC_ISP can be used to program our IC. So we built a programmer circuit whose schematic was their inside the software and were successfully able to program our IC. 2. PCB printing: For getting a printed PCB for our circuit we first needed to design a layout. We learnt that in a software named DIPTRACE we can draw a schematic of a circuit and then get its layout. So we learnt this software and printed a layout of correct scale to actual components. Learning the software was a complex task. 3. Programming the microcontroller: We programmed the microcontroller many a times and tested it, until we got the final result.
CHAPTER IV
1. 2. 3. 4. 5. 6.
Transformer with turns ratio 230:15. A voltage regulator IC (7805) 4 diodes(1N4007) 1 electrolytic capacitors of 470uf. 4 ceramic capacitors, 2 of value 33pf and 2 of 0.1uf. 4 Resistances: 100Kohms (2 q) 300Kohms(1q) 10Kohms(1q) 7. 2 crystals: 3.58MHz 12MHz 8. 4 two pin relimates (male and female). 9. Two phones-We need one cell phone with auto answer facility on the receiver side and one phone(which can either be a cell phone or land line) with the remote user. 10. A Chord with a male connector-We need a chord with a male connector connected on one side and one end left open. The dimensions of the connector should be same as the dimensions of the jack present in the phone with the control unit. (In our case we used a 3.5mm jack) 11. DTMF tone decoding IC-IC for converting DTMF toness to their respective binary values. We used CM8870. 12. Microcontroller-AT89s52 microcontroller. 13. Relay deriver IC- ULN 2803 14. Two relays of 5v driving voltage each. 15. Two bulbs of power rating 25Watts.
CHAPTER V
IMPLEMENTATION OF SYSTEM
System Algorithm:
1. Person who wants to switch on/off a device calls on the phone at the receiver side. 2. The call gets answered automatically if it is not picked up manually till 5seconds. 3. Once the call gets answered we have to enter a password for authentication (in our case it is 1 2). 4. Then after entering the password we have to make a choice for switching on/off any device (Press * for switch on and # for switch off). 5. Then we have to enter the corresponding number for a device that we wish to switch on/off (6 for first device and 7 for the second). 6. After switching on/off device once, if we again want to switch on/off a device than we again have to enter the password and repeat the whole procedure. Note: On the transmitter side the user controlling the appliances has to press each digit for a minimum duration of time, which is 40ms.
Program algorithm:
1. 2. 3. 4. 5. On start of the system all the devices are off. If a key press is detected, program goes to 3, else it stays here. If the pressed key is 1 then program goes to 4, else it goes to 2. If 2 is pressed (correct password) program goes to 5,else it goes to 2. Now the microcontroller checks whether you want to switch on/off the device.(* for switch on and # for switch off) i). If any other key except '*' or '#' is pressed, program goes to step 2. ii).If * is pressed than it goes to (iii),if # then it goes to (v) iii).Now the microcontroller checks which device is to be switched on. iv). If 6 or 7 are pressed it switches on device number 1 or 2 respectively, and goes to 2, else it goes to 2 without switching on any device. v). Now the microcontroller checks for which device is to be switch off. vi). if 6 or 7 are pressed it switches off device number 1 or 2 respectively and goes to 2, else it goes to 2 without switching off any off the device.
CHAPTER 6
Component Resistance Diode Ceramic Cap. Electrolytic Cap. Crystal IC 7805 IC CM8870 IC AT89S52 ULN 2803 Relay PCB Bulb TOTAL COST
Quantity 4 4 4 2 2 1 1 1 1 2 1 2
Price/one 50p 1Re 50p 5Rs 8Rs 7Rs 50Rs 55Rs 25Rs 30Rs 80p/cm2 12Rs
References:
www.8051projects.net www.edaboard.com Mazidi-8051 microcontroller Dip trace Help Datasheets of the IC's