introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already!

Similar documents
Lab 2.4 Arduinos, Resistors, and Circuits

Attribution Thank you to Arduino and SparkFun for open source access to reference materials.

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

FABO ACADEMY X ELECTRONIC DESIGN

Electronic Components

Touchless Control: Hand Motion Triggered Light Timer

Objectives: Learn what an Arduino is and what it can do Learn what an LED is and how to use it Be able to wire and program an LED to blink

Class #9: Experiment Diodes Part II: LEDs

Blink. EE 285 Arduino 1

THE INPUTS ON THE ARDUINO READ VOLTAGE. ALL INPUTS NEED TO BE THOUGHT OF IN TERMS OF VOLTAGE DIFFERENTIALS.

EM Arduino 4-20mA Shield Documentation. Version 1.5.0

Internet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Arduino Workshop 01. AD32600 Physical Computing Prof. Fabian Winkler Fall 2014

02 Digital Input and Output

Breadboard Arduino Compatible Assembly Guide

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

Exam Practice Problems (3 Point Questions)

TL494 Pulse - Width- Modulation Control Circuits

AUTOMATIC CLOTH FOLDING MACHINE

Electronics Merit Badge Kit Theory of Operation

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE

J. La Favre Using Arduino with Raspberry Pi February 7, 2018

INA169 Breakout Board Hookup Guide

ScaleRCHelis.com Light Controller Users Manual

12V Dimmer Kit, version 2

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab Timer: Blinking LED Lights and Pulse Generator

Prelab: Introduction and Greenhouse Construction

Monitoring Temperature using LM35 and Arduino UNO

Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino

ECE 363 EXAM #2 (F18) 4 problems for 100 pts Problem #1: Amplifier Output Error (25 pts)

The answer is R= 471 ohms. So we can use a 470 ohm or the next higher one, a 560 ohm.

Schematics for Breakout Examples

LAB PROJECT 2. Lab Exercise

Series and parallel resistances

Arduino An Introduction

Voltage Dividers a learn.sparkfun.com tutorial

Coding with Arduino to operate the prosthetic arm

Diodes This week, we look at switching diodes, LEDs, and diode rectification. Be sure to bring a flash drive for recording oscilloscope traces.

Two Hour Robot. Lets build a Robot.

Portland State University MICROCONTROLLERS

Adafruit 16-Channel Servo Driver with Arduino

Pulse Width Modulation and

OPTICALLY ISOLATED ERROR AMPLIFIER FOD2711 DESCRIPTION FEATURES APPLICATIONS PIN DEFINITIONS 9/6/02

Embedded Control. Week 1 (6/29/11)

Design and Technology

// Parts of a Multimeter

Application Note AN-1052

ELEXBO A-Car-Engineering

SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY. Modified February 2006

SN Channels Constant Current LED Driver with PWM Brightness Control. Description. Features. Application. Typical application C IN.

Electricity Transition Questions Applied General in Science

Wallace Hall Academy Physics Department. Electricity. Pupil Notes Name:

University of Jordan School of Engineering Electrical Engineering Department. EE 204 Electrical Engineering Lab

User Interface Engineering FS 2013

Lecture Week 5. Quiz #2 Ohm s Law Homework Power Review Shorthand Notation Active Components Ideal Op-amps

EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 0: Course Introduction

MAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL

Guide to LED and Hobby Lighting Projects Documentation

USER S GUIDE POLOLU A4988 STEPPER MOTOR DRIVER CARRIER USING THE DRIVER POWER CONNECTIONS

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

Understanding the Arduino to LabVIEW Interface

Shock Sensor Module This module is digital shock sensor. It will output a high level signal when it detects a shock event.

EE 230 Lab Lab 9. Prior to Lab

Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days

CMSC838. Tangible Interactive Assistant Professor Computer Science

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Arduino: Sensors for Fun and Non Profit

Vocabulary. Electric Current. Electric Circuit. Open Circuit. Conductors. Insulators. Ohm s Law Current. Voltage. Resistance.

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

STEADY HAND GAME WITH LATCHING LED

PCB & Circuit Designing

Pulse-Width-Modulation Control Circuits

Unit 4: Principles of Electrical and Electronic Engineering. LO1: Understand fundamental electrical principles Maximum power transfer

PreLab 6 PWM Design for H-bridge Driver (due Oct 23)

Figure 1: Motor model

ECE 2010 Laboratory # 5 J.P.O Rourke

Robotics & Embedded Systems (Summer Training Program) 4 Weeks/30 Days

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

SA305 FEATURES APPLICATIONS DESCRIPTION EXTERNAL CONNECTIONS BLOCK DIAGRAM

PowerAmp Design. PowerAmp Design PAD125 CURRENT LIMIT ACCESSORY MODULE

Workshop 9: First steps in electronics

UNIT 4 VOCABULARY SKILLS WORK FUNCTIONS QUIZ. A detailed explanation about Arduino. What is Arduino? Listening

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018

Experiment 1: Robot Moves in 3ft squared makes sound and

RF System: Baseband Application Note

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

TL494M PULSE-WIDTH-MODULATION CONTROL CIRCUIT

Design Document. Team 63: Anthony Shvets and Zhe Tang TA: Zipeng Wang ECE 445 Spring 2018

