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

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, DriverMihai Agape
 
JTAG Interface (Intro)
JTAG Interface (Intro)JTAG Interface (Intro)
JTAG Interface (Intro)Nitesh Bhatia
 
Forest bouandary alert system for animal
Forest bouandary alert system for animalForest bouandary alert system for animal
Forest bouandary alert system for animalRiken Suthar
 
Jtag presentation
Jtag presentationJtag presentation
Jtag presentationklinetik
 
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 methodAshish Maurya
 
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 DesignPramod Jangam
 
Fpga based heartbeats monitor with
Fpga based heartbeats monitor withFpga based heartbeats monitor with
Fpga based heartbeats monitor withijcseit
 
Sample of project synopsis (2)
Sample of project synopsis (2)Sample of project synopsis (2)
Sample of project synopsis (2)TH8B
 
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...IRJET Journal
 
Meier_ECET365_Manual_LI
Meier_ECET365_Manual_LIMeier_ECET365_Manual_LI
Meier_ECET365_Manual_LIjmeier72
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduinoSantosh Verma
 
⭐⭐⭐⭐⭐ 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
 
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 SystemIRJET Journal
 
Networking of Micro-Controllers through USB
Networking of Micro-Controllers through USBNetworking of Micro-Controllers through USB
Networking of Micro-Controllers through USBpranjal009
 

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

車用通信報告
車用通信報告車用通信報告
車用通信報告冠宇 陳
 
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冠宇 陳
 
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 平台Will Huang
 

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 Introduction to Free-Software Arduino

5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdf
5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdf5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdf
5b50dc69-4ca7-41ee-a9dd-b4e8b220b4fe.pdfSrinidhirkGowda
 
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 movementAvadhut Khade
 
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 ModesIRJET Journal
 
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 IoTIRJET Journal
 
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_2015Indraneel 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 PlatformEklavya Sharma
 
People Identification
People IdentificationPeople Identification
People IdentificationBrian 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 BoardsKyle VanDruten
 
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 verilogSTEPHEN MOIRANGTHEM
 
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-2397Editor 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-2397Editor 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 ETHERNETcseij
 
Resume for Embedded Engineer_1
Resume for Embedded Engineer_1Resume for Embedded Engineer_1
Resume for Embedded Engineer_1gajendra parmar
 
[YOUSUNG] Product Catalog
[YOUSUNG] Product Catalog[YOUSUNG] Product Catalog
[YOUSUNG] Product CatalogLukePark12
 
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 GENERATORAshish Sadavarti
 
Sonar Project Report
Sonar Project ReportSonar Project Report
Sonar Project ReportSumit Sapra
 

Similar to Introduction to Free-Software 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

existing product research b2 Sunderland Culture
existing product research b2 Sunderland Cultureexisting product research b2 Sunderland Culture
existing product research b2 Sunderland CultureChloeMeadows1
 
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一C SSS
 
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作f3774p8b
 
the cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxthe cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxLeaMaePahinagGarciaV
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)861c7ca49a02
 
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best ServicesVip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Servicesnajka9823
 
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...
Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...amilabibi1
 
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degreeyuu sss
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightKomal Khan
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一C SSS
 
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证gwhohjj
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程1k98h0e1
 
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...Amil baba
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...Amil Baba Dawood bangali
 
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree z zzz
 
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls DubaiDubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubaikojalkojal131
 
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作ss846v0c
 
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degreeyuu sss
 

Recently uploaded (20)

existing product research b2 Sunderland Culture
existing product research b2 Sunderland Cultureexisting product research b2 Sunderland Culture
existing product research b2 Sunderland Culture
 
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
(办理学位证)韩国汉阳大学毕业证成绩单原版一比一
 
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
Erfurt FH学位证,埃尔福特应用技术大学毕业证书1:1制作
 
the cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptxthe cOMPUTER SYSTEM - computer hardware servicing.pptx
the cOMPUTER SYSTEM - computer hardware servicing.pptx
 
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
5S - House keeping (Seiri, Seiton, Seiso, Seiketsu, Shitsuke)
 
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best ServicesVip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
Vip Udupi Call Girls 7001305949 WhatsApp Number 24x7 Best Services
 
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...
Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...Hindu amil baba kala jadu expert  in pakistan islamabad lahore karachi atar  ...
Hindu amil baba kala jadu expert in pakistan islamabad lahore karachi atar ...
 
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
专业一比一美国旧金山艺术学院毕业证成绩单pdf电子版制作修改#真实工艺展示#真实防伪#diploma#degree
 
Hifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun TonightHifi Babe North Delhi Call Girl Service Fun Tonight
Hifi Babe North Delhi Call Girl Service Fun Tonight
 
(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一(办理学位证)多伦多大学毕业证成绩单原版一比一
(办理学位证)多伦多大学毕业证成绩单原版一比一
 
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
原版1:1复刻斯坦福大学毕业证Stanford毕业证留信学历认证
 
萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程萨斯喀彻温大学毕业证学位证成绩单-购买流程
萨斯喀彻温大学毕业证学位证成绩单-购买流程
 
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
NO1 Qualified Best Black Magic Specialist Near Me Spiritual Healer Powerful L...
 
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
NO1 Certified Black Magic Specialist Expert Amil baba in Uk England Northern ...
 
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree 毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
毕业文凭制作#回国入职#diploma#degree加拿大瑞尔森大学毕业证成绩单pdf电子版制作修改#毕业文凭制作#回国入职#diploma#degree
 
young call girls in Gtb Nagar,🔝 9953056974 🔝 escort Service
young call girls in Gtb Nagar,🔝 9953056974 🔝 escort Serviceyoung call girls in Gtb Nagar,🔝 9953056974 🔝 escort Service
young call girls in Gtb Nagar,🔝 9953056974 🔝 escort Service
 
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls DubaiDubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
Dubai Call Girls O525547819 Spring Break Fast Call Girls Dubai
 
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
美国IUB学位证,印第安纳大学伯明顿分校毕业证书1:1制作
 
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
1:1原版定制美国加州州立大学东湾分校毕业证成绩单pdf电子版制作修改#真实留信入库#永久存档#真实可查#diploma#degree
 
young call girls in Khanpur,🔝 9953056974 🔝 escort Service
young call girls in  Khanpur,🔝 9953056974 🔝 escort Serviceyoung call girls in  Khanpur,🔝 9953056974 🔝 escort Service
young call girls in Khanpur,🔝 9953056974 🔝 escort Service
 

Introduction to Free-Software 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