ELCT 201 week 13 Analog ON/OFF control system conversion to Digital ON/OFF control system.

Slides:



Advertisements
Similar presentations
Khaled A. Al-Utaibi Interfacing an LED The Light Emitting Diode (LED) Applications DC Characteristics & Operation Interfacing to.
Advertisements

Electrical team Arduino tutorial I BY: JOSHUA arduini
Lab7: Introduction to Arduino
Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
Embedded Sumo 1T4 – 1T5 UTRA.
Re-programming the Simon Says with Arduino Linz Craig, Brian Huang.
Digital & Analog Inputs. Review Fundamental parts of an Arduino program are … Setting output types using pinMode. Declaring variables Can write a digital.
Intro to Programming and Microcontrollers. Activity Group into pairs and sit back-to-back. Pick one person who is going to draw. The other person will.
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
1 Arduino Board: Arduino UNO Arduino Programing Environment: Arduino 0022
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Embedded Programming and Robotics Lesson 2 C Programming Refresher C Programming1.
Embedded Programming and Robotics
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Programming Hexors on Arduino Uno. Arduino Uno Arduino is an open-source electronics platform based on easy- to-use hardware and software. It's intended.
ProtoSnap Introduction to Arduino Casey Haskell, Pete Lewis, David Stillman, Jim Lindblom, Pete Dokter, Lindsay Levkoff, Trevor Zylstra.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Introduction to the Arduino
Cascade switching of an LED EAS 199B Winter 2013.
ELCT 201 Lab Op Amp ON/OFF Control (use Schematic in your Front Panel)
Good LED Circuit 5V0 GND. What Voltage Does Meter See? Answer: 5 V.
ARDUINO 1. Basics  Comments  /* * Blink * * The basic Arduino example. Turns on an LED on for one second, * then off for one second, and so on... We.
1 - Remove LED from 13 and GND - Bring out your breadboard from HW#4 Arduino Overview:
ARDUINO 1 By Wilmer Arellano. Arduino.  Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use.
Arduino A free development system based on Atmel AVR 8 bit microcontrollers. LB8X Tom.
Arduino libraries Datatekniker Udvidet hardware/software.
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.
Motor TYWu.
Microcontroller basics Embedded systems for mortals.
Microcontroller basics Embedded systems for mortals.
Lecture 9: Introduction to Arduino Topics: Arduino Fundamentals, Bean Date: Mar 22, 2016.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
Programming in Arduino Materials:Arduino Board Casperelectronics Pre Pres. Notes Photos from workshop?
Introduction to Arduino A very basic intro to Arduino, the IDE and the Servos class.
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
:Blink Blink: Er. Sahil Khanna
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Pulse-Width Modulation: Simulating variable DC output
ME 120: Arduino Programming Arduino Programming Part 1 ME 120 Mechanical and Materials Engineering Portland State University
Arduino Application: Speed control of small DC Motors
Introducing the Arduino Uno Presented by Dave Mawdsley, DACS Member, Linux SIG Member (wiring, programming and running a cute traffic light simulation)
Having fun with code, using Arduino in a middle school CS classroom
Microcontroller basics
Val Manes Department of Math & Computer Science
Microcontroller basics
Manual for Arduino Kit v1.0
Cascade switching of an LED
Get Your Project Started with Arduino
Lab 1: Arduino Basics Topics: Arduino Fundamentals, First Circuit
Arduino Part 1 Topics: Microcontrollers Programming Basics
Arduino.
Introduction to Arduino Microcontrollers
Roller Coaster Design Project
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.
What is Arduino? By James Tedder.
Arduino 101 Credit(s):
CS-4540 Robotics - Lab 05 Switch inputs to the Arduino Uno
Welcome to Digital Electronics using the Arduino Board
Introducing the Arduino Uno
Arduino : Introduction & Programming
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Introduction to Arduino
Lab #1: Getting Started.
Arduino Uno circuit basics
Setting up a basic program with Arduino
SAURABH GINGADE.
Arduino程式範例.
Pulse-Width Modulation: Simulating variable DC output
Presentation transcript:

ELCT 201 week 13 Analog ON/OFF control system conversion to Digital ON/OFF control system

(Using op amps and a H Bridge) Analog ON/OFF Control System (Using op amps and a H Bridge) Subsystem 1 Subsystem 2 Subsystem 3 Vin 1 Dead Band (Window height) Window Maker Window Comparator H Bridge (L298n) and DC Motor U.L. Forward L.L. Reverse SP = Vin 2 (Window position) Feedback Mechanical Linkage

(Using op amps and a H Bridge) Analog ON/OFF Control System (Using op amps and a H Bridge) Subsystem 1 Subsystem 2 Subsystem 3 Vin 1 Dead Band (Window height) Window Maker Window Comparator H Bridge (L298n) and DC Motor U.L. Forward L.L. Reverse SP = Vin 2 (Window position) Feedback Mechanical Linkage

(Using op amps and a H Bridge) Analog ON/OFF Control System (Using op amps and a H Bridge) Subsystem 1 Subsystem 2 Subsystem 3 Vin 1 Dead Band (Window height) Window Maker Window Comparator H Bridge (L298n) and DC Motor U.L. Forward L.L. Reverse SP = Vin 2 (Window position) Feedback Mechanical Linkage

DIGITAL ON/OFF Control System Subsystem 1 Subsystem 2 Subsystem 3 Vin 1 Dead Band (Window height) Window Maker Window Comparator H Bridge (L298n) and DC Motor U.L. Forward L.L. Reverse SP = Vin 2 (Window position) Feedback Mechanical Linkage

Intro to Arduino “Hardy Friend” http://arduino.cc/ Specifically, the UNO http://arduino.cc/en/Main/ArduinoBoardUno Getting Started http://arduino.cc/en/Guide/Windows Blink http://arduino.cc/en/Tutorial/Blink

A good first program to download and run /* Blink Turns on an LED on for one second, then off for one second, repeatedly. The circuit: * LED connected from digital pin 13 to ground. * Note: On most Arduino boards, there is already an LED on the board connected to pin 13, so you don't need any extra components for this example. Created 1 June 2005 By David Cuartielles http://arduino.cc/en/Tutorial/Blink based on an orginal by H. Barragan for the Wiring i/o board This example code is in the public domain. */ int ledPin = 13; // LED connected to digital pin 13 // The setup() method runs once, when the sketch starts void setup() { // initialize the digital pin as an output: pinMode(ledPin, OUTPUT); } // the loop() method runs over and over again, // as long as the Arduino has power void loop() { digitalWrite(ledPin, HIGH); // set the LED on delay(1000); // wait for a second digitalWrite(ledPin, LOW); // set the LED off

