Slide design: Dr. Mark L. Hornick

Slides:



Advertisements
Similar presentations
SE3910 Week 2, Class 2 Today Real-Time Systems Embedded Systems Other ??? Week 3 Tuesday Lab Lab start TBA SE-2811 Slide design: Dr. Mark L. Hornick Content:
Advertisements

Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
Today Networking in Linux/C Lab Eclipse cross-compiling Measuring latency of 100% CPU busy-wait polling Sleeping busy-wait polling Interrupt-driven response.
SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:
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 Real-time Systems Week 2, Class 2 – Return stuff, New HW Assignment! – Quiz! (Possibly with review) Ohm’s Law Kirkhoff’s Current Law Switches Using/reading.
SE3910 Week 1, Class 3 Today – Introductions Safety Review Policy The course Tomorrow Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class.
Today Networking in Linux/C Lab Eclipse cross-compiling Measuring latency of 100% CPU busy-wait polling Sleeping busy-wait polling Interrupt-driven response.
Today Quiz Multithreading Options Qt socket buffers between threads Quiz today & Tuesday in lab SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr.
Week 6, Class 1 & 2: Decorators Return Exam Questions about lab due tomorrow in class? Threads Locking on null object invokeLater & the squares example.
CS2910 Week 1, Class 2 Today Announce Prof. Michael Vieau’s S-341 6p Thurs Wk 2 Assignment for tomorrow Data Encoding, Part 1 Parsing Data Muddiest Point.
CS2910 Week 1, Class 1 Today Introductions Class/Lab Layout Safety Review - Note about Lab Safety Review Announce Prof. Michael Vieau’s S-341 6p Thurs.
SE3910 Week 1, Class 2 Today – Introductions Safety Review Policy The course Tomorrow Lab 1, S365 (Purchase Beaglebone black kit BEFORE) Thursday Class.
Today C/C++:.h/.cpp; compiling and linking Fourier Transform (corrected) Nyquist Theorem Audio sampling rates SE-2811 Slide design: Dr. Mark L. Hornick.
SE-3910 Real-time Systems Week 2, Class 3 – Return Quiz, Q’s on HW Assignment? – Signals – Audio! – Review/Basic Circuits Kirkhoff’s Current & Voltage.
CS2852 Week 3, Class 2 Today Stacks Queues SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
Today Nervous System Response Time SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 3, Class 2.
Today Return Quiz Class Climate Survey Review SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 10, Class.
SE-1021 Software Engineering II Week 1, Day 2 Attendance Survey results: Use powerpoint Safety Review Preparation for Lab 1 More on Java fundamentals…
CS2852 Week 5, Class 2 Today Queue Applications Circular Queue Implementation Testing SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
CS2852 Week 7, Class 1 Today Binary Search Tree Implementing add Implementing find Return Quiz 4 (second attempt) Both sections are graded SE-2811 Slide.
CS2852 Week 6, Class 2 Today Class exercise: Implementing a recursive method Binary Search Trees Tomorrow: Quiz at start of lab Implementing a recursive.
Week 5, Day 3: Decorator Decorators Muddiest Point Tomorrow: Quiz on lab reading: web.msoe.edu/hasker/se2811/labs/5/ SE-2811 Slide design:
Week 5, Day 2: Decorator Decorators Muddiest Point Tomorrow: Quiz on lab reading: web.msoe.edu/hasker/se2811/labs/5/ SE-2811 Slide design:
CS2852 Week 3, Class 2 Today Big-O runtime analysis Linked Lists Muddiest Point Lab Quiz Includes writing a method from ArrayList class (See next slide)
CE1901 Week 6, Class 3 Week 6 Mini-Exam Review Muddiest Point Timing Diagrams (See this slide and Outcomes on course webpage – link now available)Outcomes.
Week 7, Class 1: The Command Pattern (cont.) Get Ready for Poll Everywhere Labs 2 & 3 returned Lab 7 due this evening at 11pm Quiz tomorrow at start of.
CS2910 Week 8, Class 2 Today Return Quiz Look at Schedule TCP implementation! Week 8, Monday Quiz on SMTP May include some questions requiring you to interpret.
Week 10, Day 3 Review for the quarter SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
CS2910 Week 7, Class 1 Today Capturing SMTP with Thunderbird Tomorrow Extra office hour at 11 am (right after lab) Friday Office hour cancelled SE-2811.
Week 6, Class 3: Composite Swing composites File composites Computer composites SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
Week 5, Class 3: Decorators Lab questions? Example: Starbuzz coffee Basic Pattern More examples Design Principles Compare with alternatives SE-2811 Slide.
SE3910 Week 5, Class 3 Week 6, Class 2 (Wednesday) Quiz Week 7, Class 2 (Wednesday) Half-Exam 2 Analog and Digital Datarates SE-2811 Slide design: Dr.
Controlling an LED with a switch. 2 breadboard place where you can build electric circuits really quickly the magical breadboard.
SE3910 Week 8, Class 2 Week 4 Lab: Please return your graded Lab 4 to me so I can enter it in my gradebook Week 7, Class 2 (Wednesday) Half-Exam 2 Done.
SE3910 Week 1, Class 1 Today – Introductions The students (informally) The instructor Safety Review Policy The course Tomorrow (If you are in that section)
CS-2852 Data Structures Week 5, Class 3 – Testing and Recursion Queue Implementing finite queues Binary Search Recursion Tomorrow – Quiz, Lab demos, Lab.
Building Circuits.
Slide design: Dr. Mark L. Hornick
SE-3910 Real-time Systems Week 10, Class 3 Loop jamming
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Week 2, Day 1: The Factory Method Pattern
Polling vs. Interrupts CS2852 7/20/2018
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 9/18/2018
Slide design: Dr. Mark L. Hornick
Week 7, Class 1: The Command Pattern (cont.)
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Slide design: Dr. Mark L. Hornick
SE-1011 Slide design: Dr. Mark L. Hornick Instructor: Dr. Yoder
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 4/9/2019
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 4/21/2019
Slide design: Dr. Mark L. Hornick
Week 8, Class 3: Model-View-Controller
Slide design: Dr. Mark L. Hornick
11. MVC SE2811 Software Component Design
Slide design: Dr. Mark L. Hornick
Week 8, Class 3: Model-View-Controller
SE-1021 Software Engineering II
Slide design: Dr. Mark L. Hornick
11. MVC SE2811 Software Component Design
Slide design: Dr. Mark L. Hornick
SE-3910 Real-time Systems Week 4, Class 1 Quick-Quiz (Ungraded!)
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Presentation transcript:

