Top Banner
1 Arduino 簡介與實作 使用僑高公司S-400實驗器 講師杜勇進 1 講師杜勇進 大綱 Arduino 簡介 環境建置 基本語法 GPIO實作: LED七段按鍵UART LED 七段 按鍵 UART Arduino圖控實驗
26

3 Arduino 簡介與實作練習 [相容模式] · 4Ad Bl k4.ArduBlock專案開啟專案開啟 (1) 開啟專案後 , 點選工具底下 -ArduBlock 選項 , 將開啟 ArduBlock 視窗

Oct 03, 2018

Download

Documents

truongkhanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 1

    Arduino

    S-400

    1

    Arduino

    GPIOLEDUARTLED UART

    Arduino

  • 2

    Arduino

    CHIRKAL

    Arduino

    CHIRKAL

  • 3

    Arduino UNO ATmega328 5V () 7-12V () 6-20V I/O Pins 14 ( 6 PWM ) Input Pins 6 I/O pin 40mA 3.3V pin 50mA

    Flash 32KB, 0.5KB bootloader SRAM 2KB EEPROM 1KB 16MHz

    Arduino IDE IDE

    Arduino

    Arduino 30

  • 4

    Arduino

    Open SourceCross Platform

    WindowsMac OS XLinux

    Simple UISimple UI (Easy to Use)

    CHIRKAL

    Arduino

    Buzzer Relay LCDLED-Matrix

    Photocell CO2 SensorColor sensor Bluetooth

  • 5

    CHIRKAL

    ArduinoS-400

    10

  • 6

    (103)VBVB

    ATmel AVR ATMega8 ATMega168 ATMega328

    Arduino

    Arduino

    GPIOLEDUARTLED UART

    Arduino

  • 7

    arduino-1.0.5-r2-windows.exe ( IDE ) CP210x_VCP_Win_XP_S2K3_Vista_7.exe

    (UARTUSB ) ckabs.exe ( )

    ATMEL Programmer Setup v3.3.2.exe

    bootloaderAtnega328

    CHIRKAL

  • 8

    CHIRKALCHIRKAL

    CHIRKAL

  • 9

    \3 A d i \3_Arduino\Disk\ATMEGA Ex&DATA\17.Serial\17.Serial example\Serial_Ex1

    CHIRKALEx1Serial_Ex1.ino ()

    CHIRKAL

  • 10

    CHIRKAL

    Arduino

    GPIOLEDUARTLED UART

    Arduino

  • 11

    ATmega328

    CHIRKAL

    ATmega8 vs ATmegaXX8

    http://avrprogrammers.com/articles/atmega8-vs-atmega328

    CHIRKAL

  • 12

  • 13

  • 14

  • 15

  • 16

    Arduino

    GPIOLEDUARTLED UART

    Arduino

    LED

    CHIRKAL

  • 17

    LED

    \Disk\ATMEGA Ex&DATA\13.LED\13.LED lexample

    LED LED LED LED

    LED

  • 18

    ByteBit

  • 19

    PORTD

    Arduino 1 UART2 LED 2 LED

    3 4 5 LCD 6+ LCD 6+ LCD 7+ LCD 8+

  • 20

    Arduino

    GPIOLEDUARTLED UART

    Arduino

    ArduBlock1.ardublock - http://sourceforge.net/projects/ardublock/files/(20141201)

    2.(ardublock-all-20130712.jar) arduinotools/ArduBlockTool/tool

    (1) Windows XPC:\Documents and Settings\Administrator\My

    Documents\Arduino\tools\ArduBlockTool/tool

    (2) Win 7C:\Program Files\Arduino\tools\ArduBlockTool/tool

    3.OKarduinoArduBlock

    4 A d Bl k4.ArduBlock

    (1),-ArduBlock,ArduBlock

    (2)ArduBlockLOAD, *.abp

    (3)ArduBlock

  • 21

    Control

    CHIRKAL

  • 22

    Pins

    CHIRKAL

    Number/Constants

    CHIRKAL

  • 23

    Operators

    CHIRKAL

    Utilities

    CHIRKAL

  • 24

    PWMLED

    PWMLEDPB2 (10) GOEPB3 (11) AD7( )

    CHIRKAL

  • 25

    S1PC0(14) S19600bpsp

    CHIRKAL

    PC0(14) S1PB0 (8) BEEP( )

    CHIRKAL

  • 26

    Arduino

    Arduino http://www.arduino.cc/ http://arduino.tw/ http://www.powenko.com/wordpress/?p=4167

    !!

    52