Introduction to Arduino HW Labs

Slides:



Advertisements
Similar presentations
1 Signals, Circuits, and Computers John Athanasiou Part B Spring 2010.
Advertisements

S A D A R S Stevenage And District Amateur Radio Society
Programming Logic Controllers
Microprocessor Motor Control Spring Introduction  Stamp projects Robots  Sensors  Motor control  Logic Rocketry  Reading acceleration (“g”
» When you have completed this module you will know, what components do, what they physically look like and how they are represented in a circuit diagram.
In 1820 Hans Oersted discovered how magnetism and electricity are connected. A unit of measure of magnetic field strength, the oersted, is named after.
Fair Use Building and Research Labs Presents
Circuit Protection  Protective Devices – terminate current flow in a circuit.  Located in series within a circuit  Excessive current flow results from.
Solid State University Understand the following components: Potentiometers Thermistors Capacitors Diodes Zener Diodes Transistors.
Dr. Andreas Kunz © 10/2004 inspire icvr BASICS OF ELECTRONICS.
Introduction to Arduino HW Labs In the next six lab sessions, you’ll attach sensors and actuators to your Arduino processor This session provides an overview.
K L University 1 By G.SUNITA DEPARTMENT OF PHYSICS.
DC Motors, Stepper Motors, H-bridges DC Motors Stepper Motors Motor Control Circuits – Relays – H-bridges.
Chapter 1 Quick review over Electronics and Electric Components Prepared By : Elec Solv.
Physics and Electronics. Electronic systems Electronic systems are made up of 3 parts: 1)An INPUT SENSOR – these detect changes in the environment Examples:
Electrical Electricity Fuses Relays Solenoids Electrical Testing
Electrical Fundamentals
Electronic component identification In order to identify electronic components from diagrams and data sheets and then select the appropriate electronic.
Lecture 7: Signal Processing V EEN 112: Introduction to Electrical and Computer Engineering Professor Eric Rozier, 2/27/13.
MAE156A October 12, 2006 UCSD H. Ali Razavi.  Electric voltage is similar to height difference: - Electrons start moving under voltage difference - Unless.
Chapter 31 Faraday’s Law.
Electronic Components. Battery A portable power source that has a positive and negative. Electronics works on Direct Current (DC) where electrons flow.
ECE 194 S’01 Introduction to Engineering II Arizona State University 1 The operational amplifier, cont.  Has a multitude of circuit applications  Linear.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
Introduction 2 Electrical Design
Chapter 31 Faraday’s Law.
Basic Electronics for Arduino -basic electronics -arduino related stuff -tips and tricks Rob Zimmermann 2015.
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
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.
6.2 ELECTRONICS. CAPACITOR An electrical device used to store electrical charge.
Chapter 21 Magnetic Induction and Chapter 22.9: Transformers.
Arduino Application: Speed control of small DC Motors
Class Parts List Breadboard 1 Wire kit 1 Red LEDs 3 Green LEDs 3 Yellow LEDs 1 Photoresistor 1 xPiezo sensor 1 Button 3 Slide button, switch 1 Reed switch.
Electric Pressure Transducer
Farmer Friendly Solar Based Electric Fence
TRACK SENSING ROBOTIC VEHICLE MOVEMENT
MAGNETISM AND ELECTROMAGNETISM
Introduction to Arduino HW Labs
Chapter Electromechanical Systems 6. Chapter Electromechanical Systems 6.
CHARGE AND LOAD PROTECTION IN SOLAR POWER MANAGEMENT
INDUSTRIAL ELECTRONICS/ELECTRICITY
Solar Inverter.
AUTOMATIC STREET LIGHT CONTROL USING LDR
Electronics Part 4 Electrical Components
Resistance Impedance Energy Storage Resistor R Ohms Reactance Z Ohms
Implementation of Solar Inverter for
Fair Use Building and Research Labs Presents
Component Identification
The operational amplifier, cont.
DC MOTOR SPEED CONTROL 1. Introduction
Electric Motors.
Physics Unit 6 - Magnetism
The Key to Understanding Wiring Diagrams
Inductance Chapter 29 opener. One of the great laws of physics is Faraday’s law of induction, which says that a changing magnetic flux produces an induced.
Chapter 6: Voltage Regulator
In 1820 Hans Oersted discovered how magnetism and electricity are connected. A unit of measure of magnetic field strength, the oersted, is named after.
Basic Electrical System Theory and Repairs
Basic Electronics Part Two: Electronic Components.
Fair Use Building and Research Labs Presents
Sensors Chapter 17 Lesson 3.
Electricity and Magnetism
SOLAR POWER CHARGE CONTROLLER
Electricity and Magnetism
Sensors and actuators Sensors Resistive sensors
The Key to Understanding Wiring Diagrams
CTY SAR FCPS Shawn Lupoli, Elliot Tan
In 1820 Hans Oersted discovered how magnetism and electricity are connected. A unit of measure of magnetic field strength, the oersted, is named after.
Actuators Chapter 17 Lesson 5.
Lecture 2 Electrical and Electronics Circuits. After you study, and apply ideas in this Lecture, you will: Understand differences among resistance, capacitance,
Fluid Power System Electrical Control
Presentation transcript:

Introduction to Arduino HW Labs In the next six lab sessions, you’ll attach sensors and actuators to your Arduino processor This session provides an overview for the devices LED indicators Text/Sound Output Passive Sensors Active Sensors Buzzers/Motors Servomotors

+ R R - High R Low R No Light Light Smoke LED Indicators Any diode has high resistance in one direction and low resistance in the opposite direction An LED is a Light Emitting Diode If it is carrying current, it emits light If it carries too much current, it emits smoke  + R R - High R Low R No Light Light Smoke

Text Display Fixed text display devices can be sent characters to display in a bit matrix format ASCII characters can be transmitted serially to the device in the sequence desired for display It is possible to configure the bit matrix patterns for special characters that don’t correspond to any character in the ASCII code set Application: Cheap hand-held device displays

Sound Output Piezoelectric materials (certain ceramics) can be used to sense strain or generate vibrations As a sensor, a PZ material generates an electric signal when exposed to levels of mechanical stress/strain As a sound/ultrasound source, a PZ material expands and contracts when a varying voltage is applied to it Application: Cards that sing “Happy Birthday” Our text display device generates tones of various frequencies – hence it can produce sound output

Passive Sensors Passive sensors detect some physical signal from the external environment being monitored A passive sensor may detect Electromagnetic energy (light, night vision, radio) Acoustic energy (sound, ultrasound, vibration) Seismic Energy (earthquakes, atomic bomb tests) They are not always as accurate as active sensors but their presence usually cannot be detected (useful for monitoring enemies on a battlefield) Usually low power requirements, e.g. batteries

Active Sensors Active sensors generate a physical signal and then detect the reaction to it from the environment An active sensor may generate and detect: Radio signals and echo returns (radar) Acoustic signals and echo returns (ultrasound, sonar) Light signals and echo returns (laser ranging, scanners) Disadvantages of an active sensor: It can be detected by whomever it is monitoring It may require a lot of power to generate the signal

Buzzers / Motors Controlling a high current device may need to be done using an external electronic switch Example high current devices Motors Solenoids / Electromagnets Electronic switches Electromechanical Relays Transistors

Buzzers / Motors Relays have a metal frame, an electromagnetic coil, and a spring to control an electrical switch Contacts can be normal open or normal closed Spring Normal Closed To Controlled Devices Power Source Normal Open Control Signal Ground

Buzzers / Motors Solid state transistors allow a small current to be amplified and control a larger current to a “load” NPN Transistor Load (Buzzer / Motor) Collector + Load Current = beta * Control Current N material Arduino Output Pin Power Source Base P material Control Current N material - Emitter Ground

Suppressing “Back EMF” When the circuit providing current to a coil of wire is shut off, the collapsing magnetic field produces a large voltage - briefly making the coil try to supply power back to the rest of the circuit This called a Back Electromotive Force (EMF) Application: Ignition coils in automobile engines to fire the spark plugs (Ouch - Don’t touch!!) It can damage other parts of the electronics such as the transistors controlling the coil current

Suppressing “Back EMF” We put a diode in parallel with the coil oriented in the opposite direction to normal current flow The diode does not carry any current while the coil current is present – It is reverse polarized The diode short circuits the current generated by the transient back EMF when coil current is turned off Switch closed Coil + VDC Ground Switch opens Collapsing Magnetic Field + VDC Coil Ground

Suppressing Voltage Spikes Some power sources or loads can cause voltage spikes on the power lines to the other electronic parts causing errors in their operation Example: The commutator in a motor A capacitor across the power lines absorbs these spikes – smoothing out the voltage on the lines A capacitor works like a “bucket” for electric charge

Suppressing Voltage Spikes Water and Electricity Analogy Input voltage with spikes due to sparks Output voltage without spikes Irregular flow due to pumping action + VDC Hole Capacitor Motor Regular flow due to bucket’s capacity Ground

Servomotors There are two types of servomotors Standard (Controlled Position) Continuous Rotation (Controlled Speed/Direction) A servomotor contains a feedback circuit that compares input from SW to information about the current state of the HW device (position or speed) Loop Update Signal Forward Control Output State Input From Processor Summing Junction + - Feedback Sensing

Servomotors A standard servomotor can be used to control the position of a valve, electronic control knob, steering wheel position, robotic arm position, etc. The desired position is compared to the current position and a loop update signal causes motion toward the desired position and stopping there

Servomotors A continuous rotation servomotor can be used to move a robotic device, material in an assembly line, paper in a copier, fax, or printer, etc. The desired speed and direction is compared to the current speed and direction and a loop update signal causes the device to speed up, slow down, stop, or reverse direction A calibration step to “zero the speed” when the control input is set to zero is usually required

Potentiometers In Labs 9 and 10, you will use a potentiometer as a manual input controller for the servomotors A potentiometer is some times referred to as a “variable resistor”, but it is a variable tap on a resistor spanning a signal or power and ground There are 3 poles: The two end poles are on opposite ends of a resistor The center pole “wiper” turns along the resistor to vary the resistance between it and each of the ends based on a mechanical input such as a manual dial

Potentiometers The schematic for a potentiometer: 0 to +5V based on wiper position +5V Wiper Resistor