SlideShare a Scribd company logo
1 of 28
f
Networked Embedded Applications and Technologies Lab
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN
Free-Software Arduino
Kuan-Yu, Chen
陳冠宇
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 2NEAT
Outline
 What is Arduino?
 Source
 Kernel architecture
 Signal message.
 What can you do by Arduino?
 Develop environment
 Just do it
 LEDs
 UART
 PWM(Explain by Servo)
 Analysis product
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 3NEAT
Download Software.
 www.arduino.cc
 http://140.116.245.210:5000/fbsharing/8N94DeUp
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 4NEAT
What is Arduino?
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 5NEAT
Source
 From Italian Ivrea university.
David Mellis 、 David Cuartielles 、 Gianluca Martino 、 Massimo
Banzi 、 Tom Igoe
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 6NEAT
Kernel Architecture
IC Type
8 bits 8051 、 ATMEGA8
16 bits PIC 、 MSP430
32 bits ARM
• Only one schedule.
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 7NEAT
Kernel Architecture
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 8NEAT
Kernel Architecture
Microcontroller ATmega328
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Digital I/O Pins 14(6 for PWM)
Analog Input Pins 6
DC Current per I/O Pin 40mA
DC Current for 3.3V Pin 50mA
Flash Memory 32KB(0.5 KB for bootloader )
Clock Speed 16Mhz
SRAM 2 KB
EEPROM 1KB
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 9NEAT
Kernel Architecture
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 10NEAT
Kernel Architecture
 GPIO(General-purpose input/output)
 AD(Analog to Digital)
 Interrupt
 PWM(Pulse-width modulation)
 UART(Universal asynchronous reciver/transmitter)
 SPI(Serial peripheral interface)
 I2C(Inter-Integrated Circuit)
 …
 …
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 11NEAT
Signal message.
 Sensor
 Digital
 Analog
 Input/Output
 Control
 Display
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 12NEAT
What can you do by
Arduino?
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 13NEAT
Develop environment
 Base on C/C++.
 Function. (By library)
 Open-Source. (Include hardware and software)
 Easy.
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 14NEAT
 Check Board.
 Check Serial Port.
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 15NEAT
 Compile.
 Download.
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 16NEAT
Just do it
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 17NEAT
 include<> or ””
 void setup{}
 void loop{}
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 18NEAT
LEDs
 pinMode(GPIO,Pin mode);
 digitalWrite(Pin,state);
 delay(time);
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 19NEAT
UART
 Serial.begin(baud rate);
 Serial.available();
 If receive someting.
 Serial.read();
 Return value of receive.
 Serial.println(Value);
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 20NEAT
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 21NEAT
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 22NEAT
Lab
 1. Try LEDs, UART and PWM(Servo).
 2. Turn on the LED(pin13) if UART receive “H”.
 3. Modify angle of motor by UART.
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 23NEAT
1. DC Motor
2. Reducing gear
3. Controller
4. Sensor
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 24NEAT
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 25NEAT
How to control
1. Use Servo.h
2. Set initial position.
3. Control.
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 26NEAT
PWM
 include<Servo.h>
 Servo name;
 name.attach(pin);
 name.write(pos);
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 27NEAT
Reference
 2014 Arduino, www.arduino.cc
 1know.net, http://1know.net/knowledge/97636f101c46?v=list
 Arduino IDE introduction, Wiki, Decr, 2011,
http://zh.wikipedia.org/wiki/Arduino
 孫駿榮、吳明展、盧聰勇 , “Arduino 一試就上手 ( 第二
版 ),, , 碁峯資訊出版 , Sep,2012.
 賴文章、陳冠宇 , “Arduino ”入門級中文教學 , Jan,2012.
Department of Computer Science and Information Engineering
National Cheng Kung University, TAIWAN 28NEAT
Thanks for your listen

More Related Content

What's hot

Jtag presentation
Jtag presentationJtag presentation
Jtag presentation
klinetik
 
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware DesignPramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod Jangam
 
Sample of project synopsis (2)
Sample of project synopsis (2)Sample of project synopsis (2)
Sample of project synopsis (2)
TH8B
 
Meier_ECET365_Manual_LI
Meier_ECET365_Manual_LIMeier_ECET365_Manual_LI
Meier_ECET365_Manual_LI
jmeier72
 
⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...
⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...
⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...
Victor Asanza
 

What's hot (20)

