CSE466 Autumn ‘00- 1 Review and Lab Prep  hotmail account on mailing list doesn’t work.

Slides:



Advertisements
Similar presentations
Week10 Boolean Instructions on the Boolean Instructions  Boolean (or Bit) addressable capability is unique to the 8051  Enables efficient handling.
Advertisements

Common Emitter Amplifier. Design Rules V RE should be > 100 mV.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
1 Dr. Un-ki Yang Particle Physics Group or Shuster 5.15 Amplifiers and Feedback: 3.
EET260: A/D and D/A converters
CSE Fall Introduction - 1 Architecture Overview (Start here on Fri)  Architecture (Harvard v. Princeton)  Program Memory (ROM)  External.
CSE Fall Introduction - 1 Electronics and Physical Interfaces  Speaker Interface  Electronics Review  8051 I/O.
CSE466 Autumn ‘00- 1 System Functional Requirements  Children’s toy…comes with PC software. Child plays notes on the screen and the device makes corresponding.
Grading Lab reports: 10pts each. Demo required Homeworks: 3 points each (will be scaled by difficulty) Ratios –Lab: 25% –Homework 25% –Quizzes total 25%
Lecture 151 1st Order Circuit Examples. Lecture 152 Typical Problems What is the voltage as a capacitor discharges to zero? What is the voltage as a capacitor.
CMOS VLSIAnalog DesignSlide 1 CMOS VLSI Analog Design.
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
electronics fundamentals
EE 319K Introduction to Microcontrollers
Objectives How Microcontroller works
Song Pro Retro Alex Harper. Contents of Presentation Inspiration Basic Concept Speaker Module.sng file structure Song Pro Retro: Light Song Pro Retro:
PHY 202 (Blum)1 Analog-to-Digital Converter and Multi-vibrators.
1 LHO 13 The 8051CF020 and the University Daughter Card.
GameBoy Advance Programming Sound. Sound Basics The Digital Process A / D Fs D / A Sound pressure fluctuations Analog voltage Digital voltage Sampling.
CBC BODY COMPUTERS CHAPTER 12. CBC OBJECTIVES H ANALOG AND DIGITAL VOLTAGE SIGNALS H COMPUTER COMMUNICATION H COMPUTER MEMORY H INPUTS H OUTPUTS H MULTIPLEXING.
CSE466 Autumn ‘00- 1 What’s Coming  Hardware  Basic Filters and Noise Management  Serial Communications  Design Meeting  Move the quiz up to Monday.
CSE466 Autumn ‘00 Misc.  Card Key Access…See Kathleen Goforth  Mail Archive…working on it…are you getting my messeges?  Why do we connect the speaker.
CSE466 Autumn ‘00 Review  Card Key Access…See Kathleen Goforth  Mail Archive…working on it…are you getting my messeges?  Why do we connect the speaker.
CS224 I/O. Timers Timer1 is 16-bit timer 2^16-1 or 65,535 SYSCLK = 40MHz, Prescalers – 1:1, 1:8, 1:64, and 1:256 – Use T1CONbits.TCKPS=3 for 1:256 scaling.
CSE Fall Introduction - 1 What’s Inside the Buffer? IhIh IlIl Write Reg This device always “drives” either high or low. Current is a function.
SAMPLE AND HOLD CIRCUIT. CIRCUIT CONSTRUCTION The circuit samples the input and holds the last sample until the input sampled again. The circuit has an.
CSCI1600: Embedded and Real Time Software Lecture 14: Input/Output II Steven Reiss, Fall 2015.
Digital to Analog Converter (DAC)
Interfacing Data Converters. D/A converters Design an O/P port with the address FFh to interface the 1408 D/A converter that is calibrated for 0 to 10V.
Embedded Systems Design 1 Lecture Set C Interfacing the MCS-51 to: –D/A Converter –A/D Converter.
Chapter Microcontroller
The Telephone Analog vs Digital View the video first: Digital
Mark Neil - Microprocessor Course 1 Digital to Analog Converters.
ECET 340 Entire Course (All ilabs and Homework) For more classes visit ECET 340 Week 1 HomeWork 1 ECET 340 Week 1 iLab 1 ECET 340.
Components of a typical full-featured microcontroller.
BITS Pilani Pilani Campus Pawan Sharma ES C263 Microprocessor Programming and Interfacing.
CSE466 Autumn ‘00- 1 Lab Issues and Questions?  Daily quiz: How is an interrupt different than a subroutine call?  Limitations of the assembler  Seems.
TITLE: 555 Timer OM INSTITUTE OF TECHNOLOGY Subject: Analog Electronics ( ) Semester: 03 Prepared By:
Residential Audio & Video Systems Copyright © 2005 Heathkit Company, Inc. All Rights Reserved Presentation 15 – Digital Audio and Video.
Chapter 4 DC Biasing–BJTs
Digital to analog converter [DAC]
Recall Lecture 10 Introduction to BJT 3 modes of operation
What is a DAC? A digital to analog converter (DAC) converts a digital signal to an analog voltage or current output DAC.
Microcontroller basics
ES C263 Microprocessor Programming and Interfacing
UNIT-IV Application of Special I.C’s.
555 Timer EEE DEPARTMENT KUMPAVAT HARPAL( )
Architecture Overview (Start here on Fri)
What’s Inside the Buffer?
The operational amplifier, cont.
Project: security lock system
Principles & Applications
Introduction to Micro Controllers & Embedded System Design Interrupt
Chapter 1 – Revision Part 2
How to avoid catching things on fire.
Unit IV 555 Timer.
Lesson 9: Digital Input-Output Signal Interfacing
Digital to Analog Converters
ترانزیستور BJT دکتر سعید شیری فصل پنجم از:
Recall Lecture 11 DC Analysis and Load Line
دکتر سعید شیری & کتابMICROELECTRONIC CIRCUITS 5/e Sedra/Smith
Lesson 8: Analog Signal Conversion
Digital to Analog Converters (DAC)
Recall Lecture 10 Introduction to BJT 3 modes of operation
Sensors and actuators Sensors Resistive sensors
Common Emitter Amplifier
Robotics System Lecture 11_12: DC Motor
Introduction to Arduinos
Recall Lecture 11 DC Analysis and Load Line
Presentation transcript:

CSE466 Autumn ‘00- 1 Review and Lab Prep  hotmail account on mailing list doesn’t work

CSE466 Autumn ‘00- 2 Memory Architecture Review Show the memory after execution from reset x80 xFF JMP 20H; 0 20H MOV A, FEH; MOV A,#FEH; MOV R1,A; MOV direct indirect MOV 64H,A; A5H xFE Acc 27H (sfr)

CSE466 Autumn ‘00- 3 Basic RC review Vo = Vi(1-e (-t/RC) ) so Vo/Vi = 4/5=.8 = (1-e (-t/RC) ) t = -RCln(1 -.8) = 49mSec RST 10K 3.2u what is the voltage across the cap after button release? ~4V Tr

CSE466 Autumn ‘00- 4 Careful w/ Coils (motors, valves, etc) Current limiter R = 50Ohms Coil (L) MOSFET Switch 8051 Steady state on current: Vcc/R Vds ~ 0 (Rds ~ 4mOhm) But, when we try to turn off the Mosfet quickly, what happens? Rds goes up quickly, but Ids drops slowly) If Rds becomes 1K, then Vds becomes 100V And instantaneous power becomes 10W I =0.1A Vds 5V

CSE466 Autumn ‘00- 5 Saturation Mode Amp  Use a current amplifier (PNP Transistor)  Ice < =  Ib (assume  =100)  Assume Vbe = 0.7V when “on”  Assume Vce = 1V when “on”  Assume tone1 = 0V  Pick Rc to protect the speaker  Pick Rb to protect the processor while turning on the transistor e c b 8ohms 5V 8051 tone1 <  Ib Ib Is = ((.2/8)^.5)/3 = ~50mA Rc: 5 – (50mA*8) – Vce – (50mA * Rc) = 0 so: Rc = (5 – 1 – 0.4)/.05 = 72ohms Rb: Vb/1mA = [5 – (8*.05) -.7]/1mA = 3.9K! Rc Rb could be any power device

CSE466 Autumn ‘00- 6 Last Year’s Model 8051 tone1 tone2 tone3 Rb 8ohms 5V Rc

CSE466 Autumn ‘00- 7 Computer Speaker This Year’s Model  Digital to Analog Converter 8051 DAC 8 AMP (V to I) Voltage signal Speaker cares about current, not voltage How can we generate two simultaneous tones of 500Hz and 1KHz using only 1 timer interrupt? SW?

CSE466 Autumn ‘00- 8 Sine Wave Program (in psuedo-C) const unsigned byte sine[256] = { }; interrupt routine (25.6KHz): P0 = sine[i]; i++; return How do I get two tones with one interrupt (constant sample rate) ? rom

CSE466 Autumn ‘00- 9 Digital to Analog Converter Effective network is 20K 10K 5V MSB out1 DB[7:0] = out = DB[7:0] = out = each bit pumps more current into Rfb in different amounts depending on position

CSE466 Autumn ‘ Digital-to-Analog Converter 8051DAC port0 data \write gnd CS Rfb out1 AMP input Vref

CSE466 Autumn ‘ Sampling  Add sampled sine waves to get multiple tones two frequencies with same rate. How fast can you go?