极客工坊

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 20258|回复: 14

Arduino板连mac

[复制链接]
发表于 2013-9-10 15:25:51 | 显示全部楼层 |阅读模式
连接mac电脑时候  驱动已经下好了 而且下了好多遍  arduino里面的串口 就是没有serial的串口  怎么办  求大神啊
回复

使用道具 举报

 楼主| 发表于 2013-9-10 15:46:52 | 显示全部楼层
自己顶一下
回复 支持 反对

使用道具 举报

发表于 2013-9-10 16:00:47 | 显示全部楼层
这个。。。插其他电脑能识别吗
回复 支持 反对

使用道具 举报

发表于 2013-9-10 18:44:41 | 显示全部楼层
ide里选一下串口。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-11 15:57:41 | 显示全部楼层
弘毅 发表于 2013-9-10 16:00
这个。。。插其他电脑能识别吗

mac虚拟机里面的windows可以  也貌似不是不能识别  是下了驱动之后 还是没有那个串口
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-11 15:58:01 | 显示全部楼层
林定祥 发表于 2013-9-10 18:44
ide里选一下串口。

哪里???
回复 支持 反对

使用道具 举报

发表于 2013-9-11 16:14:59 | 显示全部楼层
本帖最后由 histamine 于 2013-9-11 16:17 编辑

把arduino板子插上,先打开终端输入
  1. ls -l /dev/tty*
复制代码
看看arduino板子的usb转串口有没有被系统识别到(设备名称应该类似tty.usbserial-xxxxxxxx)

