200 likes | 218 Views
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 • Practiced • How to burn up your Beaglebone • Not yet practiced: • 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 … • Clean up: • Plug ground into power • By using alternate power supply • Overpower: >5.1 V input • By using alternate power supply • Putting power on IO pins before powering • By using alternate power supply • Putting 5V into 3.3 V to the expansion headers • By plugging into the wrong pin • Even through resistor! • Analog max voltage even lower - 1.8 V • Configure digital input as analog input • Plug 5V signal into analog input • Don’t pull the microSD card out – push in to eject • Don’t ground an output • More on this later… 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