EE 413 Communication Electronics Capstone Design Project (Motion Detector Alarm Dialer) Instructor Dr. Pao Lo Liu Group Members Chee Fai NG (3032-0373)

Slides:



Advertisements
Similar presentations
An Electronic System Power Supply Example
Advertisements

Chapter 20: pnpn and Other Devices
Smart lighting control Done by : Haya Salah Esraa Nabulsi Eman Dwikat Under the supervision of: Dr. Kamil Subhi.
ELECTRONIC STICK FOR BLIND PEOPLE
Resistor Circuit Symbol
Project: Electronic Cricket
Pulse Detector Ramiro Duarte, Clayton Greenbaum Prof. Betty Lise Anderson.
Alex Bode Emmanuel Cordova Mikel Dualos Christa Hamilton Medical Instrumentation Spring 2011.
Revision analog electronics
Indian Institute of Technology Hyderabad Laser Door Alarm By By- Sagar Adhikari Ved Prakash.
Chapter 6 (Oscillators)
Part A: Controlling Oscillation Frequency with Capacitors and Resistors Part B: Diodes and Light Experiment Timer.
Technician License Course Chapter 3 Electricity, Components and Circuits Lesson Plan Module 6.
MEASUREMENT DEVICES OUTLINE Multimeters Analog Multimeters
Astable multivibrators I
Lightning Detector Michael Bloem December 5, 2002 Engr 311.
EKT214 - ANALOG ELECTRONIC CIRCUIT II
TEST YOUR BRAIN! Components.
As an Astable Multivibrator 1. 2  An integrated chip that is used in a wide variety of circuits to generate square wave and triangular shaped single.
M.S.P.V.L. Polytechnic College, Pavoorchatram
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
© 2012 Pearson Education. Upper Saddle River, NJ, All rights reserved. Electronic Devices, 9th edition Thomas L. Floyd Electronic Devices Ninth.
Pulse Width Modulation (PWM) LED Dimmer Circuit
As an Astable Multivibrator.  An integrated chip that is used in a wide variety of circuits to generate square wave and triangular shaped single and.
BASIC ELECTRONICS.
Physics and Electronics. Electronic systems Electronic systems are made up of 3 parts: 1)An INPUT SENSOR – these detect changes in the environment Examples:
Designs and Implementation Ring Detector circuit Design: Ring Detector circuit Design:
EGD ELECTRICAL ELECTRICAL SYMBOLS.
Project Goals And Objectives ____________________________________________________ Create a “smart”, customizable, all in one system Little to no learning.
Unit 7, Chapter 24 CPO Science Foundations of Physics.
Project: Pulse meter Idea: Use noninvasive infrared light to probe blood pressure and pulse rate in a finger tip. Uses: A variant of this device is used.
Twenty Questions Electronics. Twenty Questions
CHAPTER 11 Op-Amp Applications. Objectives Describe and Analyze: Audio mixers Integrators Differentiators Peak detectors Comparators Other applications.
Electronic Components. Battery A portable power source that has a positive and negative. Electronics works on Direct Current (DC) where electrons flow.
Lab 10 Experiment 21 Design a Traffic Arrow. Just so it is clear This is it. – Last official experiment for the semester. It is your option as to whether.
Experiment 21 Design a Traffic Arrow.
DESIGNING A TEMPERATURESENSOR DESIGNING A TEMPERATURE SENSOR We will be using the following format for designing this circuit: CONTROLOUTPUTINPUT.
Technician License Course Chapter 3 Lesson Plan Module 6 – Part 2 Electrical Components 28 March 2015 Practice Questions 2014 Technician License Course.
Electronic. Analog Vs. Digital Analog –Continuous –Can take on any values in a given range –Very susceptible to noise Digital –Discrete –Can only take.
OPTICAL SENSORS 13 JULY 2004 Chung Hsieh. Basics Operation An Light Emitting Diode (LED) sends out light which bounces back from the target. Exciting.
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
Project: Pulse meter Idea: Use noninvasive infrared light to probe blood pressure and pulse rate in a finger tip. Uses: A variant of this device is used.
Self Switching Power Supply. Introduction Self Switching Power Supply  Embedded system requires a regulated power supply.
Solar Power Charge Controller. Solar Power Charge Controller Introduction  A charge controller, or charge regulator is basically.
Auto turn off battery charger Auto turn off battery charger.
HOT CAR BABY DETECTOR Group #20 Luis Pabon, Jian Gao ECE 445 Dec. 8, 2014.
Sound Source Location Stand Group 72: Hiroshi Fujii Chase Zhou Bill Wang TA: Katherine O’Kane.
 A transistor is the basic building block of electronic components.  The average computer may have millions of them within its circuits.  Essentially,
