PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics.

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

EMS1EP Lecture 8 Pulse Width Modulation (PWM)
IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Basic DC Motor Circuits
Intro to the Arduino Topics: The Arduino Digital IO Analog IO Serial Communication.
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
1. Output signal alternates between on and off within specified period Controls power received by a device The voltage seen by the load is directly proportional.
Tony Yi 5/2/2015 CENG4480 TUTORIAL 3. ABOUT ME I am “the other” tutor of CENG4480 You can find me at Rm116 in SHB
L.
Part A: Controlling Oscillation Frequency with Capacitors and Resistors Part B: Diodes and Light Experiment Timer.
Secret Door Knock Detector
SENIOR DESIGN 10/16.
Servo Control Using Analog Signal Obtain “analog” input using analogRead().
Digital I/O Connecting to the Outside World
Introduction.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
PWM Circuit Based on the 555 Timer. Introduction In applications LED Brightness Control we may want to vary voltage given to it. Most often we use a variable.
Lecture 15: Digital to Analog Converters Lecturers: Professor John Devlin Mr Robert Ross.
Overview What is Arduino? What is it used for? How to get started Demonstration Questions are welcome at any time.
Pulse Width Modulation (PWM). 100% Pulse Width Modulation (PWM) 0% On the chipKIT there are 490 periods per second. Use analogWrite(pin, value) to control.
Microprocessoren lesson 6. PWM /motor control/servo.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Module Introduction Purpose  This training module provides an overview of the analog interfaces.
oPEN Simulation Environment PENSE PENSE PENSE is a simulation framework written in C++ using fully object oriented design patterns and it's designed.
Servos The material presented is taken from a variety of sources including:
BM-305 Mikrodenetleyiciler Güz 2015 (3. Sunu) (Yrd. Doç. Dr. Deniz Dal)
Microprocessors Tutorial 2: Arduino Robotics. Agenda 1. Robot Anatomy 2. Sensor Review 3. PWM 4. MAKE: Fade 5. Motors 6. H Bridge 7. Robot Control library.
Microcontroller Applications ELEC 421 Dr. Ron Hayne Images Courtesy of Ramesh Gaonkar and Delmar Learning.
Rebecca Bruce and Susan Reiser, May 2015 Analog Input and Output.
PIC18F4431. PIC18F1330 Infrared Encoder/Decoder.
Analog Output Materials: animatronic head Processing Quiz HW: code links.
Throttle Arduino RC Receiver Stock Golf Cart Motor Controller Motor 1 PWM signal: Voltage: 0 – 5V Period = 22ms Positive Pulse Width: 1ms – 2ms Digital.
Guide Presented by Mr.M Cheenya V.Abhinav Kumar 11E31A0422 Asst.Professor K.Shiva Kumar 11E31A0423 K.Rajashekhar 11E31A0424 K.Chaithanya Sree 11E31A0428.
Servo Motor Control Using Arduino Instructor: Dr Matthew Khin Yi Kyaw.
Istituto Tecnico Industriale A.Monaco EURLAB Moving a robot simple example program to control a DC-Motor Next - Press the button (left)
Pulse-Width Modulation: Simulating variable DC output
Module 8 Tutorial  An 8086 system is used for controlling the speed of a motor. The motor can operate at 5 different speeds (1- 5).  The speed.
Microcontroller basics Embedded systems for mortals.
Pulse Width Modulation Instructor Dr Matthew Khi Yi Kyaw.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
Application Case Study Christmas Lights Controller
BM-305 Mikrodenetleyiciler Güz 2016 (3. Sunu)
Introduction to Motors, servos and steppers
Servo’s and Motor’s with Arduino
Welcome to Arduino A Microcontroller.
Outline Introduction to digital-to-analog converter (DAC)
Microcontroller basics
Intro to the Arduino Created by
Arduino - Introduction
DC MOTOR SPEED CONTROL 1. Introduction
BM-305 Mikrodenetleyiciler Güz 2017 (3. Sunu)
IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Pulse Width Modulation (PWM) Motor Feedback - Shaft Encoder
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Ultrasonic Distance Sensor
CenSSIS/NE-LSAMP REU “LabVIEW control of the Sport232 Interface”
Secret Door Knock Detector
Arduino : Introduction & Programming
Sensors and actuators Sensors Resistive sensors
Hitec HS 303: Robotic Servo Motor
UNIT 11: RC-SERVOMOTOR CONTROL
UNIT 5 Analog signals.
Arduino Board.
Arduino म्हणजे काय?.
Pulse-Width Modulation: Simulating variable DC output
Maker Education Manipulator
Presentation transcript:

PWM: Pulse Width Modulation © 2014 Project Lead The Way, Inc.Digital Electronics

2 Imagine 5 LEDs Each with a clock signal of 1Hz. Can you visualize what you would see? Is the frequency different for each LED? What Does a PWM Signal Look Like?

3 Always off. Blinks once/second. On briefly. Blinks once/second. On ½ the time. Blinks once/second. Off briefly Always on. What Does a PWM Signal Look Like?

4 Based on what you have learned: Could you devise a way of making the three blinking LEDS appear to be ON all the time, even though they have different duty cycles? What Does a PWM Signal Look Like?

5 PWM Transmitted by a Microcontroller Pulse Width Modulation is a technique for getting analog results with digital means. Digital control is used to create a square wave. This on-off pattern can simulate voltages in between full on (5 Volts) and off (0 Volts) by changing the portion of the time the signal spends on versus the time that the signal spends off. Theoretically

6 PWM Received by a Microcontroller A microcontroller can compare the time High to the time Total and assign value to that ratio. These comparisons are limited to a range from

Accelerometers 7 The Memsic 2125 is a two-axis accelerometer capable of measuring acceleration up to plus or minus 2g. It has a simple digital interface: two pins (one for each axis) emit pulses whose duration corresponds to the acceleration of that axis. By measuring the length of that pulse, in microseconds, using the Arduino's pulseIn() function, it is possible to determine the rate of acceleration and to use that data for your purposes. Each axis has a 100 Hz PWM (Pulse Width Modulated) duty cycle output in which acceleration is proportional to the ratio tHx/Tx.

Servos 8 VEX 2-wire Motor with motor controller 29 Just as a microcontroller can receive PWM signals, they can produce PWM signals that the motor controller can use to set a speed and direction. VEX Potentiometer with PWM Potentiometer

Servos 9 It the next activity you will explore input and output devices that utilize PWM signals.