200 likes | 353 Vues
SE-3910 Real-time Systems. Week 3, Class 1 Beaglebone Documentation (cont.) Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up your Beaglebone Review coding in C – UML diagrams (perhaps) Quiz Tomrrow at start of Lab 3 See later slide. Whole-class Quiz! (1).
E N D
SE-3910Real-time Systems • Week 3, Class 1 • Beaglebone Documentation (cont.) • Review/Basic Circuits (cont.) • Switches & Pull-up resistors • How to burn up your Beaglebone • Review coding in C – UML diagrams (perhaps) • Quiz Tomrrow at start of Lab 3 • See later slide SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling, Some from Dr. Hornick, etc.
Whole-class Quiz! (1) • What is the key item which defines an embedded system versus a non-embedded system • Hardware only design • Software only design • Designed to run on a general purpose computer • A combination of hardware and software • Always written in C++ SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Whole-class Quiz! (2) • What is the key factor which defines a real time system versus a non real time system • Fast I/O • Small systems • Meets deadlines • High speed operation • Correct logic SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Whole-class Quiz! (3)What is the voltage across R2? SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Ohm’s Law http://www.gtsparkplugs.com/images/Simple_Ohms_Law.jpg SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Upcoming Quiz:Topics • Prelab video – questions similar to the quiz at the end of Dr. Schilling’s video • How to burn up your Beaglebone • Beaglebone I/O circuits • Locating a pin on board • (will supply necessary figures!) • Label amplitude, peak-to-peak voltage, pulse-width, etc. on a waveform & compute Veff SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
How to Burn Up Your Beaglebone… for fun and profit … • Plug ground into power • Throw at wall • Underpower? (Hmmmm…) • Overpower? • Get wet • Putting power on IO pins before powering • Putting 5V into to the expansion headers • 3.3 V • Analog max voltage even lower • Don’t ground an output SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
PC Contains separate • Microprocessor(s) • Memory • Peripheral (I/O) device HW • serial port • parallel port • USB port • Bluetooth port • IR port • AGP port • WiFi port,… SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Beaglebone SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Expansion SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
A Cape SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Finding GPIO Port SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Resistor Switch Ground Battery SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
A simple input circuit SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Power of a signal (If time) • P = IV • I = V/R • P = … • Let R = 1 (Ohm) • What is the instantaneous power of a sinusoid? • What is the average power of a sinusoid? • What is the average power of a PWM signal? SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling
Class Example SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling