SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design:

Slides:



Advertisements
Similar presentations
EET 252 Digital Systems II Professor Nick Reeder.
Advertisements

By: Alex Sowa Electrical Projects April 10 th, 2013.
Voltage and Its Measurements
Electricity and Circuits
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:
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
Copier Jam Detector Design Problem
CircuitProtection, Tips, and Troubleshooting Spring 2015 ECE 445.
Digital I/O Connecting to the Outside World
Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
Electronic Components
Embedded Programming and Robotics
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Practical Digital Design Considerations Part 1 Last Mod: January 2008 ©Paul R. Godin.
Jeff Branson Education Outreach Coordinator Derek Runberg Curriculum Curator Getting.
BBBK Programming Notes Rudra Dutta CSC , Fall, 2013.
SE-3910 Real-time Systems Week 3, Class 1 – Beaglebone Documentation (cont.) – Review/Basic Circuits (cont.) Switches & Pull-up resistors How to burn up.
Today TBA Tomorrow Good Friday SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 5, Class 3.
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.
CircuitProtection, Tips, and Troubleshooting Fall 2015 ECE 445.
Physics 2225: Working With Electronic Equipment Purpose  Learn how to use basic electronic equipment: Digital multi meter Oscilloscope Function generator.
ECS642U Embedded Systems Cyclic Execution and Polling William Marsh.
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.
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.
CSE Fall Introduction - 1 What’s Inside the Buffer? IhIh IlIl Write Reg This device always “drives” either high or low. Current is a function.
Analog to Digital Converter David Wallace English 314.
Design a Photoflash Charging Circuit.  Not in the lab manual. It is posted on the course Scholar site.
1 Electrical Skills Voltage and Its Measurements.
Today Return Quiz First release of final project template Multithreading Options Qt socket buffers between threads Tomorrow: Quiz Interthread communication.
Today Return Quiz First true release of final project (Lab 8) Multithreading Options Qt socket buffers between threads SE-2811 Slide design: Dr. Mark L.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
Today (or Thursday) Qt Thursday Quiz SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1 SE3910 Week 6, Lab.
Week 3: Experiment 4 Kirchhoff’s Laws.
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.
Simple Circuits 1 st year physics laboratories University of Ottawa
Week 6, Class 3: Composite Swing composites File composites Computer composites SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors:
How to Build a Digital Physical System - Lab Lecture 2.
CS2910 Week 6, Lab Today Dictionaries in Python SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1.
Lab 2. Do now Answers Improperly grounded outlets can cause errors in a computer system that may not be immediately apparent from internal diagnostics.
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.
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.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
SE3910 Week 1, Class 1 Today – Introductions The students (informally) The instructor Safety Review Policy The course Tomorrow (If you are in that section)
Assist. Prof. Rassim Suliyev - SDU 2017
Purpose of This Minilab
Prototyping with Microcontrollers and Sensors
Fundamentals of Computer Engineering
Slide design: Dr. Mark L. Hornick
Slide design: Dr. Mark L. Hornick
Microcontroller basics
SE-3910 Real-time Systems Week 10, Class 3 Loop jamming
Lighting LEDs with a RASPBERRY PI
How to avoid catching things on fire.
Internet-of-Things (IoT)
Chapter 2 Push button and Potentiometer
Slide design: Dr. Mark L. Hornick
Basic Electronics Part Two: Electronic Components.
Slide design: Dr. Mark L. Hornick
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Slide design: Dr. Mark L. Hornick
Polling vs. Interrupts CS2852 4/21/2019
Slide design: Dr. Mark L. Hornick
SE-3910 Real-time Systems Week 4, Class 1 Quick-Quiz (Ungraded!)
Slide design: Dr. Mark L. Hornick
Interrupts.
2019 Investing Now Summer Program
Presentation transcript:

SE3910 Week 2, Class 1 Today Basic Circuits Other ??? Tomorrow Lab 2, S365 (Complete prelab BEFORE) Thursday See ScheduleSchedule SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 1

Warning… Originally from: SE-2811 Dr.Yoder 2

Cartoon One source: ohmslaw.htm SE-2811 Dr.Yoder 3