如果识别到了,打开arduino ide选择菜单里面的tools->Serial Port中对应的串口设备
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-11 16:41:08 | 显示全部楼层
histamine 发表于 2013-9-11 16:14
把arduino板子插上,先打开终端输入看看arduino板子的usb转串口有没有被系统识别到(设备名称应该类似tty.u ...

串口里面没有 usbserial。。。。
回复 支持 反对

使用道具 举报

发表于 2013-9-11 17:00:48 | 显示全部楼层
  1. ls -l /dev/tty*
复制代码
输出结果发上来看看?

arduino板子也可能用的是ft232 usb转串口
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-11 17:20:44 | 显示全部楼层
histamine 发表于 2013-9-11 17:00
把输出结果发上来看看?

arduino板子也可能用的是ft232 usb转串口

crw-rw-rw-  1 root   wheel    2,   0  9 11 15:53 /dev/tty
crw-rw-rw-  1 root   wheel   18,   4  9 11 15:54 /dev/tty.-WirelessiAP
crw-rw-rw-  1 root   wheel   18,   2  9 11 15:54 /dev/tty.Bluetooth-Modem
crw-rw-rw-  1 root   wheel   18,   0  9 11 15:54 /dev/tty.Bluetooth-PDA-Sync
crw-rw-rw-  1 root   wheel    4,   0  9 11 15:53 /dev/ttyp0
crw-rw-rw-  1 root   wheel    4,   1  9 11 15:53 /dev/ttyp1
crw-rw-rw-  1 root   wheel    4,   2  9 11 15:53 /dev/ttyp2
crw-rw-rw-  1 root   wheel    4,   3  9 11 15:53 /dev/ttyp3
crw-rw-rw-  1 root   wheel    4,   4  9 11 15:53 /dev/ttyp4
crw-rw-rw-  1 root   wheel    4,   5  9 11 15:53 /dev/ttyp5
crw-rw-rw-  1 root   wheel    4,   6  9 11 15:53 /dev/ttyp6
crw-rw-rw-  1 root   wheel    4,   7  9 11 15:53 /dev/ttyp7
crw-rw-rw-  1 root   wheel    4,   8  9 11 15:53 /dev/ttyp8
crw-rw-rw-  1 root   wheel    4,   9  9 11 15:53 /dev/ttyp9
crw-rw-rw-  1 root   wheel    4,  10  9 11 15:53 /dev/ttypa
crw-rw-rw-  1 root   wheel    4,  11  9 11 15:53 /dev/ttypb
crw-rw-rw-  1 root   wheel    4,  12  9 11 15:53 /dev/ttypc
crw-rw-rw-  1 root   wheel    4,  13  9 11 15:53 /dev/ttypd
crw-rw-rw-  1 root   wheel    4,  14  9 11 15:53 /dev/ttype
crw-rw-rw-  1 root   wheel    4,  15  9 11 15:53 /dev/ttypf
crw-rw-rw-  1 root   wheel    4,  16  9 11 15:53 /dev/ttyq0
crw-rw-rw-  1 root   wheel    4,  17  9 11 15:53 /dev/ttyq1
crw-rw-rw-  1 root   wheel    4,  18  9 11 15:53 /dev/ttyq2
crw-rw-rw-  1 root   wheel    4,  19  9 11 15:53 /dev/ttyq3
crw-rw-rw-  1 root   wheel    4,  20  9 11 15:53 /dev/ttyq4
crw-rw-rw-  1 root   wheel    4,  21  9 11 15:53 /dev/ttyq5
crw-rw-rw-  1 root   wheel    4,  22  9 11 15:53 /dev/ttyq6
crw-rw-rw-  1 root   wheel    4,  23  9 11 15:53 /dev/ttyq7
crw-rw-rw-  1 root   wheel    4,  24  9 11 15:53 /dev/ttyq8
crw-rw-rw-  1 root   wheel    4,  25  9 11 15:53 /dev/ttyq9
crw-rw-rw-  1 root   wheel    4,  26  9 11 15:53 /dev/ttyqa
crw-rw-rw-  1 root   wheel    4,  27  9 11 15:53 /dev/ttyqb
crw-rw-rw-  1 root   wheel    4,  28  9 11 15:53 /dev/ttyqc
crw-rw-rw-  1 root   wheel    4,  29  9 11 15:53 /dev/ttyqd
crw-rw-rw-  1 root   wheel    4,  30  9 11 15:53 /dev/ttyqe
crw-rw-rw-  1 root   wheel    4,  31  9 11 15:53 /dev/ttyqf
crw-rw-rw-  1 root   wheel    4,  32  9 11 15:53 /dev/ttyr0
crw-rw-rw-  1 root   wheel    4,  33  9 11 15:53 /dev/ttyr1
crw-rw-rw-  1 root   wheel    4,  34  9 11 15:53 /dev/ttyr2
crw-rw-rw-  1 root   wheel    4,  35  9 11 15:53 /dev/ttyr3
crw-rw-rw-  1 root   wheel    4,  36  9 11 15:53 /dev/ttyr4
crw-rw-rw-  1 root   wheel    4,  37  9 11 15:53 /dev/ttyr5
crw-rw-rw-  1 root   wheel    4,  38  9 11 15:53 /dev/ttyr6
crw-rw-rw-  1 root   wheel    4,  39  9 11 15:53 /dev/ttyr7
crw-rw-rw-  1 root   wheel    4,  40  9 11 15:53 /dev/ttyr8
crw-rw-rw-  1 root   wheel    4,  41  9 11 15:53 /dev/ttyr9
crw-rw-rw-  1 root   wheel    4,  42  9 11 15:53 /dev/ttyra
crw-rw-rw-  1 root   wheel    4,  43  9 11 15:53 /dev/ttyrb
crw-rw-rw-  1 root   wheel    4,  44  9 11 15:53 /dev/ttyrc
crw-rw-rw-  1 root   wheel    4,  45  9 11 15:53 /dev/ttyrd
crw-rw-rw-  1 root   wheel    4,  46  9 11 15:53 /dev/ttyre
crw-rw-rw-  1 root   wheel    4,  47  9 11 15:53 /dev/ttyrf
crw-rw-rw-  1 root   wheel    4,  48  9 11 15:53 /dev/ttys0
crw--w----  1 apple  tty     16,   0  9 11 17:20 /dev/ttys000
crw-rw-rw-  1 root   wheel    4,  49  9 11 15:53 /dev/ttys1
crw-rw-rw-  1 root   wheel    4,  50  9 11 15:53 /dev/ttys2
crw-rw-rw-  1 root   wheel    4,  51  9 11 15:53 /dev/ttys3
crw-rw-rw-  1 root   wheel    4,  52  9 11 15:53 /dev/ttys4
crw-rw-rw-  1 root   wheel    4,  53  9 11 15:53 /dev/ttys5
crw-rw-rw-  1 root   wheel    4,  54  9 11 15:53 /dev/ttys6
crw-rw-rw-  1 root   wheel    4,  55  9 11 15:53 /dev/ttys7
crw-rw-rw-  1 root   wheel    4,  56  9 11 15:53 /dev/ttys8
crw-rw-rw-  1 root   wheel    4,  57  9 11 15:53 /dev/ttys9
crw-rw-rw-  1 root   wheel    4,  58  9 11 15:53 /dev/ttysa
crw-rw-rw-  1 root   wheel    4,  59  9 11 15:53 /dev/ttysb
crw-rw-rw-  1 root   wheel    4,  60  9 11 15:53 /dev/ttysc
crw-rw-rw-  1 root   wheel    4,  61  9 11 15:53 /dev/ttysd
crw-rw-rw-  1 root   wheel    4,  62  9 11 15:53 /dev/ttyse
crw-rw-rw-  1 root   wheel    4,  63  9 11 15:53 /dev/ttysf
crw-rw-rw-  1 root   wheel    4,  64  9 11 15:53 /dev/ttyt0
crw-rw-rw-  1 root   wheel    4,  65  9 11 15:53 /dev/ttyt1
crw-rw-rw-  1 root   wheel    4,  66  9 11 15:53 /dev/ttyt2
crw-rw-rw-  1 root   wheel    4,  67  9 11 15:53 /dev/ttyt3
后面都差不多  这是一部分
回复 支持 反对

使用道具 举报

发表于 2013-9-11 17:38:48 | 显示全部楼层
看起来是没认到arduino的usb转串口设备

检查下usb线是否接触不良 或者 看看板子上的usb转串口芯片是不是要装驱动

并且建议您看一下system profiler -> hardware -> usb里面有没有出现与arduino有关的串口设备
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-11 19:17:02 | 显示全部楼层
histamine 发表于 2013-9-11 17:38
看起来是没认到arduino的usb转串口设备

检查下usb线是否接触不良 或者 看看板子上的usb转串口芯片是不是 ...

那个system profiler 在哪里啊。。。
回复 支持 反对

使用道具 举报

发表于 2013-9-11 21:01:26 | 显示全部楼层
wwtwxlwjh 发表于 2013-9-11 19:17
那个system profiler 在哪里啊。。。

Applications->Utilities->System Profiler

或者直接在终端输入
  1. system_profiler SPUSBDataType
复制代码
就会输出当前所有的usb设备信息
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-9-12 10:37:33 | 显示全部楼层
histamine 发表于 2013-9-11 21:01
Applications->Utilities->System Profiler

或者直接在终端输入就会输出当前所有的usb设备信息

有那个设备  但是是cp2102 usb   但是arduino那里 就没有那个串口  气死了
回复 支持 反对

使用道具 举报

发表于 2013-9-12 10:56:26 | 显示全部楼层
本帖最后由 histamine 于 2013-9-12 11:17 编辑
wwtwxlwjh 发表于 2013-9-12 10:37
有那个设备  但是是cp2102 usb   但是arduino那里 就没有那个串口  气死了


应该是驱动没装好

CP210X的PID和VID是可以修改的,LZ板子上CP210x的PID和VID是不是被厂家修改过啊?
回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|联系我们|极客工坊

GMT+8, 2026-6-5 13:16 , Processed in 0.038522 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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