qdzanglu 发表于 2015-5-26 14:58:43

请教arduino uno的串口TTL电压问题

刚接触arduino,我的需求是要用板子连接GPRS模块,模块的提供方说是TTL3.3V的,我想问一下,第0脚和第1脚的RX TX,是否可以直接接GPRS模块的TX,RX 看了官方网站上好像说是和USB共用的是5V,那如果我用3.3V TTL是不是就要用到其它串口了,例如
Serial1 ,Serial2,这些,在程序中怎么调用,是 Serial3.println这类用法么
下面是官网的关于TTL的解释,高人给指点指点啊。

The Arduino Due has three additional 3.3V TTL serial ports: Serial1 on pins 19 (RX) and 18 (TX); Serial2 on pins 17 (RX) and 16 (TX), Serial3 on pins 15 (RX) and 14 (TX). Pins 0 and 1 are also connected to the corresponding pins of the ATmega16U2 USB-to-TTL Serial chip, which is connected to the USB debug port. Additionally, there is a native USB-serial port on the SAM3X chip, SerialUSB'.
The Arduino Leonardo board uses Serial1 to communicate via TTL (5V) serial on pins 0 (RX) and 1 (TX). Serial is reserved for USB CDC

suoma 发表于 2015-5-26 20:34:21

          要用到TTL转MOS电平模块

qdzanglu 发表于 2015-5-27 08:13:31

我的意思是直接接串口设备就行了吧 我只是不知道电压是不是合适,需要用到电平模块么

shenhaiyu 发表于 2015-5-28 09:38:23

应该转换一下电压的,但是我实测也没什么问题。。。。

mondaywoo 发表于 2015-8-11 23:10:37

初学者学习
页: [1]
查看完整版本: 请教arduino uno的串口TTL电压问题