Survey
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
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 SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling, Some from Dr. Hornick, etc. 1 Whole-class Quiz! (1) • What is the key item which defines an embedded system versus a non-embedded system a. b. c. d. e. 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 2 Whole-class Quiz! (2) • What is the key factor which defines a real time system versus a non real time system a. b. c. d. e. 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 3 Whole-class Quiz! (3) What is the voltage across R2? SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 4 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 5 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, pulseSE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick width, etc. on a waveform & compute Veff Much Material: Dr. Schilling 6 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! SE-3910 - Dr. Josiah Yoder – Analog max voltage even lower - 1.8 V Slide style: Dr. Hornick Much Material: Dr. Schilling 7 PC Contains separate •Microprocessor(s) •Memory •Peripheral (I/O) device HW • serial port • • • • • • SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling parallel port USB port Bluetooth port IR port AGP port WiFi port,… 8 Beaglebone SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 9 SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 10 Expansion SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 11 A Cape SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 12 SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 13 Finding GPIO Port SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 14 Resistor Switch Ground Battery SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 15 A simple input circuit SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 16 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 17 SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 18 ITM QTY REF PART 1 1 PCB 2 2 P1, P2 2x23 HDR FE 3 1 P3 8 PIN HDR FE 4 2 S1, S2 BUTTONS 5 2 D1, D2 LEDS 6 2 R1, R2 RESISTOR 7 1 BR1 BREADBOARD 8 1 JMPR WIRE KIT DESCRIPTION 2-LAYER 3.4" x 2.15" DUAL - STRAIGHT SOCKET STRIP .025" SQ. PINS CONN HEADER FEMALE 8 POS 0.1" GOLD SWITCH TACT SPST-NO .05A 24V LED GREEN 3MM 568NM 20mA 2.12V RES 470 OHM 1/4W 5% CF MINI WHT ADHSV SLDRLSS BRDBRD 170 TIE PT 1.8" x 1.37" 10 x 14 LNGTH .1" .2" .3" .4" .5" .6" .7" .8" .9" 1" 2" 3" 4" 5" SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling DISTR PART # MLE DK DK DK DK PLU SQR SSHQ-123-D-08-F-LF PPPC081LFBN-RC B3F-1000 WP7104SGC CFM14JT470R 1490 19 Class Example SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 20