The Working Theory of an RC Coupled Amplifier in Electronics.
Chapter 6: Voltage Regulator
Application Case Study Christmas Lights Controller
SENSORS.
Electronic Eye Controlled Security System
HIDDEN ACTIVE CELL PHONE DETECTOR
Application Case Study Security Camera Controller
Arduino Based Industrial appliances control system by decoding dual tone multi frequency signals on GSM / CDMA network. Submitted by:
OVER VOLTAGE OR UNDER VOLTAGE
LOAD CUTOFF SWITCH UPON OVER VOLTAGE OR UNDER VOLTAGE
The university of Lahore Department of computer Engineering Electric Network Analysis Project Tittle : Audio tone IR transmitter and receiver Group.
UNIT-IV Application of Special I.C’s.
(EVENING ON TO MORNING OFF)
Fault detection Lecture (3).
QUIZ COMPETITION SENSOR FOR FASTEST FINGER PRESS
Basic Electronics.
Project Title EVM IN PIC Under the Guidance of Submitted by.
AQA GCSE 6 Systems approach to designing Design and Technology 8552
Unit IV 555 Timer.
ECE 3336 Introduction to Circuits & Electronics
Which of the following devices or circuits changes an alternating current into a varying direct current signal? A. Transformer B. Rectifier C. Amplifier.
Circuit Components.
Presentation transcript:

EE 413 Communication Electronics Capstone Design Project (Motion Detector Alarm Dialer) Instructor Dr. Pao Lo Liu Group Members Chee Fai NG ( ) Jia Quan Cheok ( ) EE Department University at Buffalo

Project Title: Automatic Dial Alarm System Objectives:-  To design and build application circuits using microcontroller.  To understand how a dial alarm system work.  To build a motion detector and understand how it work.  To learn and understand PIC language which use to program the microcontroller.

How The Dial Alarm Circuit Work  This dial alarm system consists of motion detector as an input.  A trigger pulse will send by the motion detector once it sense any movement occurs within the coverage area.  This trigger pulse will turn on a BC 557 transistor and deliver power to microcontroller.  Microcontroller will then start to execute the program.

How The Dial Alarm Circuit Work (Cont.)  The LED in the opto-coupler will be turns on and causes the line to be “picked up” by using a high gain Darlington transistor.  The microcontroller then dials two pre set phone numbers to alert the listener by sent down a “Hee Haw” signal.  A microphone with high gain amplifier also connected to the phone line to detect conversation or movement in the target area.  The two numbers are then called again before the alarm closes down.

Dial Alarm Circuit

Dial Alarm Circuit (Cont.)  Turn on circuit  Tone detector  DTMF wave shaping circuit  High gain audio amplifier  Opto-coupler  Microcontroller

Turn On Circuit  Need 6v power supply.  Turn on the circuit by motion detector  Microcontroller, diode and 100k resistor are the component use to keep the “turn on” circuit on.  To ensure the alarm only carries out one alarm operation and resets and ready for another trigger pulse, the trigger device must be AC coupled to the circuit.  The “turn on” circuit work by charging the top electrolytic  Energy from the electrolytic flows into the base of the BC557 transistor and allows current to flow between collector and emitter leads and activates the rest of the project.

Tone Detector  Use to detect any tone about 500Hz on the phone line like DTMF.  Alarm will be turn off when tone is detected.  The circuit amplifies the signal on the phone line and turns on a transistor.  Biasing components keep the transistor off.  When there is a signal, the transistor turns on and collector goes low and cause the 4.7uF electrolytic discharged via diode.  At the same time, the 4.7uF electrolytic is getting charged via 100k resistor.  The electrolytic will be fully discharged and will be detected by the microcontroller as low if the frequency of the signal is high enough.

DTMF wave-shaping circuit  Dual Tone Multiple Frequency (DTMF) – waveform must be in sine wave.  To convert a square wave into sine wave produce by the microcontroller.  Waveform is form by charging and discharging capacitor by using a resistor.  Two tones are produced separately by the microcontroller and then combined after wave shaping in order to reduce the interference between the two waveforms.  The 10mH choke is used to smooth out the shape of the waveform and increased the dialing accuracy.

High Gain Audio Amplifier  Build by two transistors which used to pick up sounds in the target area during the alarm activation.  It is directly coupled to the phone line via a bridge.  Any change in impedance of any components connected to the phone line will cause signal sent down the line.  A 20mV signal from the microphone will produce 1000mV signal on the collector of the first transistor and passed to the output transistor.  Amplitude of the waveform across the output transistor is about 2-3V.  The pre-amplifier section is powered by the 5V supply where as the output transistor is driven from the phone line.  Audio amplifier is off when the DTMF tone is sent down the line.

Opto-coupler  It is used to picks up the phone line.  The LED in the opto-coupler will be turned on when the motion sensor is activated.  The LED turns on a phototransistor inside the opto-coupler and reduces the resistance between collector and emitter leads of the phototransistor and this pulls the base of a Darlington transistor towards the positive rail.

Microcontroller  It is an 8-pin chip with 5 input/output lines and one output- only line.  The output lines change from low-to-high-to-low very fast.  The program set inside the microcontroller determines what happens on each lines and parts around it are use to adapt or modify or amplify a signal to suit the microcontroller or phone line.