DIGITAL ON/OFF Control System Subsystem 1 Subsystem 2 Subsystem 3 Vin 1 Dead Band (Window height) Window Maker Window Comparator H Bridge (L298n) and DC Motor U.L. Forward L.L. Reverse SP = Vin 2 (Window position) Feedback Mechanical Linkage

DIGITAL ON/OFF Control System Subsystem 1 Subsystem 2 Subsystem 3 Vin 1 Dead Band (Window height) Window Maker Window Comparator H Bridge (L298n) and DC Motor U.L. Forward L.L. Reverse SP = Vin 2 (Window position) Feedback Mechanical Linkage

DIGITAL ON/OFF Control System Arduino Controller Subsystem 1 Subsystem 2 Subsystem 3 Vin 1 Dead Band (Window height) Window Maker Window Comparator H Bridge (L298n) and DC Motor U.L. Forward L.L. Reverse SP = Vin 2 (Window position) Feed back Mechanical Linkage

Conversion topics Hardware Software

I/O Management Inputs Outputs 2 analog inputs 6 Digital outputs Setpoint Feedback Outputs 6 Digital outputs 1 Forward signal to H Bridge 1 Reverse signal to H Bridge 2 Set Point Display 2 Feedback Display

DIGITAL ON/OFF Control System Arduino Controller Subsystem 1 Subsystem 2 Subsystem 3 Window Maker Window Comparator H Bridge (L298n) and DC Motor SP = Vin 2 (Window position) U.L. Forward Digital Out Analog Input A/D (10Bits) L.L. Reverse Digital Out Analog Input A/D (10Bits) Feed back Mechanical Linkage

DIGITAL ON/OFF Control System H Bridge (L298n) and DC Motor Subsystem 3 Forward Reverse Mechanical Linkage SP = Vin 2 (Window position) Arduino Controller Feed back Analog Input A/D (10Bits) Digital Out

DIGITAL ON/OFF Control System H Bridge (L298n) and DC Motor Subsystem 3 Forward Reverse Mechanical Linkage SP = Vin 2 (Window position) Arduino Controller Feed back Analog Input A/D (10Bits) Digital Out

DIGITAL ON/OFF Control System H Bridge (L298n) and DC Motor Subsystem 3 Forward Reverse Mechanical Linkage SP = Vin 2 (Window position) Arduino Controller Feed back Analog Input A/D (10Bits) Digital Out