Slide design: Dr. Mark L. Hornick SE3910 5/16/2018 SE3910 Week 1, Class 3 Today Continuing circuits Beaglebone safety & I/O Week 2 Lab Quiz 1 – Circuits & BB safety Lab 2 – Circuits Complete prelab before lab 17q3: 1-4,8-15 Full agenda: Return Exam Questions about lab due tomorrow in class? Threads: Locking on null object Threads: invokeLater Threads: The squares example Decorator Class Diagram More on Java IO Class diagrams Design Principles in the patterns we’ve seen so far Compare with alternatives Decorator vs. array approach suggested in class Non-decorator array – decorator can be added on without modifying the original hierarchy Decorator has “before-after” and possibly other combinatorial control that would be hard-coded in array [Show “screenshot” of discussion from class? Or just re-type?] Strategy vs. Decorator class diagrams side-by-side Structural difference (inheritance optional in Strategy pattern?) Decorator vs. “Strategy” array Perhaps next: Coding Starbuzz coffee (?) Add real patterns ArrayList – null-checking Java I/O: Students do coding examples http://stackoverflow.com/questions/9358821/should-i-extend-arraylist-to-add-attributes-that-isnt-null SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder Dr. Josiah Yoder

Beaglebone CS2852 5/16/2018 Dr. Yoder SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

Beaglebone Black P8 and P9 headers SE3910 5/16/2018 Beaglebone Black P8 and P9 headers Our Favorites BLUE: On BASIC PROTO CAPE Dr. Josiah Yoder

