zoukankan      html  css  js  c++  java
  • Arduino UNO R3

    Arduino 常见型号


    163213kzisi4szjanz14fy

    当然还有 LilyPad,附图:

    LilyPad_4

     

    最常见的自然是UNO,最新版是第三版R3:

    12

    国内也有一些改进的板子。我用的是一般的板子,拿到货也只能默默了。

     

    简介


    The Uno is a microcontroller board based on the ATmega328P. It has 14 digital   input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs,    a 16 MHz quartz crystal, a USB connection, a power jack, an ICSP header and     a reset button.

    Revision 3 of the board has the following new features:

    • 1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. In future, shields will be compatible with both the board that uses the AVR, which operates with 5V and with the Arduino Due that operates with 3.3V. The second one is a not connected pin, that is reserved for future purposes.
    • Stronger RESET circuit.
    • Atmega 16U2 replace the 8U2.

     

    电路图 http://arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf

    硬件设计文件(Eagle文件) http://arduino.cc/en/uploads/Main/arduino_Uno_Rev3-02-TH.zip

     

    Technical specs

    Microcontroller

    ATmega328P(8-bit AVR Microcontroller )

    Operating Voltage

    5V

    Input Voltage (recommended)

    7-12V

    Input Voltage (limit)

    6-20V

    Digital I/O Pins

    14 (of which 6 provide PWM output)

    PWM Digital I/O Pins

    6

    Analog Input Pins

    6

    DC Current per I/O Pin

    20 mA

    DC Current for 3.3V Pin

    50 mA

    Flash Memory

    32 KB (ATmega328P)
    of which 0.5 KB used by bootloader

    SRAM

    2 KB (ATmega328P)

    EEPROM

    1 KB (ATmega328P)

    Clock Speed

    16 MHz

    Length

    68.6 mm

    Width

    53.4 mm

    Weight

    25 g

    电源


    Arduino UNO可以通过3种方式供电,而且能自动选择供电方式

    • 外部直流电源通过电源插座供电。
    • 电池连接电源连接器的GND和VIN引脚。
    • USB接口直接供电。

    电源引脚说明

    • VIN --- 当外部直流电源接入电源插座时,可以通过VIN向外部供电;也可以通过此引脚向UNO直接供电;VIN有电时将忽略从USB或者其他引脚接入的电源。
    • 5V --- 通过稳压器或USB的5V电压,为UNO上的5V芯片供电。
    • 3.3V --- 通过稳压器产生的3.3V电压,最大驱动电流50mA。
    • GND --- 地脚。

    输入输出


    14路数字输入输出口:工作电压为5V,每一路能输出和接入最大电流为40mA。每一路配置了20-50K欧姆内部上拉电阻(默认不连接)。除此之外,有些引脚有特定的功能

    • 串口信号RX(0号)、TX(1号): 与内部 ATmega8U2 USB-to-TTL 芯片相连,提供TTL电压水平的串口接收信号。
    • 外部中断(2号和3号):触发中断引脚,可设成上升沿、下降沿或同时触发。
    • 脉冲宽度调制PWM(3、5、6、9、10 、11):提供6路8位PWM输出。
    • SPI(10(SS),11(MOSI),12(MISO),13(SCK)):SPI通信接口。
    • LED(13号):Arduino专门用于测试LED的保留接口,输出为高时点亮LED,反之输出为低时LED熄灭。

    6路模拟输入A0到A5:每一路具有10位的分辨率(即输入有1024个不同值),默认输入信号范围为0到5V,可以通过AREF调整输入上限。除此之外,有些引脚有特定功能

    • TWI接口(SDA A4和SCL A5):支持通信接口(兼容I2C总线)。

    AREF:模拟输入信号的参考电压。

    Reset:信号为低时复位单片机芯片。

    通信接口


    1. 串口:ATmega328内置的UART可以通过数字口0(RX)和1(TX)与外部实现串口通信;ATmega16U2可以访问数字口实现USB上的虚拟串口
    2. TWI(兼容I2C)接口
    3. SPI 接口

    扩展阅读


    http://kb.open.eefocus.com/index.php/Arduino_Uno

    https://www.arduino.cc/en/Main/ArduinoBoardUno

     

  • 相关阅读:
    Linux实用命令之git-svn
    Linux实用命令之xdg-open
    记一个logrotate的配置文件权限问题
    日常开发技巧:x11-forward,使用远程机器的gui程序
    【机器学习】PCA
    【PyTorch】Tricks 集锦
    【Python】itertools之product函数
    强化学习——值迭代和策略迭代
    PyTorch中MaxPool的ceil_mode属性
    猫狗识别——PyTorch
  • 原文地址:https://www.cnblogs.com/luoxu34/p/5021993.html
Copyright © 2011-2022 走看看