se-3910 real-time systems week 3, class 1 – beaglebone documentation (cont.) – review/basic...
TRANSCRIPT
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 YoderSlide 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 systema. Hardware only designb. Software only designc. Designed to run on a general purpose computerd. A combination of hardware and softwaree. Always written in C++
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling2
Whole-class Quiz! (2)
• What is the key factor which defines a real time system versus a non real time systema. Fast I/Ob. Small systemsc. Meets deadlinesd. High speed operatione. Correct logic
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling3
Whole-class Quiz! (3)What is the voltage across R2?
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling4
Ohm’s Law
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling5
http://www.gtsparkplugs.com/images/Simple_Ohms_Law.jpg
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 YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling6
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 YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling7
PC
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling8
Contains separate•Microprocessor(s)•Memory•Peripheral (I/O) device HW
• serial port• parallel port• USB port• Bluetooth port• IR port• AGP port• WiFi port,…
Beaglebone
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling9
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling10
Expansion
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling11
A Cape
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling12
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling13
Finding GPIO Port
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling14
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling15
Resistor
Switch
Ground
Battery
A simple input circuit
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling16
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 YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling17
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling18
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling19
ITM QTY REF PART DESCRIPTION DISTR PART #1 1 PCB 2-LAYER 3.4" x 2.15" 2 2 P1, P2 2x23 HDR FE DUAL - STRAIGHT SOCKET STRIP .025" SQ. PINS MLE SSHQ-123-D-08-F-LF3 1 P3 8 PIN HDR FE CONN HEADER FEMALE 8 POS 0.1" GOLD DK PPPC081LFBN-RC4 2 S1, S2 BUTTONS SWITCH TACT SPST-NO .05A 24V DK B3F-10005 2 D1, D2 LEDS LED GREEN 3MM 568NM 20mA 2.12V DK WP7104SGC6 2 R1, R2 RESISTOR RES 470 OHM 1/4W 5% CF MINI DK CFM14JT470R7 1 BR1 BREADBOARD WHT ADHSV SLDRLSS BRDBRD 170 TIE PT 1.8" x 1.37" PLU 14908 1 JMPR WIRE KIT 10 x 14 LNGTH .1" .2" .3" .4" .5" .6" .7" .8" .9" 1" 2" 3" 4" 5" SQR
Class Example
SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick
Much Material: Dr. Schilling20