Flow Chart Turn Off DTMF 2 nd Number Turn Off DTMF 1 st Number Detect Audio Hee Haw Detect Audio Hee Haw Detect Audio Start End Hee Haw Repeat second time

Multi Chip Programmer

What used to trigger the Dial Alarm System?  Temperature/Voltage Level module  Monitor temperature or voltage level presets  Pressure map  Listen-in Module  Listen in to the area being protected  Motion Module  Detect moving persons and trigger the Dial Alarm.

PIR Movement Detector  Pyro-electric infra-red movement detector centers around a Pyro-electric(‘body heat’) infra-red sensor & a KC778B controller chip.  KC778B  provides amplification, filtering, clock, comparators a daylight detector and a voltage regulator.  PIR sensor  three lead high impedance sensor.  Requires a Fresnel beam focusing lens.  Fresnel lens  break up observation area into optical zones so a heat source moving from one optical zone to another generate heat waves on PIR detector’s surface.  Lower gain circuit & excellent lens system

PIR Detector Schematic

Circuit Description  There are three main sensitivity controls built into circuit:-  Movement Sensitivity:  Heart of this part  PIR sensor  Connected to pin 2, 7, & 8 of the KC778B.  Pin 7  pyro drain reference, Pin 8  pyro source input.  Control/adjust the sensitivity/”range” for the PIR sensors.  The sensitivity controlled at pin 2, which is a PIR sensitivity input pin.  Using a trimpot (potentiometer), P1(referred in the previous circuit)  When P1 adjusted where equals the sensor drain potential (pin 7) (~0.5V), sensitivity max. When connected to ground,(~0.125V), sensitivity min.

 Daylight Sensitivity:  Adjust the sensor to be active for just the night and inactive during the daytime.  This sensitivity controlled by another trimpot P2 and a LDR (light dependent resistor) which is connected to pin 12 on the microchip. (pin12  silicon photo diode input pin)  P2 used to control how sensitivity the LDR to be against light.  LDR has very high resistance (million of ohms) when no light, and significantly low resistance when illuminated (hundred of ohms).  The Toggle terminal been configured to give user an exit delay about 30s so have time to leave the room after turning it on.  Optional feature  Could be disable by connect pin 12 to Vcc.

 Pulse on-time Adjust:  This part adjust the output pulse from between 1.5 seconds upwards when movement detected.  The amount of time delay controlled by another trimpot P3 connected at pin 18 &19 of the KC778B chip (off timer OSC pins).  Minimum time delay can be build by connect directly the pins 18 & 19 with no external capacitors and resistors.  A terminal block then connected from the output pin from the chip where output signal from here is connected to the input of the Dial Alarm circuit.

KC 778B Controller Chip PIR Front End Amplifiers & Noise cancellation circuit Switched capacitor Bandpass Filter Oscillator & Synchronizatio n Citcuitry Threshold comparators & Timing circuitry Daylight Detector Amplifier and Comparator Voltage Regulator Sensitivity Adj Offset Filter Pyro (D) Pyro (S) Gain Select Anti Alias DC Cap Fref R C Daylight Sense Daylight Adjust LED OUTPUT V Reg

KC 778B Controller Chip (Cont’d)  The heart of the whole circuit as the motion detection IC.  Optimum with the electrical signals from the PIR sensors which have very low frequency (0.1 to 10 Hz) and bandwidth.  Operating voltage is 4 – 15V.  With the 78L05 voltage regulator we connected in pin 1(Vcc), the input voltage should be around 9 – 12V.

PIR Movement Detector (building and testing)  When building up the system, we used ~2.5” by 3.5” PC Board.  Be aware of the right polarity of capacitors, transistor, LEDs and the PIR sensors.  Components especially the controller chip and PIR sensor could damaged easily it placed incorrectly.  The PIR sensor, LDR and Fresnel lens are mounted on the copper side of PCB (opposite side of all components)  So, the system be easily placed (e.g. in a box) with the lens poking out with the electronics on top of the PCB for easy access.

All components except PIR sensor, LDR and Fresnel lens on top of PCB PIR sensor, LDR and Fresnel lens mounted back of PCB

 After building the whole circuit, we tested it in the electronics lab.  We applied a 9V transistor battery to Vcc pin of the chip.  Connect a voltmeter to the Output pin.  When power applied, waited about 30 seconds and wave hand in front of PIR sensor.  The LED indicator light, and the Voltmeter from the output jump from zero volts to 9 volts in the screen.  When no movement detected, the LED light off and the voltmeter value back to zero.

Graphs Obtained from Testing  needed warm up  30 seconds exit delay by the configured toggle terminal block (pin15 on chip) – detector not operate.  Movement detected – LED light ~20s where the output voltage ~ 9V.  No movement – LED light off where output voltage ~ 0V.

Question???  Finally the PIR movement detector ready to be cascade to the Dial Alarm circuit!  Became a Motion Detector Alarm Dialer!