Hardware Overview - Controller, Power Supply, Communication, Driver
Hardware Overview - Controller, Power Supply, Communication, DriverHardware Overview - Controller, Power Supply, Communication, Driver
Hardware Overview - Controller, Power Supply, Communication, Driver
 
Description fpga
Description fpgaDescription fpga
Description fpga
 
JTAG Interface (Intro)
JTAG Interface (Intro)JTAG Interface (Intro)
JTAG Interface (Intro)
 
Forest bouandary alert system for animal
Forest bouandary alert system for animalForest bouandary alert system for animal
Forest bouandary alert system for animal
 
Jtag presentation
Jtag presentationJtag presentation
Jtag presentation
 
Hardware Trojan detection using Clock sweeping method
Hardware Trojan detection using Clock sweeping methodHardware Trojan detection using Clock sweeping method
Hardware Trojan detection using Clock sweeping method
 
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware DesignPramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
 
Hardware Trojans
Hardware TrojansHardware Trojans
Hardware Trojans
 
Poster_example
Poster_examplePoster_example
Poster_example
 
Fpga based heartbeats monitor with
Fpga based heartbeats monitor withFpga based heartbeats monitor with
Fpga based heartbeats monitor with
 
Sample of project synopsis (2)
Sample of project synopsis (2)Sample of project synopsis (2)
Sample of project synopsis (2)
 
Introduction to stm32-part2
Introduction to stm32-part2Introduction to stm32-part2
Introduction to stm32-part2
 
IRJET-Condition Monitoring based Control using Piezo Sensor for Rotating Elec...
IRJET-Condition Monitoring based Control using Piezo Sensor for Rotating Elec...IRJET-Condition Monitoring based Control using Piezo Sensor for Rotating Elec...
IRJET-Condition Monitoring based Control using Piezo Sensor for Rotating Elec...
 
Meier_ECET365_Manual_LI
Meier_ECET365_Manual_LIMeier_ECET365_Manual_LI
Meier_ECET365_Manual_LI
 
FastTracer
FastTracerFastTracer
FastTracer
 
STM32 L4 presentation
STM32 L4 presentation STM32 L4 presentation
STM32 L4 presentation
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 
⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...
⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...
⭐⭐⭐⭐⭐ 2020 TELTEC WEBINAR: Clasificación de señales de Electroencefalografía ...
 
IRJET- Design & Implementation of Black Box in Automobiles System
IRJET-  	  Design & Implementation of Black Box in Automobiles SystemIRJET-  	  Design & Implementation of Black Box in Automobiles System
IRJET- Design & Implementation of Black Box in Automobiles System
 
Networking of Micro-Controllers through USB
Networking of Micro-Controllers through USBNetworking of Micro-Controllers through USB
Networking of Micro-Controllers through USB
 

Viewers also liked

Viewers also liked (8)

車用通信報告
車用通信報告車用通信報告
車用通信報告
 
2014 1029 adaptive dissmination of safety data among vehicles
2014 1029 adaptive dissmination of safety data among vehicles2014 1029 adaptive dissmination of safety data among vehicles
2014 1029 adaptive dissmination of safety data among vehicles
 
Stm32 develop tool introduction
Stm32 develop tool introductionStm32 develop tool introduction
Stm32 develop tool introduction
 
第三章Ti msp430平台介紹 v3
第三章Ti msp430平台介紹 v3第三章Ti msp430平台介紹 v3
第三章Ti msp430平台介紹 v3
 
Densebox
DenseboxDensebox
Densebox
 
Based on raspberry pi with the application of Stepper
Based on raspberry pi with the application of StepperBased on raspberry pi with the application of Stepper
Based on raspberry pi with the application of Stepper
 
The design of electronic license plate recognition terminal system based on n...
The design of electronic license plate recognition terminal system based on n...The design of electronic license plate recognition terminal system based on n...
The design of electronic license plate recognition terminal system based on n...
 
簡介 GitHub 平台
簡介 GitHub 平台簡介 GitHub 平台
簡介 GitHub 平台
 

Similar to 第二周課程 Arduino介紹

Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015
Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015
Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015
Indraneel Suryavanshi
 
Three-Axis Auto Stabilizing Video Camera Platform
Three-Axis Auto Stabilizing Video Camera PlatformThree-Axis Auto Stabilizing Video Camera Platform
Three-Axis Auto Stabilizing Video Camera Platform
Eklavya Sharma
 
People Identification
People IdentificationPeople Identification
People Identification
Brian Chen
 
