如何使用MCU制作USB设备 [英] how to make usb device using MCU

查看:242
本文介绍了如何使用MCU制作USB设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发键盘和鼠标等USB设备。当我插入然后自动验证设备。基于已获取的串行数据,它将采取窗口操作。那么创建一个完整的device.do我需要创建设备驱动程序的步骤是什么?我想制作一个隐藏的过程,在中断时通过MCU 8051控制浏览器和窗口媒体播放器。我需要提供哪种语言以及如何开始编码?谢谢你

i want to develope USB device like keyboard and mouse.when i plug in then verify device automaticaly. based on recived serial data it will take window action. so what are the steps for create one complete device.do i need to create device driver? i want to make hidden process which control browser and window media player through MCU 8051 when interupted.so which language i need to preffer and how to start coding ? thank you

推荐答案

这个问题对于快速回答来说太宽泛了。你需要对USB硬件和Windows设备驱动程序进行一些研究。
This question is far too broad for Quick Answers. you need to do some research into USB hardware and Windows Device Drivers.


引用:

我想要开发USB设备,如键盘和鼠标。当我插入然后自动验证设备。基于已获取的串行数据,它将采取窗口操作。那么创建一个完整的device.do我需要创建设备驱动程序的步骤是什么?

i want to develope USB device like keyboard and mouse.when i plug in then verify device automaticaly. based on recived serial data it will take window action. so what are the steps for create one complete device.do i need to create device driver?

原则上,。但是,大多数时候开发人员使用 USB-to-serial 转换器来处理 MCU ,这些驱动程序是转换器(例如 FT232R [ ^ ])由其制造商提供。



< br $>


In principle, yes. However, most of the time developers use USB-to-serial converters for dealing with the MCU, the drivers of such converters (like for instance FT232R[^]) are provided by their manufactures.



引用:

我想制作一个控制浏览器和窗口媒体播放器的隐藏进程通过MCU 8051进行中断时,我需要提供哪种语言以及如何开始编码?

i want to make hidden process which control browser and window media player through MCU 8051 when interupted.so which language i need to preffer and how to start coding ?

这取决于你。如果您的程序使用虚拟串行端口与 MCU 交互(大多数编程语言提供串行通信功能),那么您可以选择一种允许您控制浏览器和媒体播放器的语言没有太多的努力( C#我想)。

That's up to you. If your program interacts with the MCU using a virtual serial port (most programming languages provide serial communication facilities) then you may choose a language allowing you to control the browser and the media player without too much effort (C# I suppose).


这篇关于如何使用MCU制作USB设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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