se-3910 real-time systems week 3, class 1 – beaglebone documentation (cont.) – review/basic...

20
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

Upload: mary-kennedy

Post on 05-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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

Page 2: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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

Page 3: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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

Page 4: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

Whole-class Quiz! (3)What is the voltage across R2?

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling4

Page 5: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

Ohm’s Law

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling5

http://www.gtsparkplugs.com/images/Simple_Ohms_Law.jpg

Page 6: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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

Page 7: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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

Page 8: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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,…

Page 9: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

Beaglebone

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling9

Page 10: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling10

Page 11: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

Expansion

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling11

Page 12: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

A Cape

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling12

Page 13: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling13

Page 14: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

Finding GPIO Port

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling14

Page 15: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling15

Resistor

Switch

Ground

Battery

Page 16: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

A simple input circuit

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling16

Page 17: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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

Page 18: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling18

Page 19: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

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  

Page 20: SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up

Class Example

SE-3910 - Dr. Josiah YoderSlide style: Dr. Hornick

Much Material: Dr. Schilling20