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

Slides:



Advertisements
Similar presentations
Continuation of chapter 6…. Nested while loop A while loop used within another while loop is called nested while loop. Q. An illustration to generate.
Advertisements

For(int i = 1; i
Autumn 2012C.-S. Shieh, EC, KUAS, Taiwan1 The 8051 Family Microcontroller Chin-Shiuh Shieh Department of Electronic Engineering.
1 Data Structures - CSCI 102 CS102 C++ Operator Overloading Prof Tejada.
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 李達生.
中華通訊大學部課程規劃流程圖 基礎課程核心課程應用課程 程式設計 I,II 微處理機 I,II 數位邏輯 FPGA 無線通訊 MAC 靭體設計 計算機應用 / 通訊靭體設計專業領域 大ㄧ大二 大三大四 嵌入式 系統專題 專業選修專題設計 II 硬體描述語言 FPGA+HDL 無線通訊 嵌入式系統 專題設計.
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.
Engineering H191 - Drafting / CAD Gateway Engineering Education Coalition Lab 3P. 1Autumn Quarter DC Motors Lab 3.
Autumn, 2013C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Communication - Serial Chin-Shiuh Shieh ( 謝欽旭 ) Department.
Autumn, 2013C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Display Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic Engineering.
1 Servo Motor. 2 Overview A servo motor is a motor that is only capable of rotating 180 degrees A servo motor is controlled by giving it an angle to proceed.
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.
Cascaded switching of a solenoid valve living with the lab transistor relay solenoid valve © 2012 David Hall.
Manufacturing Advanced Design Applications Manufacturing © 2014 International Technology and Engineering Educators Association, STEM  Center for Teaching.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Digital Input/Output Chin-Shiuh Shieh ( 謝欽旭 ) Department of.
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.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Analog Input/Output Chin-Shiuh Shieh ( 謝欽旭 ) Department of.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Programming Language Chin-Shiuh Shieh ( 謝欽旭 ) Department.
Windows Programming, C.-S. Shieh, KUAS EC, Chapter 3 Operators and Expressions.
Lecture 2Mechatronics1 of 5 Lecture 2 Review of homework #1 Actuators Motors & Motor Drivers Stepper Motors Linear Actuators Servos Homework #2 is due.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic Engineering.
Example 12 Pulse-Width Modulation (PWM): Motors and Servos Lecture L8.1.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Arduino Development Environment Chin-Shiuh Shieh ( 謝欽旭 ) Department.
智慧電子應用設計導論(1/3) Arduino MEGA 2560
Arduino Circuits and Code. int ledPin = 9; void setup() { pinMode(ledPin, OUTPUT); } void loop() { digitalWrite(ledPin, LOW); delay(1000); digitalWrite(ledPin,
BETWEEN C# WİTH PROTEUS
Autumn, 2012C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Sensors I Chin-Shiuh Shieh ( 謝欽旭 ) Department of Electronic.
機 器 車 介 紹 & 實做. 使用軟體 arduino 環境安裝 控制台 > 裝置管理員 > 更新驅動程式 C:\arduino windows\arduino \drivers.
Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan1 智慧電子應用設計導論 (1/3) Communication - Serial Chin-Shiuh Shieh ( 謝欽旭 ) Department.
Int fact (int n) { If (n == 0) return 1; else return n * fact (n – 1); } 5 void main () { Int Sum; : Sum = fact (5); : } Factorial Program Using Recursion.
微波電路期中報告 論文研討 : Experimental Design Method for GHz-Band High- Efficiency Power Amplifiers Based on MHz-Band Active Harmonics Load-Pull Technique Ryo Ishikawa,
Anodo (+) Catodo (-) Esempi: Rosso _ Rosso – Nero- Nero + (Marrone) = 220 ohm Marrone – Nero – Nero – Marrone + (Marrone) = 1 Kohm Marrone – Nero- Nero.
MICROCONTROLLER INTERFACING WITH STEPPER MOTOR MADE BY: Pruthvirajsinh Jadeja ( ) COLLEGE:DIET BRANCH:EC.
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).
Capstone Design Middle Evaluation Rover Song Kee Hong Jo Kyeong Jin.
INTERNET OF EVERYTHING SDU 2016 Week 9. Physical Output  Make things move by controlling motors with Arduino  Servo-motors  Rotary actuator that allows.
Engineering H191 - Drafting / CAD Gateway Engineering Education Coalition Lab 7P. 1Autumn Quarter DC Motors Lab 7.
Microcontroller basics Embedded systems for mortals.
DC Motor – H bridge L293D ile Kontrolü /* Adafruit Arduino - Lesson 15. Bi-directional Motor */ int enablePin = 11; int in1Pin = 10; int in2Pin = 9; int.
講師:莊峻熙. #include Servo myservo; int motor = 10 ; int light = A0 ; int Lpin[] = {8,9,4,3,2,7,6,5}; void setup(){ int i; for(i=0;i
Microcontroller basics
Outline Introduction to digital-to-analog converter (DAC)
CU ATLAS Practical electronics Motion and Servos
If you want to swing an robot arm or …
智慧電子應用設計導論(1/3) Introduction
微算機原理/ 微算機實習 Chin-Shiuh Shieh
IC6501 CONTROL SYSTEMS Class : III EEE / V SEMESTER
Arduino - Introduction
ФОНД ЗА РАЗВОЈ РЕПУБЛИКЕ СРБИЈЕ
Servos and Stepper Motors
Input and Output Interfaces
Chapter 5 Servomotor.
CS4101 Introduction to Embedded Systems Lab 8: Arduino DAC and PWM
Cs212: DataStructures Computer Science Department Lab 3 : Recursion.
Arduino : Introduction & Programming
LED LIGHT USING SOUND SENSOR & LIGHT SENSOR
ВОМР Подмярка 19.2 Възможности за финансиране
Споразумение за партньорство
'III \-\- I ', I ,, - -
class PrintOnetoTen { public static void main(String args[]) {
Assist. Prof. Rassim Suliyev - SDU 2018
IT 318: M5 Motors: Questions IT M6.
智慧電子應用設計導論(1/3) Arduino
Arduino UMBC IEEE Sekar Kulandaivel Week 3: Motor Control w/ H-Bridges
Presentation transcript:

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

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan2 Relay

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

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

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan5 Stepper Motor

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan6 Stepper Motor (cont) int sm_pos=128;int vr_data=128;int sm_ctl=0x01; void setup() { for(int i=0;i<4;i++) { pinMode(2+i,OUTPUT);digitalWrite(2+i,LOW); } void loop() { vr_data=analogRead(A0)/4; if(vr_data<sm_pos) { sm_ctl*=2;if(sm_ctl>8)sm_ctl=1;sm_pos--;if(sm_pos<0)sm_pos=0; } else if(vr_data>sm_pos) { sm_ctl/=2;if(sm_ctl==0)sm_ctl=8;sm_pos++;if(sm_pos>255)sm_pos=255; } for(int i=0;i<4;i++) { digitalWrite(2+i,bitRead(sm_ctl,i)); } delay(1); }

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan7 Servo Motor

Autumn, 2014C.-S. Shieh, EC, KUAS, Taiwan8 Servo Motor (cont) #include Servo servo; int val; void setup() { servo.attach(2); } void loop() { val = analogRead(A0); val = map(val, 0, 1023, 0, 179); servo.write(val); delay(100); }