CMSC838. Tangible Interactive Assistant Professor Computer Science

Example KodeKLIX Circuits

Lecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino

TL594 PULSE-WIDTH-MODULATION CONTROL CIRCUITS

LEVEL A: SCOPE AND SEQUENCE

Transcription:

introduction to Digital Electronics Install the Arduino IDE 1.8.5 on your laptop if you haven t already!

Electronics can add interactivity! Any sufficiently advanced technology is indistinguishable from magic - Arthur Clark.

Electronics can add interactivity! Any sufficiently well executed technology is indistinguishable from magic - in the eyes of kids!

Electronics can be complex

Electronics can be complex

Avoid unnecessary complexity!

Let s look at a circuit! + Battery Light Bulb -

Let s look at a circuit! + Battery Power Source - Load Light Bulb

Let s look at a circuit! + Battery Power Source Resistor - Load

Let s look at a circuit! Battery Power Source + 330Ω Resistor - Load V = IR 5 = I 330 Voltage = Current Resistance Volts Amps Ohms Current 0.015A

Let s look at a circuit! + - 330Ω

Let s look at a circuit! 0v + - 330Ω

Let s look at a circuit! 0v + - 330Ω

Let s look at a circuit! + - 330Ω 0v V1 Vref V 1 - V ref = IR

Let s look at a circuit! 0v + - 330Ω

Let s look at a circuit! + 330Ω 0v - 330Ω 0v

Let s look at a circuit! 330Ω 0v

Time for some LIGHT! 330Ω LED Light Emitting Diode 0v

Time for some LIGHT! 330Ω + - + - Longer is positive! LED Light Emitting Diode 0v Diodes conducts current primarily in one direction Needs resistor!

Time for some LIGHT! 330Ω 0v + - Longer is positive! LED Light Emitting Diode

Now in real life! Power Rails 330Ω 0v

Now in real life! Power Rails 330Ω 0v

Now in real life! Power Rails 330Ω 0v

Now in real life! 330Ω 0v

Now in real life! 330Ω 0v

Now in real life! 330Ω 0v Momentary Switch

Modify your circuit 330Ω 0v

A closer look 330Ω VCC (also Vdd, Vhigh) Voltage Common Collector (usually your power supply!) V2 - VGND = 1.4V V2 0v VGND LED Forward Voltage Drop 1.4V 0Ω Components have rules!

A closer look 330Ω 0v V2 VCC (also Vdd, Vhigh) Voltage Common Collector (usually your power supply!) VGND LED Forward Voltage Drop 1.4V 0Ω Components have rules! V2 = 1.4V VCC - V2 = I R 5-1.4 = I 330 I 10 ma

A closer look VCC 330Ω V2 0v VGND I 10 ma

A closer look VCC VCC 330Ω V2 LED Max Current 20mA V = IR 0v VGND 0v VGND I 10 ma I BIG NUMBER

Digital vs Analog Circuits Analog Circuits Range of voltages Usually requires math! Digital Circuits Usually 2 distinct voltages (high & low) and 0v (roughly) 0110100001101001

Using your Arduino! A Microcontroller.. or a small computer! Has inputs and outputs you can control Teensy Arduino Uno Arduino Nano

Using your Arduino! - +

Blink! - +

Blink! R- - + G B - Try making the colors alternate! - +

Pulse Width Modulation PWM! Digital is only 0v or, so how do we get values in between? 0v 50% of the time on, 50% of the time off 50% Duty Cycle LEDs can only be in 2 states- on or off! PWM to make the LED seem dimmer 0v 90% of the time on, 10% of the time off 90% Duty Cycle

PWM Pins marked ~ can use PWM

Servo and Moving Parts Rotary actuator that allows for precise control of linear position Arduino friendly! Built-in Library SIGNAL (Pin 6) POWER (5V) GND

Button Inputs Arduino Digital Pin 8 Big resistor! > 1kΩ What does the Arduino sense when it s not connected to GND? Value is floating! Pull up resistor!

Button Inputs Arduino Digital Pin 8

Button Inputs Arduino Digital Pin 8

Button Inputs Arduino Digital Pin 8

LED strips A strip of LEDs

Individually Addressable LED strips! Objectively pretty neat! Integrated Circuit & I 2 C communication ws2812 RGB LED Run on and can be controlled with an Arduino! Watch out for current! Each color ~ 15mA, total 50mA on white. Arduino max current ~1A

Projects for you to try Easy: Servo Steering One button turns the servo 90 clockwise, the other turns the servo 90 counterclockwise! Light Switch Pressing a button turns the light on. Pressing the button again turns the light off! Medium: Random Traffic Lights Have a RGB LED change to a random color every couple of seconds! Color Mixer Have 3 buttons that control the colors of a single RGB LED. Depends on which button is pressed, the light shows a different color! Challenging Night Light Using a photodiode, make a light turn on only when it s dark! Reflex Game Make a simple reflex game out of 1 LED and 1 Button. When the light turns on, see how fast you can press the button. Make a simple scoreboard using the WS2812 Lights!

To be Continued Electronics Part II! Communication Wireless Perf boards Soldering And more! Take anything you d like to keep with you (you can use these on your toys/sketch models)

introduction to Digital Electronics