Introduction to Arduino HW Labs

Similar documents
Motors and Servos Part 2: DC Motors

Electronics, Sensors, and Actuators

Cornerstone Electronics Technology and Robotics I Week 19 Electrical Relays

Conventional transistor overview and special transistors

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

SWARM South Western (Ontario) Association of Rocket Modellers

Electronic Components

Electronic Components (Elements)

DC motor control using arduino

Experiment (1) Principles of Switching

Introduction to Electronics and Breadboarding Circuits

Sensing. Autonomous systems. Properties. Classification. Key requirement of autonomous systems. An AS should be connected to the outside world.

Electronic Components

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

EXPERIMENT 5 CURRENT AND VOLTAGE CHARACTERISTICS OF BJT

Semiconductor 9/21/2015

An Introduction to Bipolar Junction Transistors. Prepared by Dr Yonas M Gebremichael, 2005

MINI ELECTRONIC SIGNALS

DC-Motor Driver circuits

Construction Electrician Level 2

DECEMBER 2014 Level 2 Certificate/Diploma in Engineering (IVQ) Principles of electrical and electronics technology

Basic Microprocessor Interfacing Trainer Lab Manual

Experiment#6: Speaker Control

Power Electrician Level 3

Lab no. 4 Bipolar Transistor (NPN and PNP)

PEAKTRONICS AMC-103 ADDITIONAL FEATURES. AC Motor Controller, 2A AMC-103 AMC-103A AMC-103B

Paper number: Principles of electrical and electronics technology Paper series: December Practice

Assignments from last week

Direct Current Waveforms

RT-5005/5006/5007/5008

DET: Technological Studies Applied Electronics Intermediate 2

Chapter 5 Electric Logic Sensors and Actuators

Contents. Acknowledgments. About the Author

Page 1. Relays. Poles and Throws. Relay Types. Common embedded system problem CS/ECE 6780/5780. Al Davis. Terminology used for switches

The Datasheet and Interfacing EE3376

SECTION 3 BASIC AUTOMATIC CONTROLS UNIT 12 BASIC ELECTRICITY AND MAGNETISM. Unit Objectives. Unit Objectives 2/29/2012

GCSE Electronics. Scheme of Work

School of Engineering Mechatronics Engineering Department. Experim. ment no. 1

Brick Challenge. Have fun doing the experiments!

Capacitors, diodes, transistors

9/28/2010. Chapter , The McGraw-Hill Companies, Inc.

Introduction. ELCT903, Sensor Technology Electronics and Electrical Engineering Department 1. Dr.-Eng. Hisham El-Sherif

Introduction to the ME2110 Kit. Controller Box Electro Mechanical Actuators & Sensors Pneumatics

Experiment 8: Semiconductor Devices

Embedded systems. Exercise session 1. Introduction and project presentation

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

Basic Electronics Refresher

ELECTRONICS An Introduction

ECET 211 Electric Machines & Controls Lecture 7 Relays. Lecture 7 Relays

Experiment P48: Transistor Lab 1 The NPN Transistor as a Digital Switch (Power Amplifier, Voltage Sensor)

International Journal of Innovations in Engineering and Technology (IJIET) Nadu, India

Exercise 2: Collector Current Versus Base Current

Introduction. Inductors in AC Circuits.

ELECTRIC CIRCUITS AND ELECTRONICS

Introduction to MS150

Transistors and Applications

GPS and GSM Based Transmission Line Monitoring System with Fault Detection Introduction:

ELECTRONIC FUNDAMENTALS

Metal Detector. Student Lab Guide. Engineering Teaching Laboratory. Lab Partner(s)

INSTRUMENTATION AND CONTROL TUTORIAL 3 SIGNAL PROCESSORS AND RECEIVERS

Ledex Drive Electronics and Coil Suppressors

5v AC R. 12v. 1kohm. F=35KHz oscilloscope. 3 Final Project OFF. ON Toggle Switch. Relay 5v 2N3906 2N uF LM311. IR Detector +5v GND LED PNP NPN

Chapters 11 & 12 Electronic Controls & Automation

Chapter 1 - Introduction to Mechatronics. Questions

Technician Licensing Class T6

CONTROL SYSTEM COMPONENTS. M.D. Desai Professor of Instrumentation and Control Engineering Institute of Technology Nirma University Ahmedabad

Electrical Components and their Functions

Experiment 15: Diode Lab Part 1

OpenAFM. Electronics

2010 VCE VET Electrotechnology: GA 2: Examination

MOSFET as a Switch. MOSFET Characteristics Curves

Laboratory Tutorial#1

Actuators in Automatic Control System

H-bridge for DC motor control

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

Semiconductors, ICs and Digital Fundamentals

5. Transducers Definition and General Concept of Transducer Classification of Transducers

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

COOPERATIVE PATENT CLASSIFICATION

In an unmagnetized piece of iron, the atoms are arranged in domains. In each domain the atoms are aligned, but the domains themselves are random.

DC Motors. come in all shapes and sizes. You probably have 3-4 on you right now. the two motors in the kit

GCSE DESIGN AND TECHNOLOGY SYSTEMS AND CONTROL TECHNOLOGY

Common Sensors. Understand the following sensors: Pull Up sensor Pull Down sensor Potentiometer Thermistor

Binary Outputs: Transistors Used as a Switch

Digital Proportional Amplifier. Type: RT-VSPA2-50. Series: 3X. Table of contents. Features. RD13763/11.07 Replaces:

AERO2705 Space Engineering 1 Week 7 The University of Sydney

Programming PIC Microchips

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

Development of intelligent systems

Laboratory 7 (drawn from lab text by Alciatore) Transistor and Photoelectric Circuits

Two Hour Robot. Lets build a Robot.

Home Map Projects Construction Soldering Study Components 555 Symbols FAQ Links

Voice Guided Military Robot for Defence Application

Microcontroller interfacing

How to Build Radiant Chargers

I p = V s = N s I s V p N p

Producing Electric Current

Haptic Feedback Technology

Cyber Theater Project Video sync d Robot Play

Home Map Projects Construction Soldering Study Components 555 Symbols FAQ Links

Transcription:

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 1

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 High R R Low R No Light Light Smoke 2

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 3

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 4

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 5

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 6

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 7

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 Power Source To Controlled Devices Control Signal Normal Open Ground 8

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

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 10

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 Switch closed + VDC Coil The diode short circuits the current generated by the transient back EMF when coil current is turned off Switch opens Collapsing Magnetic Field Coil + VDC Ground Ground 11

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 12

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

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) Input From Processor + Summing Junction - Loop Update Signal Forward Control Feedback Sensing Output State 14

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 15

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 16

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 17

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