CS2852 5/16/2018 Finding GPIO Port 𝐸𝑥𝑝𝑜𝑟𝑡 𝑃𝑖𝑛 𝑁𝑢𝑚𝑏𝑒𝑟= 𝐺𝑃𝐼𝑂𝐶𝑜𝑛𝑡𝑟𝑜𝑙𝑙𝑒𝑟𝑁𝑢𝑚𝑏𝑒𝑟∗32+𝐺𝑃𝐼𝑂𝑃𝑖𝑛 (Useful on the basic proto cape) SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

BASIC PROTO CAPE http://elinux.org/CircuitCo:Basic_Proto_Cape SE-2811 Dr.Yoder

The breadboard cape SE3910 5/16/2018 Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Josiah Yoder

The breadboard cape CS2852 5/16/2018 Dr. Yoder ITM QTY REF PART DESCRIPTION DISTR PART # 1   PCB 2-LAYER 3.4" x 2.15" 2 P1, P2 2x23 HDR FE DUAL - STRAIGHT SOCKET STRIP .025" SQ. PINS MLE SSHQ-123-D-08-F-LF 3 P3 8 PIN HDR FE CONN HEADER FEMALE 8 POS 0.1" GOLD DK PPPC081LFBN-RC 4 S1, S2 BUTTONS SWITCH TACT SPST-NO .05A 24V B3F-1000 5 D1, D2 LEDS LED GREEN 3MM 568NM 20mA 2.12V WP7104SGC 6 R1, R2 RESISTOR RES 470 OHM 1/4W 5% CF MINI CFM14JT470R 7 BR1 BREADBOARD WHT ADHSV SLDRLSS BRDBRD 170 TIE PT 1.8" x 1.37" PLU 1490 8 JMPR WIRE KIT 10 x 14 LNGTH .1" .2" .3" .4" .5" .6" .7" .8" .9" 1" 2" 3" 4" 5" SQR SE-3910 - Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Yoder

GPIO Input an Output Take notes SE-2811 Dr.Yoder

Ex: What is the resistance of this resistor? CS2852 5/16/2018 Ex: What is the resistance of this resistor? And what is the tolerance? Dr. Yoder

SE3910 5/16/2018 Ex: GPIO safety Considering the resistor on the previous slide, is it large enough to not damage a GPIO pin configured as output, if the resistor ties the output to 3.3V? Sourcing limit: 4mA Sinking limit: 8mA Voltage: 3.3 V SE-2811 Dr.Yoder Dr. Josiah Yoder

Ex: What is the resistance of this resistor? CS2852 5/16/2018 Ex: What is the resistance of this resistor? And what is the tolerance? Dr. Yoder

Ex: GPIO safety GPIO pins: SE3910 5/16/2018 Ex: GPIO safety GPIO pins: Sourcing limit: 4mA (current flowing out of BB) Sinking limit: 8mA (current flowing in to BB) Voltage: 3.3 V Considering the resistor on the previous slide, is it large enough to not damage a GPIO pin configured as output, if the resistor ties the output to ground? SE-2811 Dr.Yoder Dr. Josiah Yoder

Ex: What is the resistance of this resistor? CS2852 5/16/2018 Ex: What is the resistance of this resistor? And what is the tolerance? Dr. Yoder

Exercise: Find all of: Voltage from GPIO to ground if 5/16/2018 Exercise: Find all of: Voltage from GPIO to ground if S1 is closed S2 is closed Both are open Current from source if both are closed SE-2811 Dr.Yoder Dr. Josiah Yoder

SE3910 5/16/2018 Ex: This circuit is an attempt to wire a GPIO pin as both an input and an output What happens if GPIO is an output with a value 1 and we press the switch? SE-3910 Dr.Yoder Dr. Josiah Yoder

Slide design: Dr. Mark L. Hornick References EB: Derek Malloy, Exploring Beaglebone, Wiley, 2015 SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder

The breadboard cape SE3910 5/16/2018 Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling Dr. Josiah Yoder

Spring 2017 Week 6, Day 1 Resistance vs. Impedance https://books.google.com/ngrams Resistance vs. Impedance (high) resistance input vs. (high) impedance input SE-2811 Dr.Yoder