Lecture 4: Basic Electronics. Lecture 4 Brief Introduction to Electronics and the Arduino
|
|
- Lambert Higgins
- 6 years ago
- Views:
Transcription
1 Lecture 4: Basic Electronics Lecture 4 Page: 1 Brief Introduction to Electronics and the Arduino colintan@nus.edu.sg
2 Lecture 4: Basic Electronics Page: 2 Objectives of this Lecture By the end of today s lecture you will be able to: Understand the use of resistors and other passive components in circuit design. Understand how to use a breadboard. Understand the Arduino Mega.
3 Lecture 4: Basic Electronics Page: 3 Power Supply Power supply is divided into Vcc (or Vin) and GND. Vcc is the positive side of the supply, and on TTL (transistor-transistor logic) devices like the Arduino, is usually 5 volts. GND is ground, the negative side of the circuit.
4 Lecture 4: Basic Electronics Page: 4 Resistors A resister is a passive component (does not significantly alter the properties of a signal) that is used to reduce current. The symbol for a resistor is shown below:
5 Lecture 4: Basic Electronics Page: 5 Resistors Resistance is measured in ohms. You can read the value of a particular resistor by looking at the colored stripes on its body:
6 Lecture 4: Basic Electronics Page: 6 Resistors Example: We have a resistor with green, blue and brown stripes on its body: Green: 5 Blue: 6 Brown: 1 zero. Total -> 560 ohms Another resistor as brown, black and orange stripes. Brown: 1 Black 0 Orange: 3 zeros. This is a ohm resistor, or 10 kilohms.
7 Lecture 4: Basic Electronics Page: 7 Resistors Resistors are used for: Limiting current through a system. This is to prevent damage to sensitive devices like lightemitting diodes (LEDs) and transistors. Dividing voltages. This is used to get a lower voltage from a higher voltage, e.g. to reduce 5v to 3.3v. Also used in transistor amplifiers to bias the base to reduce noise. Pulling up or down inputs.
8 Lecture 4: Basic Electronics Page: 8 Resistors Current Limiting The LEDs you are given can take a maximum of 20mA. If you exceed this current by too much, your LED will smoke and you will owe me a new LED. Our Arduino General Purpose Input/Output (GPIO) pins produce 5v. From ohm s law, V=RI, or R=V/I R = 5 / 0.02 = 250 ohms.
9 Lecture 4: Basic Electronics Page: 9 Resistors Real resistors are offered in a small set of values (see later). The closest is 270 ohms Your Arduino kit only has 330 ohms (orange-orange-brown) and 10 kilohms. Our final circuit looks like this:
10 Lecture 4: Basic Electronics Page: 10 Resistors Voltage Divider A voltage divider is used to step down a voltage source. We will use a circuit like this: The voltage Vout is given by:
11 Lecture 4: Basic Electronics Page: 11 Resistors Voltage Divider: E.g. we want to reduce a source voltage from 5v to 3.3v (very important for low-power electronics) We choose R2 to be 1k. We have 3.3 = [1/(1+R1)] * 5 R1=0.515k. Closest value is 510 ohms Our final output voltage is 5 * [1/(1+0.51)] = 3.31v.
12 Lecture 4: Basic Electronics Page: 12 Resistors Voltage divider circuits are also used for sensing light, when combined with a light dependent resistor.
13 Lecture 4: Basic Electronics Page: 13 Resistors Suppose an LDR s resistance is 10 ohms in bright light and ohms in the dark (very typical values). Suppose R2 is fixed at 330 ohms, input voltage is 5v. The output voltage Vout in the light would be 5 * (330 / 340) = 4.85v The output voltage Vout in the dark would be 5 * (330/50330) =0.03v. The Analog-Digital Converters (ADC) on the Arduino are able to sense this difference in voltages.
14 Lecture 4: Basic Electronics Page: 14 Resistors Circuit inputs should never be left hanging. We must always weakly pull them up to 5V or drop them to 0V. We use pull-up and pull-down resistors for this. We always use relatively large resistors like 10k so that the current is low.
15 Lecture 4: Basic Electronics Page: 15 Resistors
16 Lecture 4: Basic Electronics Page: 16 Resistors Common Resistor Values The Arduino kit comes with 330 ohm and 10k ohm resistors.
17 Lecture 4: Basic Electronics Page: 17 Light Emitting Diodes Similar to small bulbs, but much more energy efficient. The LEDs you are given have a maximum safe current load of 20 ma. If you put more than 20 ma the magic smoke will escape (more on this later). Always use a current limiting resistor! Two legs: Longer leg -> Positive terminal. Shorter leg -> Connect to GND.
18 Lecture 4: Basic Electronics Page: 18 Potentiometer A potentiometer functions like an adjustable voltage divider. Turn the dial to adjust the output voltage. Has 3 legs: First and third leg connect to VCC and GND (Polarity not important). Second leg is the output voltage.
19 Lecture 4: Basic Electronics Page: 19 The Breadboard You are provided with a breadboard:
20 Lecture 4: Basic Electronics Page: 20 The Breadboard A breadboard s holes are internally connected in very particular ways:
21 Lecture 4: Basic Electronics Page: 21 The Breadboard This means that you must connect your components carefully to prevent short circuits:
22 Lecture 4: Basic Electronics Page: 22 The Breadboard
23 Lecture 4: Basic Electronics Page: 23 The Breadboard Connecting resistors correctly:
24 Lecture 4: Basic Electronics Page: 24 The Breadboard The top two rows are used for power supply. Conventionally the top row is for Vcc and bottom is for GND.
25 Lecture 4: Basic Electronics Page: 25 The Breadboard
26 Lecture 4: Basic Electronics Page: 26 Wire Color Codes You should ALWAYS color code your wires: Use BLACK wires for GND. Use RED wires for VCC. ALWAYS use the same colors for the same function. E.g.: Blue for input, brown for output. Yellow for TX, green for RX. Etc. Color-coding makes it easier to debug your circuit.
27 Lecture 4: Basic Electronics Page: 27 The Arduino Mega You are also issued with an Arduino Mega board:
28 Lecture 4: Basic Electronics Page: 28 The Arduino Mega The Arduino Mega is based on the Atmega 2560 microcontroller chip. 256KB of flash memory. 4KB of EEPROM. Good for storing data permanently. Will be damaged if written to too often. 8KB of RAM 16 MHz clock.
29 Lecture 4: Basic Electronics Page: 29 The Arduino Mega The pins labelled 1 to 53 are General Purpose Input/Output pins. These are 5v TTL pins. GPIO commands: pinmode Sets a pin to be input or output. digitalread Read the pin. You will get 1 if there is a 5V input to the pin, 0 if 0V. digitalwrite Write to the pin. If you write a HIGH, the pin will be driven to 5v. If you write a LOW, the pin will be driven to 0v.
30 Lecture 4: Basic Electronics Page: 30 The Arduino Mega
31 Lecture 4: Basic Electronics Page: 31 The Arduino Mega
32 Lecture 4: Basic Electronics Page: 32 Example #define inputpin 10 #define outputpin 13 void setup() { pinmode(10, INPUT); pinmode(13, OUTPUT); } void loop() { unsigned int flag; flag=digitalread(10); if(flag) digitalwrite(13, HIGH); else digitalwrite(13, LOW); } int main() { setup(); while(1) loop(); return 0; }
33 Lecture 4: Basic Electronics Page: 33 Handling Analog Data Digital input and output is simple: Either ON or OFF. Analog input and output is more complex: Temperature reading of 23.12C People of heights 1.62m, 1.76m, 1.83m, etc. Key issues with analog input: Infinite set of possible values. E.g. Current temperature is 24C, or 23.9C, or 23.91C, or C, or C, or C, or C, or.
34 Lecture 4: Basic Electronics Page: 34 Handling Analog Data The pins labelled A0 to A15 are for analog inputs, pins 1 to 13 marked PWM are analog outputs.
35 Lecture 4: Basic Electronics Page: 35 Handling Analog Data
36 Lecture 4: Basic Electronics Page: 36 Power Supply The power supply pins supply 5 volts, 3.3 volts and GND. Vin is for supplying power to the Arduino. Maximum current draw of 200mA. Do not exceed this.
37 Lecture 4: Basic Electronics Page: 37 Analog Programming on Arduino #define inputpin 0 #define outputpin 5 // Remaps from to int remap(int val) { return (int)(val * / ); } int main() { while(1) { // Note: ADC returns values // from 0 to 1023, while // analogwrite accepts // values from 0 to 255. int val=analogread(inputpin); int outval=remap(val); analogwrite(outputpin, outval); } // while(1) return 0; }
38 Lecture 4: Basic Electronics Page: 38 Serial Programming There are four serial interfaces on the Mega, marked TX, RX, TX1, RX1, TX2, RX2, TX3, RX3.
39 Lecture 4: Basic Electronics Page: 39 Serial Programming Serial ports are accessed using the Serial, Serial1, Serial2, Serial3 static objects. Serial.begin(baudrate) Serial.write(ch) ch = Serial.read(); String str=serial.readstring() Serial.available() Serial.print/Serial.println Serial.setTimeout(timeoutInMS)
40 Lecture 4: Basic Electronics Page: 40 Serial Programming
Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett
Arduino Microcontroller Processing for Everyone!: Third Edition / Steven F. Barrett Anatomy of a Program Programs written for a microcontroller have a fairly repeatable format. Slight variations exist
More informationObjectives: 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
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 By the end of this session: You will know how to use an Arduino
More informationDASL 120 Introduction to Microcontrollers
DASL 120 Introduction to Microcontrollers Lecture 2 Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to Atmel Atmega328
More informationFor this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.
Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes
More informationHAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1
HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for
More informationBlink. EE 285 Arduino 1
Blink At the end of the previous lecture slides, we loaded and ran the blink program. When the program is running, the built-in LED blinks on and off on for one second and off for one second. It is very
More informationTHE INPUTS ON THE ARDUINO READ VOLTAGE. ALL INPUTS NEED TO BE THOUGHT OF IN TERMS OF VOLTAGE DIFFERENTIALS.
INPUT THE INPUTS ON THE ARDUINO READ VOLTAGE. ALL INPUTS NEED TO BE THOUGHT OF IN TERMS OF VOLTAGE DIFFERENTIALS. THE ANALOG INPUTS CONVERT VOLTAGE LEVELS TO A NUMERICAL VALUE. PULL-UP (OR DOWN) RESISTOR
More informationSten-Bot Robot Kit Stensat Group LLC, Copyright 2013
Sten-Bot Robot Kit Stensat Group LLC, Copyright 2013 Legal Stuff Stensat Group LLC assumes no responsibility and/or liability for the use of the kit and documentation. There is a 90 day warranty for the
More informationEmbedded Controls Final Project. Tom Hall EE /07/2011
Embedded Controls Final Project Tom Hall EE 554 12/07/2011 Introduction: The given task was to design a system that: -Uses at least one actuator and one sensor -Determine a controlled variable and suitable
More informationTV Remote. Discover Engineering. Youth Handouts
Discover Engineering Youth Handouts Electronic Component Guide Component Symbol Notes Amplifier chip 1 8 2 7 3 6 4 5 Capacitor LED The amplifier chip (labeled LM 386) has 8 legs, or pins. Each pin connects
More informationFABO ACADEMY X ELECTRONIC DESIGN
ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it
More informationRodni What will yours be?
Rodni What will yours be? version 4 Welcome to Rodni, a modular animatronic animal of your own creation for learning how easy it is to enter the world of software programming and micro controllers. During
More informationMAKEVMA502 BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL
BASIC DIY KIT WITH ATMEGA2560 FOR ARDUINO USER MANUAL USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device
More informationLab 2: Blinkie Lab. Objectives. Materials. Theory
Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and
More informationINA169 Breakout Board Hookup Guide
Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The
More informationThe Motor sketch. One Direction ON-OFF DC Motor
One Direction ON-OFF DC Motor The DC motor in your Arduino kit is the most basic of electric motors and is used in all types of hobby electronics. When current is passed through, it spins continuously
More informationCoding with Arduino to operate the prosthetic arm
Setup Board Install FTDI Drivers This is so that your RedBoard will be able to communicate with your computer. If you have Windows 8 or above you might already have the drivers. 1. Download the FTDI driver
More informationArduino An Introduction
Arduino An Introduction Hardware and Programming Presented by Madu Suthanan, P. Eng., FEC. Volunteer, Former Chair (2013-14) PEO Scarborough Chapter 2 Arduino for Mechatronics 2017 This note is for those
More informationModule: Arduino as Signal Generator
Name/NetID: Teammate/NetID: Module: Laboratory Outline In our continuing quest to access the development and debugging capabilities of the equipment on your bench at home Arduino/RedBoard as signal generator.
More informationObjective of the lesson
Arduino Lesson 5 1 Objective of the lesson Learn how to program an Arduino in S4A All of you will: Add an LED to an Arduino and get it to come on and blink Most of you will: Add an LED to an Arduino and
More informationData Conversion and Lab Lab 1 Fall Operational Amplifiers
Operational Amplifiers Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab. 1) To construct and operate
More informationFigure 1. Digilent DC Motor
Laboratory 9 - Usage of DC- and servo-motors The current laboratory describes the usage of DC and servomotors 1. DC motors Figure 1. Digilent DC Motor Classical DC motors are converting electrical energy
More information1. Introduction to Analog I/O
EduCake Analog I/O Intro 1. Introduction to Analog I/O In previous chapter, we introduced the 86Duino EduCake, talked about EduCake s I/O features and specification, the development IDE and multiple examples
More informationDFRduino Romeo All in one Controller V1.1(SKU:DFR0004)
DFRduino Romeo All in one Controller V1.1(SKU:DFR0004) DFRduino RoMeo V1.1 Contents 1 Introduction 2 Specification 3 DFRduino RoMeo Pinout 4 Before you start 4.1 Applying Power 4.2 Software 5 Romeo Configuration
More informationEE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino
EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling
More informationLesson 3: Arduino. Goals
Introduction: This project introduces you to the wonderful world of Arduino and how to program physical devices. In this lesson you will learn how to write code and make an LED flash. Goals 1 - Get to
More informationBreadboard Arduino Compatible Assembly Guide
(BBAC) breadboard arduino compatible Breadboard Arduino Compatible Assembly Guide (BBAC) A Few Words ABOUT THIS KIT The overall goal of this kit is fun. Beyond this, the aim is to get you comfortable using
More informationData Conversion and Lab Lab 4 Fall Digital to Analog Conversions
Digital to Analog Conversions Objective o o o o o To construct and operate a binary-weighted DAC To construct and operate a Digital to Analog Converters Testing the ADC and DAC With DC Input Testing the
More informationAttribution Thank you to Arduino and SparkFun for open source access to reference materials.
Attribution Thank you to Arduino and SparkFun for open source access to reference materials. Contents Parts Reference... 1 Installing Arduino... 7 Unit 1: LEDs, Resistors, & Buttons... 7 1.1 Blink (Hello
More informationUSER MANUAL SERIAL IR SENSOR ARRAY5
USER MANUAL SERIAL IR SENSOR ARRAY5 25mm (Serial Communication Based Automatic Line Position Detection Sensor using 5 TCRT5000 IR sensors) Description: You can now build a line follower robot without writing
More informationLab 06: Ohm s Law and Servo Motor Control
CS281: Computer Systems Lab 06: Ohm s Law and Servo Motor Control The main purpose of this lab is to build a servo motor control circuit. As with prior labs, there will be some exploratory sections designed
More informationPLAN DE FORMACIÓN EN LENGUAS EXTRANJERAS IN-57 Technology for ESO: Contents and Strategies
Lesson Plan: Traffic light with Arduino using code, S4A and Ardublock Course 3rd ESO Technology, Programming and Robotic David Lobo Martínez David Lobo Martínez 1 1. TOPIC Arduino is an open source hardware
More informationAssignments from last week
Assignments from last week Review LED flasher kits Review protoshields Need more soldering practice (see below)? http://www.allelectronics.com/make-a-store/category/305/kits/1.html http://www.mpja.com/departments.asp?dept=61
More informationLecture 6. Interfacing Digital and Analog Devices to Arduino. Intro to Arduino
Lecture 6 Interfacing Digital and Analog Devices to Arduino. Intro to Arduino PWR IN USB (to Computer) RESET SCL\SDA (I2C Bus) POWER 5V / 3.3V / GND Analog INPUTS Digital I\O PWM(3, 5, 6, 9, 10, 11) Components
More informationUSER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE
USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE LM2901 Quad Voltage Comparator 1 5/18/04 TABLE OF CONTENTS 1. Index of Figures....3 2. Index of Tables. 3 3. Introduction.. 4-5 4. Theory
More informationSidekick Basic Kit for Arduino V2 Introduction
Sidekick Basic Kit for Arduino V2 Introduction The Arduino Sidekick Basic Kit is designed to be used with your Arduino / Seeeduino / Seeeduino ADK / Maple Lilypad or any MCU board. It contains everything
More informationInternet of Things Student STEM Project Jackson High School. Lesson 3: Arduino Solar Tracker
Internet of Things Student STEM Project Jackson High School Lesson 3: Arduino Solar Tracker Lesson 3 Arduino Solar Tracker Time to complete Lesson 60-minute class period Learning objectives Students learn
More informationTouch Potentiometer Hookup Guide
Page 1 of 14 Touch Potentiometer Hookup Guide Introduction The Touch Potentiometer, or Touch Pot for short, is an intelligent, linear capacitive touch sensor that implements potentiometer functionality
More informationBreadboard Primer. Experience. Objective. No previous electronics experience is required.
Breadboard Primer Experience No previous electronics experience is required. Figure 1: Breadboard drawing made using an open-source tool from fritzing.org Objective A solderless breadboard (or protoboard)
More informationJ. La Favre Using Arduino with Raspberry Pi February 7, 2018
As you have already discovered, the Raspberry Pi is a very capable digital device. Nevertheless, it does have some weaknesses. For example, it does not produce a clean pulse width modulation output (unless
More informationProgrammable Control Introduction
Programmable Control Introduction By the end of this unit you should be able to: Give examples of where microcontrollers are used Recognise the symbols for different processes in a flowchart Construct
More informationLab 2.4 Arduinos, Resistors, and Circuits
Lab 2.4 Arduinos, Resistors, and Circuits Objectives: Investigate resistors in series and parallel and Kirchoff s Law through hands-on learning Get experience using an Arduino hat you need: Arduino Kit:
More informationArduino Digital Out_QUICK RECAP
Arduino Digital Out_QUICK RECAP BLINK File> Examples>Digital>Blink int ledpin = 13; // LED connected to digital pin 13 // The setup() method runs once, when the sketch starts void setup() // initialize
More informationPreface. If you have any problems for learning, please contact us at We will do our best to help you solve the problem.
Preface Adeept is a technical service team of open source software and hardware. Dedicated to applying the Internet and the latest industrial technology in open source area, we strive to provide best hardware
More informationBasics before Migtrating to Arduino
Basics before Migtrating to Arduino Who is this for? Written by Storming Robots Last update: Oct 11 th, 2013 This document is meant for preparing students who have already good amount of programming knowledge,
More informationLED + Servo 2 devices, 1 Arduino
LED + Servo 2 devices, 1 Arduino Learn to connect and write code to control both a Servo and an LED at the same time. Many students who come through the lab ask if they can use both an LED and a Servo
More informationArduino
Arduino Class Kit Contents A Word on Safety Electronics can hurt you Lead in some of the parts Wash up afterwards You can hurt electronics Static-sensitive: don t shuffle your feet & touch Wires only
More informationExam Practice Problems (3 Point Questions)
Exam Practice Problems (3 Point Questions) Below are practice problems for the three point questions found on the exam. These questions come from past exams as well additional questions created by faculty.
More information128 KB (128K 1 = 128K
R1 1. Design an application that monitors the temperature (T) of the environment using a LM50 sensor (with a Vout=T[ C]*0.01[V/ C]+0.5V response function in the 40 C to +125 C range). The output pin of
More information12V Dimmer Kit, version 2
12V Dimmer Kit, version 2 User Manual Description The 12V Dimmer Kit V2 is an especially efficient PWM (pulse-width modulation) controller for 12V loads up to 60 watts. It features a single dial control
More information1Getting Started SIK BINDER //3
SIK BINDER //1 SIK BINDER //2 1Getting Started SIK BINDER //3 Sparkfun Inventor s Kit Teacher s Helper These worksheets and handouts are supplemental material intended to make the educator s job a little
More informationLEDs and Sensors Part 2: Analog to Digital
LEDs and Sensors Part 2: Analog to Digital In the last lesson, we used switches to create input for the Arduino, and, via the microcontroller, the inputs controlled our LEDs when playing Simon. In this
More informationServo Sweep. Learn to make a regular Servo move in a sweeping motion.
Servo Sweep Learn to make a regular Servo move in a sweeping motion. We have seen how to control a Servo and also how to make an LED Fade on and off. This activity will teach you how to make a regular
More information.:Twisting:..:Potentiometers:.
CIRC-08.:Twisting:..:Potentiometers:. WHAT WE RE DOING: Along with the digital pins, the also has 6 pins which can be used for analog input. These inputs take a voltage (from 0 to 5 volts) and convert
More informationMicrocontrollers and Interfacing
Microcontrollers and Interfacing Week 07 digital input, debouncing, interrupts and concurrency College of Information Science and Engineering Ritsumeikan University 1 this week digital input push-button
More informationBill of Materials: PWM Stepper Motor Driver PART NO
PWM Stepper Motor Driver PART NO. 2183816 Control a stepper motor using this circuit and a servo PWM signal from an R/C controller, arduino, or microcontroller. Onboard circuitry limits winding current,
More informationMotors and Servos Part 2: DC Motors
Motors and Servos Part 2: DC Motors Back to Motors After a brief excursion into serial communication last week, we are returning to DC motors this week. As you recall, we have already worked with servos
More informationPART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM
ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES INTRODUCTION TO DIGITAL CONTROL PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM 1. INTRODUCTION
More informationSPI, Talking to Chips, and Minimizing Noise
Jonathan Mitchell 996069032 Stark Industries Application Note SPI, Talking to Chips, and Minimizing Noise How do you communicate with a piece of silicon? How do you communicate with a semiconductor. SPI
More informationArduino: Sensors for Fun and Non Profit
Arduino: Sensors for Fun and Non Profit Slides and Programs: http://pamplin.com/dms/ Nicholas Webb DMS: @NickWebb 1 Arduino: Sensors for Fun and Non Profit Slides and Programs: http://pamplin.com/dms/
More informationVacuum Tubes. BJT or FET. Transistor Configurations. Depends on application Amplifiers
Vacuum Tubes 3 Handouts Lab 3 (2) Lecture notes Linear without feedback Characteristics independent of temperature Wider dynamic range Vacuum Tubes, BJT or FET? Circuit Analysis: Amplifier & Feedback Classic
More informationTWEAK THE ARDUINO LOGO
TWEAK THE ARDUINO LOGO Using serial communication, you'll use your Arduino to control a program on your computer Discover : serial communication with a computer program, Processing Time : 45 minutes Level
More informationCMU232 User Manual Last Revised October 21, 2002
CMU232 User Manual Last Revised October 21, 2002 Overview CMU232 is a new low-cost, low-power serial smart switch for serial data communications. It is intended for use by hobbyists to control multiple
More informationMechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators
Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators Ahmed Okasha, Assistant Lecturer okasha1st@gmail.com Objective Have a
More informationCONSTRUCTION GUIDE Capacitor, Transistor & Motorbike. Robobox. Level VII
CONSTRUCTION GUIDE Capacitor, Transistor & Motorbike Robobox Level VII Capacitor, Transistor & Motorbike In this box, we will understand in more detail the operation of DC motors, transistors and capacitor.
More informationTECH 3232 Fall 2010 Lab #1 Into To Digital Circuits. To review basic logic gates and digital logic circuit construction and testing.
TECH 3232 Fall 2010 Lab #1 Into To Digital Circuits Name: Purpose: To review basic logic gates and digital logic circuit construction and testing. Introduction: The most common way to connect circuits
More informationWritten by Hans Summers Wednesday, 15 November :53 - Last Updated Wednesday, 15 November :07
This is a phantastron divider based on the HP522 frequency counter circuit diagram. The input is a 2100Hz 15V peak-peak signal from my 2.1kHz oscillator project. Please take a look at the crystal oscillator
More informationPOLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) USER S GUIDE
POLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) DETAILS FOR ITEM #2756 USER S GUIDE This version of the motor driver is fully assembled, with a 2 20-pin 0.1 female header (for connecting
More informationENGN/PHYS 207 Fall 2018 Assignment #5 Final Report Due Date: 5pm Wed Oct 31, 2018
ENGN/PHYS 207 Fall 2018 Assignment #5 Final Report Due Date: 5pm Wed Oct 31, 2018 Circuits You ll Build 1. Instrumentation Amplifier Circuit with reference offset voltage and user selected gain. 2. Strain
More informationINSTANT ROBOT SHIELD (AXE408)
INSTANT ROBOT SHIELD (AXE408) 1.0 Introduction Thank you for purchasing this Instant Robot shield. This datasheet is designed to give a brief introduction to how the shield is assembled, used and configured.
More informationPWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness
PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have
More informationintroduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already!
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
More informationPARAMETER CONDITION VALUE (TYPICAL) PVIN Power Input Voltage Range Operating 20V - 28V. VIN Pin Input Voltage Range Operating 8V - 14V
LT3754 DESCRIPTION DC1436A is a 16-Channel High Voltage LED Driver featuring the LT3754. The LT3754 drives up to 50mA per string and has a maximum LED string voltage of 45V. DC1436A is set at 1MHz switching
More informationEE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE
9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION
More informationDisclaimer. Arduino Hands-On 2 CS5968 / ART4455 9/1/10. ! Many of these slides are mine. ! But, some are stolen from various places on the web
Arduino Hands-On 2 CS5968 / ART4455 Disclaimer! Many of these slides are mine! But, some are stolen from various places on the web! todbot.com Bionic Arduino and Spooky Arduino class notes from Tod E.Kurt!
More informationExperiment # 2 The Voting Machine
Experiment # 2 The Voting Machine 1. Synopsis: In this lab we will build a simple logic circuit of a voting machine using TTL gates using integrated circuits that contain one or more gates packaged inside.
More informationLab Exercise 6: Digital/Analog conversion
Lab Exercise 6: Digital/Analog conversion Introduction In this lab exercise, you will study circuits for analog-to-digital and digital-to-analog conversion Preparation Before arriving at the lab, you should
More informationElectronics: Design and Build Training Session. Presented By: Dr. Shakti Singh Hazem Elgabra Amna Siddiqui
Electronics: Design and Build Training Session Presented By: Dr. Shakti Singh Hazem Elgabra Amna Siddiqui Basic prototyping and measurement tools Breadboard basics Back View VCC GND VSS Breadboard basics
More informationProgrammable Timer Teaching Notes Issue 1.2
Teaching Notes Issue 1.2 Product information: www.kitronik.co.uk/quicklinks/2121/ TEACHER Programmable Timer Index of sheets Introduction Schemes of work Answers The Design Process The Design Brief Investigation
More informationMotor Control Demonstration Lab
Motor Control Demonstration Lab JIM SIBIGTROTH and EDUARDO MONTAÑEZ Freescale Semiconductor launched by Motorola, 8/16 Bit MCU Division, Austin, TX 78735, USA. Email: j.sibigtroth@freescale.com eduardo.montanez@freescale.com
More informationArduino Programming Part 3
Arduino Programming Part 3 EAS 199A Fall 2011 Overview Part I Circuits and code to control the speed of a small DC motor. Use potentiometer for dynamic user input. Use PWM output from Arduino to control
More informationThe ilab Experience. Smart Space Orchestration (s2o) Part I: Hardware Nov 29, you set the focus. a blended learning hands-on course concept
The ilab Experience a blended learning hands-on course concept you set the focus Smart Space Orchestration (s2o) Part I: Hardware Nov 29, 2017 Three parts DIY HW DIY SW P2P Measurements 3 ID card-based
More informationDigital Electronics & Chip Design
Digital Electronics & Chip Design Lab Manual I: The Utility Board 1999 David Harris The objective of this lab is to assemble your utility board. This board, containing LED displays, switches, and a clock,
More informationMICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)
PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is
More informationPractice Homework Problems for Module 1
Practice Homework Problems for Module 1 1. Unsigned base conversions (LO 1-1). (a) (2C9E) 16 to base 2 (b) (1101001) 2 to base 10 (c) (1101001) 2 to base 16 (d) (8576) 10 to base 16 (e) (A27F) 16 to base
More informationArduino Intermediate Projects
Arduino Intermediate Projects Created as a companion manual to the Toronto Public Library Arduino Kits. Arduino Intermediate Projects Copyright 2018 Toronto Public Library. All rights reserved. Published
More informationReal Time Embedded Systems. Lecture 1 January 17, 2012
Analog Real Time Embedded Systems www.atomicrhubarb.com/embedded Lecture 1 January 17, 2012 Topic Section Topic Where in the books Catsoulis chapter/page Simon chapter/page Zilog UM197 (ZNEO Z16F Series
More informationThe answer is R= 471 ohms. So we can use a 470 ohm or the next higher one, a 560 ohm.
Introducing Resistors & LED s P a g e 1 Resistors are used to adjust the voltage and current in a circuit. The higher the resistance value, the more electrons it blocks. Thus, higher resistance will lower
More informationLab 13: Microcontrollers II
Lab 13: Microcontrollers II You will turn in this lab report at the end of lab. Be sure to bring a printed coverpage to attach to your report. Prelab Watch this video on DACs https://www.youtube.com/watch?v=b-vug7h0lpe.
More informationElectronics. RC Filter, DC Supply, and 555
Electronics RC Filter, DC Supply, and 555 0.1 Lab Ticket Each individual will write up his or her own Lab Report for this two-week experiment. You must also submit Lab Tickets individually. You are expected
More information1 P a g e A n I S O 9 0 0 1-2 0 0 8 C e r t i f i e d C o m p a n y Digital Heart Beat Sensor This heart beat sensor is designed to give digital output of heart beat when a finger is placed on it. When
More informationMICROPROCESSORS A (17.383) Fall Lecture Outline
MICROPROCESSORS A (17.383) Fall 2010 Lecture Outline Class # 07 October 26, 2010 Dohn Bowden 1 Today s Lecture Syllabus review Microcontroller Hardware and/or Interface Finish Analog to Digital Conversion
More informationPulse Width Modulation and
Pulse Width Modulation and analogwrite ( ); 28 Materials needed to wire one LED. Odyssey Board 1 dowel Socket block Wire clip (optional) 1 Female to Female (F/F) wire 1 F/F resistor wire LED Note: The
More informationMAE106 Laboratory Exercises Lab # 1 - Laboratory tools
MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,
More informationApplication Note AN 102: Arduino I2C Interface to K 30 Sensor
Application Note AN 102: Arduino I2C Interface to K 30 Sensor Introduction The Arduino UNO, MEGA 1280 or MEGA 2560 are ideal microcontrollers for operating SenseAir s K 30 CO2 sensor. The connection to
More informationTraining Schedule. Robotic System Design using Arduino Platform
Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection
More informationLAB PROJECT 2. Lab Exercise
LAB PROJECT 2 Objective Investigate photoresistors, infrared light emitting diodes (IRLED), phototransistors, and fiber optic cable. Type a semi-formal lab report as described in the lab manual. Use tables
More informationPololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+
Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+ Pololu DRV8835 dual motor driver board for Raspberry Pi B+, top view with dimensions. Overview This motor driver kit and its corresponding Python
More informationWorkshops Elisava Introduction to programming and electronics (Scratch & Arduino)
Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure
More informationCSCI1600 Lab 4: Sound
CSCI1600 Lab 4: Sound November 1, 2017 1 Objectives By the end of this lab, you will: Connect a speaker and play a tone Use the speaker to play a simple melody Materials: We will be providing the parts
More information