极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 12548|回复: 4

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

[复制链接]
发表于 2015-5-26 14:58:43 | 显示全部楼层 |阅读模式
刚接触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
回复

使用道具 举报

发表于 2015-5-26 20:34:21 | 显示全部楼层
          要用到TTL转MOS电平模块
回复 支持 反对

使用道具 举报

 楼主| 发表于 2015-5-27 08:13:31 | 显示全部楼层
我的意思是直接接串口设备就行了吧 我只是不知道电压是不是合适,需要用到电平模块么
回复 支持 反对

使用道具 举报

发表于 2015-5-28 09:38:23 | 显示全部楼层
应该转换一下电压的,但是我实测也没什么问题。。。。
回复 支持 反对

使用道具 举报

发表于 2015-8-11 23:10:37 | 显示全部楼层
初学者学习
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-15 23:04 , Processed in 0.036935 second(s), 21 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表