Arduino Uno R3 communication

Introduction

Aim 目标

Objectives

Device 设备

Arduino Uno

Arduino Uno 是一款基于 微控制器 ATmega328P的开发板。它有14个数字输入/输出引脚(这些引脚中有6个引脚可以作为PWM输出引脚),6个模拟输入引脚,16 MHz石英晶振,USB接口,电源接口,支持在线串行编程以及复位按键。用户只需要将开发板与电脑通过USB接口连接就可以使用。

在Arduino开发板家族中,Uno开发板是最适合初学者的Arduino开发板。由于它简单易学、稳定可靠,Uno开发板也是应用最为广泛且参考资料最多的开发板。

The Arduino Uno is an open-source microcontroller board based on the Microchip ATmega328P microcontroller and developed by Arduino.
Each of the 14 digital pins and 6 analog pins on the Uno can be used as an input or output, under software control (using pinMode(), digitalWrite(), and digitalRead() functions). They operate at 5 volts. Each pin can provide or receive 20 mA as the recommended operating condition and has an internal pull-up resistor (disconnected by default) of 20-50K ohm. A maximum of 40mA must not be exceeded on any I/O pin to avoid permanent damage to the microcontroller. The Uno has 6 analog inputs, labeled A0 through A5; each provides 10 bits of resolution (i.e. 1024 different values). By default, they measure from ground to 5 volts, though it is possible to change the upper end of the range using the AREF pin and the analogReference() function.

Arduino Uno是Arduino公司开发的基于Microchip ATmega328P单片机的开源微控制器板。

Uno上的14个数字引脚和6个模拟引脚都可以在软件控制下用作输入或输出(使用pinMode()、digitalWrite()和digitalRead()函数)。它们在5伏电压下工作。每个引脚可以提供或接收20ma作为推荐的操作条件,并有一个内部上拉电阻(默认断开)20- 50k欧姆。不能超过任何I/O引脚的最大40mA,以避免对微控制器的永久性损坏。Uno有6个模拟输入,标记为A0到A5;每个提供10位的分辨率(即1024个不同的值)。默认情况下,它们从接地到5伏,尽管可以使用AREF引脚和analogReference()函数改变范围的上端。

在这里插入图片描述

Technical specifications 技术规格
微控制器 ATmega328P
工作电压 5V
输入电压(推荐) 7-12V
输入电压(限制) 6-20V
数字l/O引脚 14(其中6个提供PWM输出)
PWM数字I/0引脚 6
模拟输入引脚 6
每个I/O引脚的直流电流 20毫安
3.3v引脚的直流电流 50毫安
闪存 32 KB(ATmega328P),其中0.5 KB由引导加载程序使用
SRAM 2KB (ATmega328P)
EEPROM 1KB (ATmega328P)
时钟速度 16 MHz
LED_BUILTIN 13
长度 68.6毫米
宽度 53.4毫米
重量 25克
Microcontroller Microchip ATmega328P
Operating Voltage 5 Volts
Input Voltage 7 to 20 Volts
Digital I/O Pins 14 (of which 6 can provide PWM output)
PWM Pins 6 (Pin # 3, 5, 6, 9, 10 and 11)
UART 1
I2C 1
SPI 1
Analog Input Pins 6
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 32 KB of which 0.5 KB used by bootloader
SRAM 2 KB
EEPROM 1 KB
Clock Speed 16 MHz
Length 68.6 mm
Width 53.4 mm
Weight 25 g
ICSP Header Yes
Power Sources DC Power Jack & USB Port
General pin functions 通用引脚功能
  • Power 引脚: 开发板可提供3.3V和5V电压输出,Vin引脚可用于从外部电源为开发板供电。
  • Analog In引脚: 模拟输入引脚,开发板可读取外部模拟信号,A0~A5为模拟输入引脚。
  • **Digital 引脚:**UNO R3拥有14个数字I/O引脚,其中6个可用于PWM(脉宽调制)输出。数字引脚用于读取逻辑值(0或1),或者作为数字输出引脚来驱动外部模块。标有"~"的引脚可产生PWM。
  • TX和RX引脚: 标有TX(发送)和RX(接收)的两个引脚用于串口通讯。其中标有TX和RX的LED灯连接相应引脚,在串口通讯时会以不同速度闪烁。
  • **13引脚:**开发板标记第13引脚,连接板载LED灯,可通过控制13引脚来控制LED灯亮灭。一般拿到开发板上电板载灯都会闪烁,可辅助检测开发板是否正常。
  • LED: There is a built-in LED driven by digital pin 13. When the pin i

  • 2
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值