Analog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education BoardsAnalog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education Boards
Kyle VanDruten
 
Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397
Editor IJARCET
 
Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397
Editor IJARCET
 
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETSOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
cseij
 
Resume for Embedded Engineer_1
Resume for Embedded Engineer_1Resume for Embedded Engineer_1
Resume for Embedded Engineer_1
gajendra parmar
 

Similar to 第二周課程 Arduino介紹 (20)

5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdf
5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdf5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdf
5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdf
 
Controlling and optimization of 3d optical stage for precise movement
Controlling and optimization of 3d optical stage for precise movementControlling and optimization of 3d optical stage for precise movement
Controlling and optimization of 3d optical stage for precise movement
 
IRJET- Android based Home Automation System with Power Optimization Modes
IRJET-  	  Android based Home Automation System with Power Optimization ModesIRJET-  	  Android based Home Automation System with Power Optimization Modes
IRJET- Android based Home Automation System with Power Optimization Modes
 
IRJET- Arduino based Smart Grid Power Monitoring and Control by using IoT
IRJET-  	  Arduino based Smart Grid Power Monitoring and Control by using IoTIRJET-  	  Arduino based Smart Grid Power Monitoring and Control by using IoT
IRJET- Arduino based Smart Grid Power Monitoring and Control by using IoT
 
Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015
Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015
Resume_indraneel_VLSI_VIT_UNIVERSITY_13_Dec_2015
 
Smartplug ppt
Smartplug pptSmartplug ppt
Smartplug ppt
 
Three-Axis Auto Stabilizing Video Camera Platform
Three-Axis Auto Stabilizing Video Camera PlatformThree-Axis Auto Stabilizing Video Camera Platform
Three-Axis Auto Stabilizing Video Camera Platform
 
People Identification
People IdentificationPeople Identification
People Identification
 
Atmega 16 drdo report
Atmega 16 drdo reportAtmega 16 drdo report
Atmega 16 drdo report
 
Analog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education BoardsAnalog to Digital Conversion Using Microcontroller Education Boards
Analog to Digital Conversion Using Microcontroller Education Boards
 
Design and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilogDesign and implementation of 32 bit alu using verilog
Design and implementation of 32 bit alu using verilog
 
MPPT Project
MPPT ProjectMPPT Project
MPPT Project
 
Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397
 
Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397Ijarcet vol-2-issue-7-2389-2397
Ijarcet vol-2-issue-7-2389-2397
 
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNETSOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
SOCIAL NETWORK FOR SMART DEVICES USING EMBEDDED ETHERNET
 
Resume for Embedded Engineer_1
Resume for Embedded Engineer_1Resume for Embedded Engineer_1
Resume for Embedded Engineer_1
 
[YOUSUNG] Product Catalog
[YOUSUNG] Product Catalog[YOUSUNG] Product Catalog
[YOUSUNG] Product Catalog
 
BUILD A CIRCUIT FOR EVEN PARITY GENERATOR
BUILD A CIRCUIT FOR EVEN PARITY GENERATORBUILD A CIRCUIT FOR EVEN PARITY GENERATOR
BUILD A CIRCUIT FOR EVEN PARITY GENERATOR
 
Industrialtraining
IndustrialtrainingIndustrialtraining
Industrialtraining
 
Sonar Project Report
Sonar Project ReportSonar Project Report
Sonar Project Report
 

Recently uploaded

Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
amitlee9823
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
amitlee9823
 
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
amitlee9823
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝
Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝
Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
bbhul52a
 
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
tufbav
 

Recently uploaded (20)

VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Call Girls Chickpet ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
Book Paid Lohegaon Call Girls Pune 8250192130Low Budget Full Independent High...
 
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
Call Girls Banashankari Just Call 👗 7737669865 👗 Top Class Call Girl Service ...
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
 
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
↑Top celebrity ( Pune ) Nagerbazar Call Girls8250192130 unlimited shot and al...
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
 
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
Vip Mumbai Call Girls Kalyan Call On 9920725232 With Body to body massage wit...
 
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
Kothanur Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
(ISHITA) Call Girls Service Aurangabad Call Now 8617697112 Aurangabad Escorts...
 
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
(INDIRA) Call Girl Napur Call Now 8617697112 Napur Escorts 24x7
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝
Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝
Call Now ≽ 9953056974 ≼🔝 Call Girls In Yusuf Sarai ≼🔝 Delhi door step delevry≼🔝
 
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Sanjay Nagar ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
 
