Project: security lock system Idea: –Create a 4bit password using switches –Send data serially (one bit at a time) using an LED –Receive the code serially.

Slides:



Advertisements
Similar presentations
Chris Whiting & Keddy Malcolm.  555 Timer Pin Layout  555 Timer Configuration  555 Timer – Other Applications  Malcolm Results  Whiting Results 
Advertisements

Basic Circuits TEST YOUR BRAIN!.
Electronics Principles & Applications Sixth Edition Chapter 13 Integrated Circuits (student version) ©2003 Glencoe/McGraw-Hill Charles A. Schuler.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Project: Electronic Cricket
Electricity and Circuits
Oscillators with LC Feedback Circuits
Section 24.4 The 555 Timer. 2 Rectangular Waves - Reminder: Duty Cycle – ratio of pulse width to cycle time where PW = the pulse width of the circuit.
Part A: Controlling Oscillation Frequency with Capacitors and Resistors Part B: Diodes and Light Experiment Timer.
Section 24.4 The 555 Timer. Rectangular Wave In the RC circuit from last week, we charged and discharged the capacitor by moving a switch. If you repeatedly.
Project 3 Build an Astable Multivibrator
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.
Electronic Instrumentation 1 Experiment 7 Digital Logic Devices and the 555 Timer Part A: Basic Logic Gates Part B: Flip Flops Part C: Counters Part D:
Astable multivibrators I
WATER LEVEL CONTROLLER USING 555 TIMER
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
Pulse Width Modulation (PWM) LED Dimmer Circuit
Announcements Assignment 6 due on Friday Project ideas due today
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.
Electronic Metronome Using a 555 Timer.
BASIC ELECTRONICS.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
TIMERS.
Pulse Width Modulation (PWM) LED Dimmer Circuit
Project: sun tracker Idea: –Use two photodiodes to detect where the sun is –Control a motor to turn toward the sun –When sun is “half-way” between PD,
Objectives How Microcontroller works
1 Electronics 4.4: Digital Processes Transistors and Digital Electronics Electronics 4.4: Digital Processes.
Astable Multivibrator
PHY 202 (Blum)1 Analog-to-Digital Converter and Multi-vibrators.
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
PHY 202 (Blum)1 Analog-to-Digital Converter and Multi-vibrators.
PWM Circuit Based on the 555 Timer. Introduction In applications LED Brightness Control we may want to vary voltage given to it. Most often we use a variable.
Operational Amplifier 555 Timers Term 4 Projects.
Astable Multivibrators ©Paul Godin Created February 2007 Oscillator Basics.
Electronic. Analog Vs. Digital Analog –Continuous –Can take on any values in a given range –Very susceptible to noise Digital –Discrete –Can only take.
1 13. Pulsed waveforms and Timing Circuit Design 13.1Op. Amp. Pulse GeneratorsOp. Amp. Pulse Generators timer IC Oscillator555 timer IC Oscillator.
Students should be able to :
GROUP MEMBERS:- PRITAM,BHAVESH,VRAJ SUBMITTED TO:- HITENDRA JOSHI.
Reverse Parking Sensor Circuit.
US ADC (Analogue to Digital Conversion) and DAC (Digital to Analogue Conversion) 4 Weeks 3 Credits.
TITLE: 555 Timer OM INSTITUTE OF TECHNOLOGY Subject: Analog Electronics ( ) Semester: 03 Prepared By:
Sampling. Introduction  Sampling refers to the process of converting a continuous, analog signal to discrete digital numbers.
Electronic Devices and Circuit Theory
Application Case Study Christmas Lights Controller
SENSORS.
Clock Signals: 555 Timer 555 Timer Digital Electronics TM
Key Stage ic Using a (555 IC) as a Monostable / Astable Circuit 555 IC Live Wire / PCB Wizard - (555 IC) Circuit RA Moffatt.
TOPIC:PWM LED DIMMER/BRIGHTNESS CONTROL BY 555 TIMER
LATCHED, FLIP-FLOPS,AND TIMERS
REMOTE JAMMING DEVICE.
EI205 Lecture 8 Dianguang Ma Fall 2008.
555 Timer EEE DEPARTMENT KUMPAVAT HARPAL( )
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Basics of digital systems
Project: security lock system
Principles & Applications
Multivibrator.
Unit IV 555 Timer.
Chapter 7 Latches, Flip-Flops, and Timers
Project 3 Build an Astable Multivibrator
555 Timer 555 Timer Digital Electronics TM 1.2 Introduction to Analog
EET 1131 Unit 13 Multivibrators and the 555 Timer
ELEC207 Linear Integrated Circuits
Project 3 Build an Astable Multivibrator
555 Timer 555 Timer Digital Electronics TM 1.2 Introduction to Analog
Mark Bristow CENBD 452 Fall 2002
Monostable AIM: To understand the operation of a monostable and be able to choose component values to give a required time period PRIOR KNOWLEDGE: Resistor.
Electricity and Circuits
Presentation transcript:

