通过 USB 端口发送和接收数据 [英] Sending and receiving data over USB port

查看:59
本文介绍了通过 USB 端口发送和接收数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过 USB 端口向设备(从我的 vista 电脑)发送/接收数据.是否有免费/廉价的图书馆可以做到这一点,以及这个项目的参与程度(不考虑发送或接收的内容)?

I'd like to send/receive data over a USB port to a device (from my vista pc). Is there a free/cheap library out there that can do this, and how involved would this project be (not taking into account what's being sent or received) ?

推荐答案

你没有指定这里发生了什么.设备是否已经存在?它已经是 USB 设备了吗?

You don't specify what's going on here. Does the device already exist? Is it already a USB device?

如果您已经有 USB 设备,那么制造商应该可以提供帮助.

If you already have a USB device, then the manufacturer should be able to help.

如果您正在构建设备,那么您可能需要查看 USB 转串口适配器(通常根本不需要特殊驱动程序)或 FTDI - 他们制作了许多通常不需要的易于使用的 USB 芯片,或者在 Windows 下带有适当的驱动程序.我曾多次使用他们的芯片,他们从未给我带来任何麻烦.

If you are building the device, then you might want to look at something like a USB to serial adapter (which generally require no special drivers at all) or something from FTDI - they make a number of easy-to-use USB chips that generally don't need, or come with appropriate drivers under windows. I've worked with their chips on a couple of occasions and they've never given me any trouble.

这篇关于通过 USB 端口发送和接收数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