Submitted by Project overview Block diagram Power supply
Submitted by:
� Project overview � Block diagram � Power supply � Microcontroller � GSM � Relay driver � LCD � Swing motor � Software requirements � Schematic & Working of the project � Advantages � Applications � Future scope � Conclusion
� The main scope of this project is to lock the door of the room automatically in case of burglary and simultaneously to send a SMS to the police station. � The project includes a GSM modem, microcontroller, relay, voltage regulator and the 12 V battery to power up this module. � When someone tries to steal any precious item then microcontroller gets an interrupt and orders GSM Modem to send the SMS to the police station and even locks the door of the house so that the burglar can’t escape
� The 230 V AC supply is first stepped down to 12 V AC using a step down transformer. � This is then converted to DC using bridge rectifier. � The AC ripples is filtered out by using a capacitor and given to the input pin of voltage regulator 7805. � At output pin of this regulator we get a constant 5 V DC which is used for MC and other ICs in this project.
� It is a smaller computer � Has on-chip RAM, ROM, I/O ports. . . CPU I/O Port RAM ROM Serial Timer COM Port A single chip Microcontroller
External interrupts Interrup t Control On-chip ROM for program code Timer/Counter On-chip RAM Timer 1 Timer 0 CPU OSC Bus Control 4 I/O Ports P 0 P 1 P 2 P 3 Address/Data Serial Port Tx. D Rx. D Counter Inputs
� 8 K Bytes of In-System Programmable (ISP) Flash Memory � 4. 0 V to 5. 5 V Operating Range � Fully Static Operation: 0 Hz to 33 MHz � 256 x 8 -bit Internal RAM � 32 Programmable I/O Lines � Three 16 -bit Timer/Counters � Eight Interrupt Sources � Full Duplex UART Serial Channel
+5 V + 10 u. F 31 30 p. F 8. 2 K 30 p. F 11. 0592 MHz 19 18 EA/VPP X 1 X 2 9 RST
� The term GSM usually means the GSM standard and protocols in the frequency spectrum around 900 MHz. � MS- Mobile Station: The MS is the physical equipment used by a subscriber, most often a normal handheld cellular telephone. � BTS- Base Transceiver Station: The BTS comprises the radio transmission and reception devices, and also manages the signal processing related to the air interface.
�A GSM modem is a specialized type of modem which accepts a SIM card, and operates over a subscription to a mobile operator, just like a mobile phone � From the mobile operator perspective, a GSM modem looks just like a mobile phone. � When a GSM modem is connected to a computer, this allows the computer to use the GSM modem to communicate over the mobile network. � While these GSM modems are most frequently used to provide mobile internet connectivity, many of them can also be used for sending and receiving SMS and MMS messages.
� The MAX 232 is an integrated circuit that converts signals from an RS-232 serial port to signals suitable for use in TTL compatible digital logic circuits. � The MAX 232 is a dual driver/receiver and typically converts the RX, TX, CTS and RTS signals. � When a MAX 232 IC receives a TTL level to convert, it changes a TTL Logic 0 to between +3 and +15 V, and changes TTL Logic 1 to between -3 to -15 V, and vice versa for converting from RS 232 to TTL.
� The DB 9 (originally DE-9) connector is an analog 9 -pin plug of the D-Sub miniature connector family.
�A relay is an electrically operated switch. � Current flowing through the coil of the relay creates a magnetic field which attracts a lever and changes the switch contacts. � The coil current can be on or off so relays have two switch positions and have double throw (changeover) switch contacts as shown in the diagram.
� Relays allow one circuit to switch a second circuit which can be completely separate from the first. � For example a low voltage battery circuit can use a relay to switch a 230 V AC mains circuit. � There is no electrical connection inside the relay between the two circuits, the link is magnetic and mechanical. � To drive relay through MC ULN 2003 relay driver IC is used
� ULN is Relay driver application � The ULN 2003 is a monolithic high voltage and high current Darlington transistor arrays. � It consists of seven NPN Darlington pairs that features high-voltage outputs with commoncathode clamp diode for switching inductive loads. � The collector-current rating of a single Darlington pair is 500 m. A. � The Darlington pairs may be paralleled for higher current capability.
� The ULN functions as an inverter. � If the logic at input 1 B is high then the output at its corresponding pin 1 C will be low.
Ø Most common LCDs connected to the microcontrollers are 16 x 2 and 20 x 2 displays. Ø This means 16 characters per line by 2 lines and 20 characters per line by 2 lines, respectively. Ø The standard is referred to as HD 44780 U, which refers to the controller chip which receives data from an external source (and communicates directly with the LCD.
� If an 8 -bit data bus is used the LCD will require 11 data lines(3 control lines plus the 8 lines for the data bus) � The three control lines are referred to as EN, RS, and RW � EN=Enable (used to tell the LCD that you are sending it data) � RS=Register Select. When RS=0; data is treated as a command & When RS=1; data being sent is text data. � R/W=Read/Write. When RW=0; the data written to the LCD & When RW=0; the data reading to the LCD.
�A synchronous (swing) motor is one in which the rotor normally rotates at the same speed as the revolving field in the machine. � The stator is similar to that of an induction machine consisting of a cylindrical iron frame with windings, usually three-phase, located in slots around the inner periphery. � The difference is in the insulator, which normally contains an ted winding connected through slip rings or other means to a source of direct current. � Once supply is given to the motor, it starts rotating in one direction. � If power supply is cut off and given again it rotates in the other direction.
� Keil an ARM Company makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for ARM 7/ARM 9/Cortex-M 3, XC 16 x/ST 10, 251, and 8051 MCU families. � Compilers are programs used to convert a High Level Language to object code. Desktop compilers produce an output object code for the underlying microprocessor, but not for other microprocessors.
� i. e the programs written in one of the HLL like ‘C’ will compile the code to run on the system for a particular processor like x 86 (underlying microprocessor in the computer). � For example compilers for Dos platform is different from the Compilers for Unix platform So if one wants to define a compiler then compiler is a program that translates source code into object code.
� The project uses a GSM modem duly interfaced to the MC through the level shifter IC Max 232. � The sim card mounted GSM modem receives command to develop a o/p at the MC pin 36 that drives the relay, the contact point of which are used to stop the motor. � The command so sent by the user is based on an intimation received through the GSM modem & MAX 232 duly interfaced to MC from pin 11 a programmed message only if the input pin number 13 is driven low by the door switch. � Also an SMS is sent to the police station to inform about the car theft. � The complete operation is displayed over 16 X 2 LCD display
- Slides: 32