1 27 SIK.Guide-150dpi-01 Подсоедините вашу плату Arduino Uno Используйте USB кабель, входящий в комплект набора, соедините

  • Published on
    22-Feb-2018

  • View
    240

  • Download
    15

Embed Size (px)

Transcript

  • MaxKit.Ru

  • - c Arduino - , . Arduino, 14 .

    http://maxkit.ru

    Arduin

    , , . !

  • Arduino? 1

    Arduino IDE 3

    Arduino 4

    Arduino 7

    8

    9

    11

    13

    15

    17

    24

    28

    32

    36

    40

    44

    48

    52

    2:

    1:

    Arduino Uno

    #1 -

    #3 -

    #4 -

    #5 -

    #6 -

    #7 -

    #8 -

    #9 -

    56 #10 -

    60 #11 - -

    64 #12 -

    68 #13 -

    72 #14 -

    #2 -

    - Arduino

    -

  • Arduino . , . USB

    http://arduino.cc

    Arduino

    Arduino?

    - , Arduino. Arduino , . Arduino , .

    , Arduino, , . , .

    .

    // Arduino UNO R3, Arduino UNO R3 SMD

    Arduino UNO - , (Mega, Nano .), ATmega328. , , - . Arduino UNO 14 -, . 6 .

    .

    16 , USB , , , ICSP.

  • c

    b

    a

    d

    e

    f

    g

    h

    c

    b

    a

    f

    e

    d

    h

    g

  • , Arduino

    Download, . , , .

    , :

    Arduino IDE

    N

    W

    S

    E

    NW

    SW

    SE

    NE

    arduino.cc/en/Main/Software

    , !

    ,

    Windows Installer (.exe), Windows (ZIP file)

    Mac OS X

    source

    Linux: 32 bit, 64 bit

    1

    arduino.cc Arduino IDE

  • // Arduino Uno

    USB , ,

    Arduino USB .

    //

    , , . Arduino Uno.

    * .

    2

    3

    Linux: 32 bit / 64 bit

    Linux.

    http://www.arduino.cc/playground/Learning/Linux

    Macintosh OS X

    Mac OS , . http://arduino.cc/en/Guide/MacOSX

    Windows

    Windows.

    http://arduino.cc/en/Guide/Windows

  • 1 2 3 5 6

    7

    8

    9

    4

    Arduino IDE, . . ,

    // Arduino IDE:

    .

  • // Arduino IDE:

    GUI (Graphical User Interface - )

    Verify (): Compiles (, ) . 1

    Upload (): Arduino. . 2

    New (): , .3

    Open (): , . 4

    Save (): , .5

    Serial Monitor ( ):6

    Code Area( ): 8

    Message Area ( ): 9

    Sketch Name ( ):7

    Verify ()

    Upload ()

    Open ()

    COM .

    ().

    ().

    . .

  • Auto Format

    Archive Sketch

    Fix Encoding & Reload

    Serial Monitor

    Arduino UnoArduino Duemilanove w/ ATmega328]Arduino Diecimila or Duemilanove w/ ATmega168Arduino Nano w/ ATmega328Arduino Nano w/ ATmega168Arduino Mega 2560 or Mega ADKArduino Mega (ATmega1280)Arduino Mini Arduino Mini w/ATmega168Arduino EthernetArduino FioArduino BT w/ ATmega328Arduino BT w/ATmega168LilyPad Arduino w/ ATmega328LilyPad Arduino w/ ATmega168Arduino Pro or Pro Mini (5V, 16 MHz) w/ATmega328Arduino Pro or Pro Mini (5V, 16 MHz) w/ATmega168Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ATmega328Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ATmega168Arduino NG or older w/ ATmega168Arduino NG or older w/ ATmega8

    Programmer

    Burn Bootloader

    // : Arduino Uno

    . | . |

    COM1 | COM2 . , : , , USB, USB , . , , , USB Arduino . , . Arduino.

    , . | .... /dev/tty.usbmodem... (UNO Mega 2560) /dev/tty.usbserial... Arduino.

    http://www.arduino.cc/playground/Learning/Linux

    Auto Format

    Archive Sketch

    Fix Encoding & Reload

    Serial Monitor

    com 1com 12

    Programmer

    Burn Bootloader

    Auto Format

    Archive Sketch

    Fix Encoding & Reload

    Serial Monitor

    /dev/tty.usbmodem262471 /dev/cu.usbmodem262471 /dev/tty.Bluetooth-Modem /dev/cu.Bluetooth-Modem /dev/tty.FireFly-7256-SPP /dev/cu.FireFly-7256-SPP /dev/tty.tiPhone-WirelessiAP-1 /dev/cu.tiPhone-WirelessiAP-1 /dev/tty.Bluetooth-PDA-Sync /dev/cu.Bluetooth-PDA-Sync

    Programmer

    Burn Bootloader

    //

    4

  • , :

    Arduino ( )

    maxkit.ru/kitcode01

    5

    MaxKit.rar. .

    MaxKit examples.

    MaxKit Arduino IDE examples.

    MaxKit.rar.

    Arduino. (ctrl+click) Show Package Contents.

    http://www.arduino.cc/playground/Learning/Linux

    //

    MaxK

    it C

    ode

    E

    xam

    ple

    s

    A

    rduin

    o ID

    E

    Contents

    Resources

    Java

    examplesArduino

    Move to Trash

    Open

    Show Package Contents

    .

    Program Files:/ arduino examples

    .

  • , . ,, , , . ,

    , , . , ,, .

    , , : , , .

    ?

    //

    , , - , ! , , . ,

    a b c d e f g h i1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    a b c d e f g h i

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    .

    .

    .

    , .

  • *

    (1N4148)

    x2

    x1

    x30

    x4

    ()LED (5) +

    -

    x5x5 x1x5

    220 - 330

    x10*

    10K

    x10*

    x1

    LM35

    (P2N2222)

    x2

    P2N

    2222A

    A18

    x3

    * x1

    * +4

    x1

  • a b c d e f g h i1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    a b c d e f g h i

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    a b c d e f g h i1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    a b c d e f g h i

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    7-

    x1

    x1

    x1

    x1

    (74HC595N)

    x1

    .GND

    Vcc

    7

    1 16

    8

    -

    *

    8

    40

    x1

    1

    4

    Flex Sensor

    x1

    (74HC595N)

    x17

    1 16

    8

    ( )

    x1N0

    NCCOM

    Vcc.

    GND

    x1x1

    x1

    HC-SR04

  • ON

    TX

    RX

    ICS

    P

    RE ETEN

    PO

    WE

    RA

    NA

    LO

    G IN

    DIG

    ITA

    L (P

    WM

    ~)

    A0A1A2A3A4A5

    IOREF

    RESET

    3.3V

    5V

    GND

    GND

    Vin

    L

    J P 2

    AREF

    TX

    RX

    GND

    1312

    ~11~10~ 9

    8

    7~ 6~ 5

    4~ 3

    210

    3

    1

    2

    4 5

    7

    8

    9

    6

    10

    6

    543

    2

    1

    7

    8

    9

    10

    10

    SMD Arduino UNO

    DIP Arduino UNO

  • //

    Arduino Uno

    ( ) - 9 - 12 .1

    USB (USB ) - , .2

    (RX: ) - , .3

    (TX: ) - , .4

    ( 13: ) - .5

    (ARef, Ground, Digital, Rx, Tx) - , , , . 6

    ( ) - Arduino.7

    () - Arduino, .8

    (Analog In, Power In, Ground, Power Out, Reset) - , , , . 10

    ICSP ( ) - , .9

    Power Out

    Reset

    IOREF

    RFU

    Power Out

    Ground

    Ground

    Power In

    Analog

    Analog

    Analog

    Analog

    Analog

    Analog

    Ground

    ARef

    SDA

    SCL

    Digital

    Digital

    Digital

    Digital

    Digital

    Digital

    Digital

    Digital

    Digital

    Digital

    Digital

    Digital

    TX - Out

    RX - In

    10

    6

    Pins, , Arduino . /.

    Reset

  • a b c d e f g h i1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    a b c d e f g h i

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    29

    30

    , !

    1

    2

  • :

    .

    :

    .

    :

    1 30 5 .

    (+ (GND)) 1

    (a-e & f-j) 2

    ?

    f g h ia b c d e

    1

    2

    3

    4

    5

    6

    7

    8

    9

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

Recommended

View more >