Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Analog Input/Output Chin-Shiuh Shieh ( 謝欽旭 ) Department of.

Slides:



Advertisements
Similar presentations
Autumn 2012C.-S. Shieh, EC, KUAS, Taiwan1 The 8051 Family Microcontroller Chin-Shiuh Shieh Department of Electronic Engineering.
Advertisements

Khaled A. Al-Utaibi  Digital Vs Analog Signals  Converting an Analog Signal to a Digital One  Reading Analog Sensors with the.
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
Autumn 2013C.-S. Shieh, EC, KUAS, Taiwan1 微算機原理 / 微算機實習 Chin-Shiuh Shieh Department of Electronic Engineering National.
Department of Air-conditioning and Refrigeration Engineering/ National Taipei University of Technology 數位控制設計使用 MATLAB 李達生.
Living with the Lab Using servos with an Arduino EAS 199A Fall 2011.
Spring, 2013C.-S. Shieh, EC, KUAS, Taiwan1 Heuristic Optimization Methods Prologue Chin-Shiuh Shieh.
Thermo-Cooler Controller Kiefer, Mary, Molly, Sam.
Engineering H191 - Drafting / CAD Gateway Engineering Education Coalition Lab 3P. 1Autumn Quarter DC Motors Lab 3.
Secret Door Knock Detector
Autumn, 2013C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Communication - Serial Chin-Shiuh Shieh ( 謝欽旭 ) Department.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Autumn, 2013C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Display Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic Engineering.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Audio Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic Engineering.
Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Sensors III Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic.
2.0 EMBEDDED CONTROLLER Engr. Hj. Mohamad Fauzi bin Zakaria Department of Mechatronics and Robotics Engineering Faculty of Electrical and Electronic Engineering.
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.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Digital Input/Output Chin-Shiuh Shieh ( 謝欽旭 ) Department of.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Programming Language Chin-Shiuh Shieh ( 謝欽旭 ) Department.
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi. Objectives 1. Control the rotation of standard servo motor  A standard servo motor is limited in its rotation.
Windows Programming, C.-S. Shieh, KUAS EC, Chapter 3 Operators and Expressions.
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.
Servos The material presented is taken from a variety of sources including:
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic Engineering.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Development Environment Chin-Shiuh Shieh ( 謝欽旭 ) Department.
智慧電子應用設計導論(1/3) Arduino MEGA 2560
BETWEEN C# WİTH PROTEUS
Autumn, 2013C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Actuator Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic.
Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Sensors I Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic.
Student: yi-sin Tang Adviser: Ming-Shyan Wang Date :
Windows Programming, C.-S. Shieh, KUAS EC, Chapter 2 Application Design Flow.
Bar code scanner Department of Computer Engineering, M.S.P.V.L. Polytechnic College, Pavoorchatram.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Timer 1 and 2 operation, PWM Principles. Timer 1 Operation.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Communication - Serial Chin-Shiuh Shieh ( 謝欽旭 ) Department.
[Lab10] Output PWM  Output PWM Signal  Example  Exercise(Optional)
1 4-Integrating Peripherals in Embedded Systems (cont.)
微波電路期中報告 論文研討 : Experimental Design Method for GHz-Band High- Efficiency Power Amplifiers Based on MHz-Band Active Harmonics Load-Pull Technique Ryo Ishikawa,
Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Development Environment Chin-Shiuh Shieh ( 謝欽旭 ) Department.
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
Istituto Tecnico Industriale A.Monaco EURLAB Control a Servo Motor If you want to swing an robot arm or … steer a robot you need a special motor (Servo).
Pulse-Width Modulation: Simulating variable DC output
Ultrasonic Sensor TYWu.
1 4-Integrating Peripherals in Embedded Systems (cont.)
Microcontroller basics Embedded systems for mortals.
Pulse Width Modulation Instructor Dr Matthew Khi Yi Kyaw.
Outline Introduction to digital-to-analog converter (DAC)
If you want to swing an robot arm or …
智慧電子應用設計導論(1/3) Introduction
Motor Control Solutions
Intro to the Arduino Created by
微算機原理/ 微算機實習 Chin-Shiuh Shieh
Arduino - Introduction
Control a motors angular position with a flex sensor
Motor Control Solutions
Arduino Week 2 Lab ECE 1020 Prof. Ahmadi.
CS4101 Introduction to Embedded Systems Lab 8: Arduino DAC and PWM
Secret Door Knock Detector
Analog versus Digital Systems
Arduino : Introduction & Programming
ВОМР Подмярка 19.2 Възможности за финансиране
Споразумение за партньорство
Computer Science & Engineering Electrical Engineering
Sensors and actuators Sensors Resistive sensors
Equalizing Average Source Power with Pattern Swapping
智慧電子應用設計導論(1/3) Arduino
Motor Control Solutions
Pulse-Width Modulation: Simulating variable DC output
Presentation transcript:

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Analog Input/Output Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic Engineering National Kaohsiung University of Applied Sciences, Taiwan

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan2 Analog Input/Output

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan3 Analog Input/Output (cont) pinMode(pin,mode); analogRead(pin);// [0,1023] analogWrite(pin,value); // Pulse Width Modulation (PWM), [0, 255] Analog-to-Digital Converter Digital-to-Analog Converter

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan4 Example – VR

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan5 Example – VR (cont) void setup() { Serial.begin(9600); } void loop() { Serial.println(analogRead(A0)); }

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan6 Example DC Motor

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan7 Example DC Motor (cont) void setup() { pinMode(2,OUTPUT); } void loop() { int vr=analogRead(A0); analogWrite(2,vr/4); delay(100); }