Equipment (Reminder) This week: Purchase 4GB or greater micro SD card Used Lab 3 (Optional) Tools – e.g. needle-noise pliers Check out short-term Kit (breakout board, breadboard cape, LCD cape, USB Oscilloscope) Small parts (also may desire to purchase) SE-2811 Dr.Yoder 4

Ex: Compute voltage across C1 If S1 is closed, and S2 is opened, what is the voltage across C1? If S2 is closed, and S1 is opened? If both are opened? If both are closed? SE-2811 Dr.Yoder 5

Ex: Compute voltage into GPIO If S1 is open and S2 is closed, compute the voltage from GPIO 12 to ground. (Assume GPIO 12 is not connected to anything) SE-2811 Dr. Yoder 6

A slightly better assumption if connected to a GPIO input SE-2811 Dr. Yoder 7

Warning 1: (Low risk) Input is like a (very small) capacitor Modern processors use CMOS technology These gates can look something like this on the inside: If left “floating,” can be any voltage If two switches use, can short source, so … SE-2811 Dr. Yoder 8

Solution 1: Use a pull-up or pull-down resistor (This is from Lab 2, you will analyze it there.) ( (See pp in E Exploring Beaglebone b by Derek Molloy,. 2015) SE-2811 Dr.Yoder 9

If you apply 3.3 V to a 2.10 V LED, it will be like applying 1.2 V directly to a short circuit Use a limiting resistor to fill up the rest of the voltage and set current. Warning 2: (Low risk) LEDs have constant voltage SE-2811 Dr. Yoder 10 Solution 2: Use limiting resistor

Warning 3: (High risk) Do not short the GPIO pins to ground or 3.3V when they are in output mode. SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 11

Solution 3: Do not place beaglebone on metal surface (e.g. aluminum-finish laptop) [EB, p. 21] Ensure beaglebone is correctly configured before powering If circuit provides input, beaglebone MUST NOT provide output When using output, your circuit should not Source more than 4mA (current out of bone) Sink more than 8mA (current into bone) … for any given GPIO pin. SE-2811 Dr.Yoder 12

Warning 4: (High risk) Beaglebone is 3.3 V Supplying 5 V to any GPIO pin could damage it. Furthermore, supplying even 3.3 V to a pin without powering the board could damage it. SE-2811 Dr.Yoder 13

Solution 4: Always use the 3.3 V supply Never use external power – use the 3.3 V supplied Unless you know what you are doing! May need to use voltage converters from external signals. Or at least external logic “enabled” by the 3.3V supply SE-2811 Dr.Yoder 14

Do not unplug beaglebone while running Residual currents can result in higher residual voltages Memory might be saved in inconsistent state Hold down power button until all lights turn off If you must, hold down reset button (which forces the bone off) while unplugging. Warning 5: (Medium risk) SE-2811 Dr.Yoder 15 Solution 5:

You can, e.g. easily plug into 5V when you mean to plug in to 3.3V. Print labels for your pins tiny.cc/ebb105 [EB, p. 21] tiny.cc/ebb105 Use the breakout cape It has labels already printed Google beaglebone black pinout Warning 6: Hard to pick the right pin SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 16 Solution 6:

No more than 1.8 V into analog pin Use the supplied 1.8 V supply as power for analog devices Ensure devices are not configured in analog before plugging into POTENTIALLY analog pins Warning 7: Analog limit SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 17 Solution 7:

If you pull out the card, it could cause damage Push in the card, and it will push itself out (never fails…) Warning 8: Don’t pull SD card SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 18 Solution 8:

If you are working on a very complicated circuit, please see the (un)official System Reference ManualSystem Reference Manual And read all the red text (I have a summary file, if you want …) Warning 9: Other things SE-2811 Slide design: Dr. Mark L. Hornick Content: Dr. Hornick Errors: Dr. Yoder 19 Solution

GPIO safety (summary of a few key points) Sourcing limit: 4mA Limit if current is coming OUT OF Beaglebone Sinking limit: 8mA Limit if current is flowing INTO Beaglebone Digital Voltage: 3.3 V Analog input max voltage: 1.8 V SE-2811 Dr.Yoder 20

Ex: What is the resistance of this resistor? SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling 21

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