slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
Download Presentation


123 Vues Download Presentation
Télécharger la présentation


- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript


  2. OBJECTIVE Most technologies intend to reduce human effort thus saving precious time. Our project aims to make its contribution to the purpose of diminishing human effort in performing the task of remote monitoring and data sensing

  3. STAGE OF THE PROJECT 1.Deciding upon the required components. • P89V51RD2 Microcontroller • Zigbee module. • sensors. • motors. 2. Deciding upon the software required for the implementation of our project 3. Detailed study of the components. • microcontroller P89V51RD2. • Zigbee and Zigbee protocols were studied in detail. • sensors was done. • motors, • logic converters, • motor driver IC • wireless camera . 4. Designing: • interfacing circuits of the various components with the microcontroller. • Switching circuit to switch between the two modes was designed. • Circuit for interfacing the motors to the microcontroller was designed.

  4. BLOCK DIAGRAM Receiver end

  5. BLOCK DIAGRAM Transmitter end

  6. Switching circuit At the receiver node the microcontroller needs to communicate with the xbee as well as the GSM modem through the UART. The switching circuit provides a means to switch the control of the communication lines between the two modems. Switching between the communication lines of the microcontroller is done using a multiplexer and a demultiplexer

  7. switching circuit at the receiver node

  8. NC7SB3257 The NC7SB3257 is a high performance, 2:1 NMOS passgate multiplexer/demultiplexer.

  9. motor drive circuitry

  10. L293D • Wide Supply-Voltage Range: 4.5 V to 36 V • Separate Input-Logic Supply • Internal ESD Protection • Thermal Shutdown • High-Noise-Immunity Inputs • Output Current 1 A Per Channel • Output Clamp Diodes for Inductive • Transient Suppression (L293D)

  11. Smoke sensorThe CMOS MC145012 is an advanced smoke detector component containing sophisticated very-low-power analog and digital circuitry. The IC is used with an infrared photoelectric chamber. Detection is accomplished by sensing scattered light from minute smoke particles or other aerosols. When detection occurs, a pulsating alarm is sounded via on-chip push-pull drivers and an external piezoelectric transducer.The variable-gain photo amplifier allows direct interface to IR detectors (photodiodes). Two external capacitors, C1 and C2, C1 being the larger, determine the gain settings. Low gain is selected by the IC during most of the standby state. Medium gain is selected during a local-smoke condition. High gain is used during push-button test. During standby, the special monitor circuit which periodically checks for degraded chamber sensitivity uses high gain also.The I/O pin, in combination with VSS, can be used to interconnect up to 40 units for common signaling. An on-chip current sink provides noise immunity when the I/O is an input. A local-smoke condition activates the short-circuit-protected I/O driver, thereby signaling remote smoke to the interconnected units. Additionally, the I/O pin can be used to activate escape lights, enable auxiliary or remote alarms, and/or initiate auto-dialers.

  12. While in standby, the low-supply detection circuitry conducts periodic checks using a pulsed load current from the LED pin. The trip point is set using two external resistors. The supply for the MC145012 can be a 9.0 V battery.A visible LED flash accompanying a pulsating audible alarm indicates a local smoke condition. A pulsating audible alarm with no LED flash indicates a remote smoke condition. A beep or chirp occurring virtually simultaneously with an LED flash indicates a low-supply condition. A beep or chirp occurring halfway between LED flashes indicates degraded chamber sensitivity. A low-supply condition does not affect the smoke detection capability if VDD ≥ 6.0 V. Therefore, the low-supply condition and degraded chamber sensitivity can be further distinguished by performing a push-button (chamber) test.

  13. The general features of smoke sensor include:• Circuit is designed to operate in smoke detector systems that comply withUL217 and UL268 Specifications• Operating Voltage Range: 6.0 V to 12 V, Average Supply Current: 8 μA• Operating Temperature Range: -10 to 60°C• I/O Pin Allows Units to be Interconnected for Common Signaling• Power-On Reset Places IC in Standby Mode (Non-Alarm State)• Electrostatic Discharge (ESD) and Latch Up Protection Circuitry on All Pins• Supports NFPA 72, ANSI S3.41, and ISO 8201 Audible Emergency Evacuation Signals• Ideal for battery-powered applications• Pb-Free Packaging.

  14. IR SensorIR sensor is a robust digital reflective beam type sensor which can detect light areas in a dark background and vice versa. The sensor can be used in line followers, edge detectors and wall followers the circuit uses a simple comparator (LM358) and some passive components.General features of the IR sensor include:On board potentiometer to tune the sensor for different shades.On board indicator LED shows the value of output facilitating debugging.Minimum interference from ambient light by use of IR.Connect the IR sensor to the 8051 input port. Adjust the potentiometer according to the need.Test the sensor by looking at the indicator LED.

  15. CameraIt features an excellent wireless transmission range, broadcasts on 1.2 GHz to avoid interference, and a receiver with Video OUT so it can easily and quickly be set up with a TV for viewing the images from the camera as they are being sent. This product uses the PAL colour system. The receiver specifications include:• Receiving Frequency: 0.9/1.2Ghz • Intermediate Frequency: 480Mhz• Frequency Stabilization: +/-100Khz• Demodulation Mode: FM • Antenna: 50ohm SMA • Receiving Sensitivity: -85dBm • Power Source: 9V • Dimensions: 120mm x 81mm x 20mm (L x W x D) • Video OUT

  16. Camera specification• Image Device: 1/4 Inch CMOS • TV system: PAL/CCIR: 628 x 582 • Horizontal Definition: 380 Lines • Angular Field of View: 38 deg• Minimum Illumination: 3 LUX • Synchronization System: Internal • Backlight Compensation: Auto • White Balance: Auto • S/N Ratio: >48dB • Operation Temperature: 5~ 35 ° C • Transmission Frequency: 1.2Ghz• Locked Frequencies • Power Adapter: DC 9V • Dimension: 20x20x22mm (LxWxD) • Recommended Max Range for Objects: 7~8 Meters • Transmission Range: 20 Meters


  18. µVision Keil • ROLE IN THE DESIGN: • µVision Keil provides Integrated Development environment for 8051 programming . • The µVision IDE from Keil combines project management, make facilities, source code editing, program debugging, and complete simulation in one powerful environment • It is very easy to use. • It’s device database is large which supports many ICs of the 8051 family. • A HEX file can be created with the help of Keil which is required for burning onto chip. • It has a powerful debugging tool which detects most of the errors in the program

  19. FlashMagic • ROLE IN THE DESIGN: • Flash Magic is a PC tool for programming flash based microcontrollers from NXP using a serial or Ethernet protocol while in the target hardware.  • It has some excellent features like changeable baud rate, erase all flash before programming, setting security bits etc. • The HEX file created with the help of keil is selected through it for programming the microcontroller.

  20. START INPUT MODE no no yes Mode==0? no IR Sensor i/p==1? no Sensor i/p==1? Other Sensor i/p==1? yes yes yes Keyyboardi/p==1? Alert on cell phone Move robot Display sensor on PC yes Move robot

  21. AT commands used for GSM modemEmbedded cellular modules are mainly controlled by the use of AT commands. They are a set of command-language or instructions that are sent to a cellular module to perform different actions.These commands or instructions can be sent over a USB, serial, or other interface to the cellular modules from the main controller of the application.AT commands with a GSM/GPRS MODEM or mobile phone can be used to access following information and services:1.      Information and configuration pertaining to mobile device or MODEM and SIM card.2.      SMS services.3.      Data and Voice link over mobile network.

  22. Types of AT Commands: There are four types of AT commands1)Test commands - used to check whether a command is supported or not by the modem.SYNTAX:  AT<command name>=? For example:   ATD=?2)Read command - used to get mobile phone or MODEM settings for an operation.SYNTAX: AT<command name>?For example:              AT+CBC?3)Set commands - used to modify mobile phone or MODEM settings for an operation.SYNTAX: AT<command name>=value1, value2, …,valueSome values in set commands can be optional.For example:   AT+CSCA=”+9876543210”, 1204)Execution commands - used to carry out an operation.SYNTAX:                    AT<command name>=parameter1, parameter2, …,parameterThe read commands are not available to get value of last parameter assigned in execution commands because parameters of execution commands are not stored.For example:               AT+CMSS=1,”+ 9876543210”, 120

  23. Explanation of commonly used AT commands1)AT - This command is used to check communication between the module and the computerFor example: AT+ OKThe command returns a result code OK if the computer (serial port) and module is connected properly. If any of module or SIM is not working, it would return a result code ERROR.2)+CMGF - This command is used to set the SMS mode. Either text or PDU mode can be selected by assigning 1 or 0 in the command.SYNTAX:         AT+CMGF=<mode> 0: for PDU mode 1: for text modeThe text mode of SMS is easier to operate but it allows limited features of SMS. The PDU (protocol data unit) allows more access to SMS services but the operator requires bit level knowledge of TPDUs. The headers and body of SMS are accessed in hex format in PDU mode so it allows availing more features.For example: AT+CMGF=1 OK

  24. 3) +CMGW - This command is used to store message in the SIM.SYNTAX:          AT+CMGW=” Phone number”> Message to be stored Ctrl+zAs one types AT+CMGW and phone number, ‘>’ sign appears on next line where one can type the message. Multiple line messages can be typed in this case. This is why the message is terminated by providing a ‘Ctrl+z’ combination. As Ctrl+zis pressed, the following information response is displayed on the screen.‘+CMGW: Number on which message has been stored’4) +CMGS - This command is used to send a SMS message to a phone number.SYNTAX:          AT+CMGS= serial number of message to be send.As the command AT+CMGS and serial number of message are entered, SMS is sent tothe particular SIMFor example: AT+CMGS=1 OK

  25. 5)ATD - This command is used to dial or call a number.SYNTAX:         ATD<Phone number>(Enter)For example: ATD1234567896)ATA - This command is used to answer a call. An incoming call is indicated by a message ‘RING’ which is repeated for every ring of the call. When the call ends ‘NO CARRIER’ is displayed on the screen.SYNTAX:         ATA(Enter)As ATA followed by enter key is pressed, incoming call is answered.For example: RING RING ATA7)ATH - This command is used to disconnect remote user link with the GSM module.SYNTAX:         ATH (Enter)