Project: security lock system Idea: –Create a 4bit password using switches –Send data serially (one bit at a time) using an LED –Receive the code serially and convert data into a 4 bit number –Compare the received data with original code –Unlock the key if it matches! Potential uses: TV/ DVD/Car unlock … remote control Components: –Timer -- Switch –Shift Register -- Comparators –Amplifier Optional: extending the system into 8-bit … … ?

LM555 Timer Used as an oscillator to drive a speaker Trigger: when < 1 / 3 Vcc, the output is high (Vcc) Threshold input: when > 2 / 3 Vcc and the trigger is > 1 / 3 Vcc, the output is low (0V). If the trigger is < 1 / 3 Vcc, it overrides the threshold input and holds the output high. Reset input: when less than about 0.7V, all other inputs are overridden and the output is low. Discharge pin: This is connected to 0V when the timer output is low and is used to discharge the timing capacitor in astable operation.

LM555 Timer as an oscillator Astable operation: The circuit oscillates on its own. With the output high, the capacitor C is charged by current flowing through R A and R B. The threshold and trigger inputs monitor the capacitor voltage and when it reaches 2 / 3 Vcc (threshold), the output becomes low and the discharge pin is connected to 0V. The capacitor discharges with current flowing through R B into the discharge pin. When the voltage falls to 1 / 3 Vcc (trigger) the output becomes high again and the discharge pin is disconnected, allowing the capacitor to start charging again. Adjust duty cycle (time on : total time) by adjusting the ratio between R A and R B. Note that pin 4 (reset) is held at Vcc here. You will need change the connection for light sensitivity. From

LM555 Timer Some equations for astable operation: The charge time (output high) is given by: t 1 = (R A + R B ) C And the discharge time (output low) by: t 2 = (R B ) C Thus the total period is: T = t 1 + t 2 = (R A + 2R B ) C The frequency of oscillation is: f = 1/T = 1.44/ (R A + 2R B ) C And the duty cycle is: D = t 1 /(t 1 + t 2 ) =(R A + R B )/(R A + 2R B ) t1t1 t2t2 T

Comparator Built using an op-amp (a 741 will do) Compares it’s “+” and “-” inputs –If V + > V - then output = V High (a digital “1”) –If V + < V - then output = V low (a digital “0”) Useful for converting small analog voltages into big, digital signals To power up, attach V low to -6V, V high to +6V Test: attach output to LED in series with a 1kΩ resistor to ground Set V+, V- with SMUs, confirm that LED turns on when V+ > V- V + V - V low V high output

Shift register (1) A shift register is a kind of digital memory It has 6 data inputs: –Parallel data D0,D1,D2,D3 –Serial data DSR, DSL It has three controls: –Shift controls, S0, S1 –Clock It has 4 outputs: –Q0,Q1,Q2,Q3 –These outputs change only when the clock changes from 0 to 1 Set VCC to 5V, VSS to 0V, pin 1 to 5V

Shift register (2) The shift register has 4 modes, set by S0, S1, and triggered by the clock When S0=1, S1 =1, –Q0 = D0, Q1 = D1, etc When S0 = 0, S1 = 0 –Q0,Q1,Q2,Q3 hold their value When S0 = 0, S1 = 1 –Data shifts left: Q1 = Q0 (from before clock) Q2= Q1, etc –Q0 = DSR When S0 = 1, S1 = 0 –Data shifts right: Q2 = Q3 (from before clock) Q1= Q2, etc –Q3 = DSL Test: –attach outputs to 4 LEDs in series with 1kΩ resistors to ground –Set function generator to make a 5V square wave (2.5V offset) with frequency = 1Hz, attach it to the clock input –Short D0, D2, D3, SDR to ground, short D1, SDL to 5V Try different combinations of S0, S1. What happens? –You should see things shift left or right.

Comparator (1) Includes combination of AND and XOR gated: AND: XOR: NOT A Y=1 if A=B=1, Y B otherwise Y=0 False if A=B True if A≠B A Y If A=1, Y=0, if A=0, Y=1

Comparator (2) Comparing two 2-bit numbers: A1 B1 A2 B2 1 when A=B 0 when A≠B A = A 2,A 1 B= B 2,B 1

Latch circuit A B C Question: write a truth table for this circuit: what happens when A=B=1? Test: hook up and gates as you did yesterday, test its function: does it behave as you predicted?

Key S1 DSR Q0 Q1 Q2 Q3 DSL GND S0 Clk D0 D1 D2 D3 MR VCC 6V 0V Shift register 100kΩ μF 10nF 2kΩ 1kΩ timer output 6V clock

Lock: detector -6V 6V To decoder 10kOhm 6V 0V Note: Double check how I did this tomorrow.

Lock: decoder S1 DSR Q0 Q1 Q2 Q3 DSL GND S0 Clk D0 D1 D2 D3 MR VCC Shift register 6V 0V 100kΩ Clock (same design as for key) To unlock From detector

Unlock: From decoder solinoid 6V 0V 12V 1kΩ 10kΩ