Develop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power pointDevelop Keyboard Skill.pptx er power point
Develop Keyboard Skill.pptx er power point
 
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
 
Introduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptxIntroduction-to-4x4-SRAM-Memory-Block.pptx
Introduction-to-4x4-SRAM-Memory-Block.pptx
 
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
怎样办理斯威本科技大学毕业证(SUT毕业证书)成绩单留信认证
 
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Katraj ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 

第二周課程 Arduino介紹

  • 1. f Networked Embedded Applications and Technologies Lab Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN Free-Software Arduino Kuan-Yu, Chen 陳冠宇
  • 2. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 2NEAT Outline  What is Arduino?  Source  Kernel architecture  Signal message.  What can you do by Arduino?  Develop environment  Just do it  LEDs  UART  PWM(Explain by Servo)  Analysis product
  • 3. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 3NEAT Download Software.  www.arduino.cc  http://140.116.245.210:5000/fbsharing/8N94DeUp
  • 4. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 4NEAT What is Arduino?
  • 5. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 5NEAT Source  From Italian Ivrea university. David Mellis 、 David Cuartielles 、 Gianluca Martino 、 Massimo Banzi 、 Tom Igoe
  • 6. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 6NEAT Kernel Architecture IC Type 8 bits 8051 、 ATMEGA8 16 bits PIC 、 MSP430 32 bits ARM • Only one schedule.
  • 7. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 7NEAT Kernel Architecture
  • 8. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 8NEAT Kernel Architecture Microcontroller ATmega328 Operating Voltage 5V Input Voltage (recommended) 7-12V Digital I/O Pins 14(6 for PWM) Analog Input Pins 6 DC Current per I/O Pin 40mA DC Current for 3.3V Pin 50mA Flash Memory 32KB(0.5 KB for bootloader ) Clock Speed 16Mhz SRAM 2 KB EEPROM 1KB
  • 9. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 9NEAT Kernel Architecture
  • 10. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 10NEAT Kernel Architecture  GPIO(General-purpose input/output)  AD(Analog to Digital)  Interrupt  PWM(Pulse-width modulation)  UART(Universal asynchronous reciver/transmitter)  SPI(Serial peripheral interface)  I2C(Inter-Integrated Circuit)  …  …
  • 11. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 11NEAT Signal message.  Sensor  Digital  Analog  Input/Output  Control  Display
  • 12. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 12NEAT What can you do by Arduino?
  • 13. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 13NEAT Develop environment  Base on C/C++.  Function. (By library)  Open-Source. (Include hardware and software)  Easy.
  • 14. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 14NEAT  Check Board.  Check Serial Port.
  • 15. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 15NEAT  Compile.  Download.
  • 16. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 16NEAT Just do it
  • 17. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 17NEAT  include<> or ””  void setup{}  void loop{}
  • 18. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 18NEAT LEDs  pinMode(GPIO,Pin mode);  digitalWrite(Pin,state);  delay(time);
  • 19. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 19NEAT UART  Serial.begin(baud rate);  Serial.available();  If receive someting.  Serial.read();  Return value of receive.  Serial.println(Value);
  • 20. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 20NEAT
  • 21. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 21NEAT
  • 22. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 22NEAT Lab  1. Try LEDs, UART and PWM(Servo).  2. Turn on the LED(pin13) if UART receive “H”.  3. Modify angle of motor by UART.
  • 23. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 23NEAT 1. DC Motor 2. Reducing gear 3. Controller 4. Sensor
  • 24. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 24NEAT
  • 25. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 25NEAT How to control 1. Use Servo.h 2. Set initial position. 3. Control.
  • 26. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 26NEAT PWM  include<Servo.h>  Servo name;  name.attach(pin);  name.write(pos);
  • 27. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 27NEAT Reference  2014 Arduino, www.arduino.cc  1know.net, http://1know.net/knowledge/97636f101c46?v=list  Arduino IDE introduction, Wiki, Decr, 2011, http://zh.wikipedia.org/wiki/Arduino  孫駿榮、吳明展、盧聰勇 , “Arduino 一試就上手 ( 第二 版 ),, , 碁峯資訊出版 , Sep,2012.  賴文章、陳冠宇 , “Arduino ”入門級中文教學 , Jan,2012.
  • 28. Department of Computer Science and Information Engineering National Cheng Kung University, TAIWAN 28NEAT Thanks for your listen