科学网

 找回密码
  注册
科学网 标签 USB

tag 标签: USB

相关帖子

版块 作者 回复/查看 最后发表

没有相关内容

相关日志

COM port, USB, device file
haibaraxx 2016-5-16 03:47
COM ports , short for communication ports, are traditional serial port interfaces on IBM PC-compatible computers. They refers not only to physical ports, but also to virtual ports such as ports created by Bluetooth or USB-to-Serial adapters. USB-to-Serial adapters do two things: 1. They physically connect a serial cable to a USB port. 2. They have software drivers that create a Virtual COM Port. A Virtual COM Port created by a USB-to-serial adapter can be a setting that allows software products to connect to USB devices using COM port connections. A serial port (串行接口) is a serial communication interface through which information transfer in or out one bit at a time. Throughout most of the history of personal computers, data was transferred through serial ports to devices such as modems (调制解调器), terminals (终端机) and various of peripherals (外部设备). Serial ports are still used in applications such as industrial automation system, scientific instruments as they are simple, cheap and their console (控制) functions are highly standardized and widespread. A serial port requires very little supporting software from the host system. Modern computers without serial ports may require USB-to-Serial adapters to allow compatibility with serial devices. A parallel port (并行接口) is a parallel communication physical interface, which is also known as a printer port or Centronics port. It was originally known as the Parallel Printer Adapter on IMB PC-compatible computers as it was primarily designed to operate printers. Today, the parallel port is virtually non-existent because of the rise of USB devices. Universal Serial Bus (USB,通用串行总线) is an industry standard that defines the cables, connectors and communication protocols used in a bus (a bus/buss is a communication system that transfer data between components inside a computer or between computers) or connection, communication and power supply between computers and electronic devices. It was designed to standardize the connection of computer peripherals including keyboard, pointing devices, digital cameras, printers, portable media players, disk drives and network adapters to PC, both to communicate and to supply electric power. A device file is an interface for a device driver that appears in a file system as if it were an ordinary file. They allow software to interact with a device driver using standard input/output (I/O) system calls, which simplifies many tasks and unifies user-space I/O mechanisms. Device files often provide simple interfaces to peripheral devices such as printers and serial ports. Also, they can be used to access specific resources on those devices. Finally, device files are useful for accessing system resources that have no connection with any actual device.
个人分类: instrumentation|2929 次阅读|0 个评论
[转载]USB工业相机的特点
alaclp 2015-10-25 12:54
http://www.iianews.com 工业相机 机械 2015年09月11日   USB工业相机的特点,有以下几点:   一、易用性   USB接口作为世界上应用最广泛的接口,各种电脑上都自带2-4个USB接口,USB工业相机可以被直接连接在这些电脑的USB接口上稳定工作,而1394相机则需要单独在电脑中安插1394采集卡才能工作。此外USB接口可以直接为USB工业相机供电,不需要为相机准备单独的电源,而GigE相机则需要独立电源为相机单独供电。因此,USB工业相机的易用性是三种数字相机中最好的。    二、稳定性   USB工业相机非常适合于1台电脑带1-2台相机的应用,稳定性很好。USB工业相机是大多数中低速工业应用的最佳选择,可以大大节省用户成本。    三、成本优势   USB接口作为世界上应用最广泛的接口,其接口驱动芯片和驱动电路的成本极为便宜,而相机的成本主要由成像芯片和电路,接口驱动芯片和电路以及外壳等三部分构成。USB接口驱动的成本远比1394和GigE接口的驱动低,因此USB工业相机的价格不仅比原来模拟相机配模拟采集卡的价格便宜,而且也比1394和GigE接口的相机更便宜。USB工业相机的整体成本(相机自身及配套线缆)比其它数字相机低出15%-30%。    四、未来持续升级性   USB接口作为世界上应用最广泛的接口,有世界级的协会在不断推动升级USB接口协议,USB3.0正在成为新一代电脑和 电子 产品的标准接口。目前USB3.0工业相机已经问世,传输速度比USB2.0提升了5X,达到2.5Gbit/s,是1394B传输速度的3倍,是GigE传输速度的2.5倍,未来2-3年将会成为高速工业应用的主要接口。   同时,伴随着USB3.0接口不断的推广普及,USB工业相机将解决高带宽传输实现高帧率、高分辨率、远距离的实时进行,将工业相机带向更高端的阶段。
个人分类: 计算机视觉|1066 次阅读|0 个评论
USB Promoter Group宣布USB 3.1最大传输速度提高到10Gbps
mshot 2013-9-23 15:17
USB3.0都还未真正普及开来,USB 3.1已经袭来了。USB Promoter Group刚宣布USB 3.1最大传输速度将提高到10Gbps,比USB3.0提高了一倍。并向后兼容旧版USB连接器和电缆。同时USB 3.1规格已制定完成。新 规范 【FDP】也将被称为“超高速+”。 在显微成像领域,国外采用USB3.0比较流行了,国内见到的还是比较少。上次有人拿了mshot使用USB3.0接口的 md50-t 来给我们做测试,在图像预览速度上切实很符合观察要求也很舒服。 相信在USB 3.1铺开来后,图像预览速度会更加完美。 不过还没有见过哪个厂家使用英特尔Thunderbolt接口的,Thunderbolt能提供最高 20Gbps数据传输速度。
个人分类: 其它|3006 次阅读|0 个评论
[转载]USB用于传输图像的速度还远远不够
热度 2 mshot 2013-3-22 14:58
USB摄像机通常作为目镜摄像机或者与C型接口连接器一起使用。不同制造商的摄像机的质量都有很大的不同,但是它们都有一个共通点:他们有着带宽的问题!数码摄像机可以利用高分辨率进行拍照,但不幸的是它们转换数据到计算机的流量实在是不足够。这是因为数据堵塞和每秒传输的图像数量急剧导致的滞后。目前的USB连接器(USB1.1 and 2.0)在数据流量方面存在了瓶颈。目前最快的USB 2.0连接器将需要提高为原有的至少10倍速度,以应付实时传输到计算机的连续实时的视频图像。在消费娱乐行业,200万像素分辨率或者具有高清功能的1920×1080像素每秒30帧图片的,数据传输率为3960Mbit/s。 所需带宽的计算方法如下:1920像素×1080像素× 36位(每像素色彩深度)×30= 2240图像Mbit/s USB2.0高达10百万像素分辨率相机只提供了480兆位/秒数据传输率。 InterfaceData transfer rate USB112 Mbit/second USB2480 Mbit/second USB3 (not yet on the market)5000 Mbit/second HDMI 1.23960 Mbit/second DVI3700 Mbit/second 大幅减少图片帧数到10帧/秒针对显微图像会出现问题。 强烈的延时会使得焦平面的选择变得更加困难。如果选择低分辨率,也会使得焦平面变得更加难以寻找。 总结:用于专业的显微拍摄,我们只能保留余地地建议使用USB摄像机。新的数码高清单反相机,例如佳能EOS 5D Ⅱ的“实时取景”和HDMI输出,提供了高端HD摄像机的选择。在摄像模式下,这些相机传输了高清实时预览的HDMI输出。数码单反相机的大尺寸的传感器拥有优秀的信噪比,照片分辨率可达到2千万像素。
2657 次阅读|4 个评论
[转载]Ubuntu下基于格式化命令 格式化U盘的方法
plgongcat 2013-1-13 19:02
首先执行sudo fdisk -l查看你的u盘的序号,通常是/dev/sdb之类的,U盘分区通常是/dev/sdb1 对于u盘我们一般格式化为FAT格式或者FAT32格式,不过在linux下这些会都显示为FAT格式。我们只需要执行命令: sudo mkfs.vfat -F 32 /dev/sdb1即可将u盘格式化为fat32格式。 假 如你要把指定磁盘格式化为NTFS格式那么你需要sudo apt-get install ntfsprogs来安装ntfs读写工具,然后执行sudo mkfs.ntfs /dev/sda1,此过程会很慢。对于要格式化为linux ext格式的分区就更容易了: sudo mkfs.ext4 /dev/sda1 # 格式化为ext4分区 sudo mkfs.ext3 /dev/sda1 # 格式化为ext3分区 sudo mkfs.ext2 /dev/sda1 #格式化为ext2分区 PS:对于要格式化的分区必须要先用umount卸载掉才能格式化哦。 转载: http://www.jb51.net/os/Ubuntu/66912.html
个人分类: unbutu常见问题|4494 次阅读|0 个评论
支持热拔插的电脑器件--BY 沈祖冀
热度 1 kd652 2012-2-22 21:36
支持热拔插的电脑器件 在电脑不断电的情况下拔插器件叫“热拔插”。 1, USB 器件支持热拔插。如 U 盘, USB 口的外置硬盘, USB 口的数码相机等。 2, IEEE1394 口,它一般用于录像设备上。有些仪器的接口。 3, ESATA 接口。它的中文是“外置串行 ATA 接口”。现在有 ESATA 接口的硬盘盒,它传送数据的速度比 USB2.0 快得多。 以字节为单位传送二进制数据称为并行接口,如 IDE 硬盘接口,早些的 LPT 打印机接口。以位为单位传送二进制数据的称为串行接口。 一字节由 8 位二进制位组成。 宽带网速 2M ,指的是每秒传下载 2M 二进制位。迅雷下载速度 200K 指的是每秒传下载 200K 二进制字节。 以上 1-3 口全是串行接口。以上接口的引线外皮全是网状金属屏蔽线,而且接“地”,目的是防静电,因为静电的高电压极易损坏电脑集成电路片。 有一次,我陪朋友到电脑城购兼容电脑,店中的技师胆子真大,我提醒他显卡不能热拔插,他说没事,当时就损坏了一片显卡,好在显卡在隔壁店拿的,保修期内换之;他又对 SATA 硬盘热拔插,我也提醒他不可为之,他仍不听,当时损坏一只硬盘,他问我 SATA 硬盘不是能热拔插?怎么坏了?我说因为电脑内部 SATA 口硬盘线没有静电保护金属屏蔽线,是静电高压将硬盘的集成电路片击穿损坏的。 我也看到过电脑打字店,热拔插打 LPT 打印机损坏主板的;也看到他们热拔插 PS2 口的鼠标损坏主板的。当然不是每次全会损坏,但肯定有损坏的危险! 请朋友们注意,除了以上三种接口外,电脑所有的接口全不能热拔插!
个人分类: 人工开物|5739 次阅读|1 个评论
[转载]USB的发展历程
lilyhuang 2012-2-7 08:48
1996年,家喻户晓的通用串行接口(USB1.0)初次问世,它可以支持低速(LS)模式和全速(FS)模式,分别提供1.5Mbps和12Mbps的速率。 2000年,USB2.0面市,其新的高速(HS)模式可提供高达480Mbps的速率,并且依然向下兼容低速模式和全速模式。 2008年11月,USB3.0规范发布。USB3.0不仅包含USB2.0的全部功能(HS、FS和LS),而且可提供名为超高速(SuperSpeed)的单独的全新超高速数据链路。超高速链路为下载(从主机到设备,被称为发送方向)和上传(从设备到主机,被称为接收方向)提供了单独的差分数据线路。超高速模式可提供的最高数据率为5Gbps。
个人分类: collect|1488 次阅读|0 个评论
USB驱动移植
chrujun 2010-6-6 01:29
LINUX下USB驱动移植 仇洁婷,陈儒军 在 Linux2.6 内核中有支持 USB 读写的驱动程序,需要选上相应的配置即可。 1 、让内核支持热插拔 General setup --- Support for hot-pluggable devices 2 、 USB 驱动设置 Device Drivers --- Generic Driver Options --- * Hotplug firmware loading support Block devices --- * Low Performance USB Block driver SCSI device support --- * SCSI generic support Probe all LUNs on each SCSI device USB support --- * Support for Host-side USB USB device filesystem---- * OHCI HCD support * USB Mass Storage support 3 、 加入了 MSDOS fs 和 VFAT fs 的支持。 File systems --- DOS/FAT/NT Filesystems --- * MSDOS fs support * VFAT (Windows-95) fs support (437) Default codepage for FAT (iso8859-1) Default iocharset for FAT * NTFS file system support NTFS debugging support NTFS write support 4 、加入分区支持 File systems --- Partition Types --- Advance Partition Selection 由于本系统采用的是 PQFP 封装 AT91RM9200 ,该芯片只有一个 usb 主端口,而 usb 从端口是不能用。在 Linux2-.6.21 启动时会有以下错误提示: new low speed USB device using at91_ohci and address 2 修改方法: 在 /linux/arch/arm/mach-at91/board-dk.c 文件,将 usb ports 值改为 1 ,则显示有一个 usb 端口。 static struct at91_usbh_data __initdata dk_usbh_data = { .ports =1,// 2, }; 最后是重新生成 uImage ,烧写内核。 挂载 USB 命令,将 USB 目录挂载到 /mnt/usb : mount -t vfat -o /dev/uba1 /mnt/usb 卸载 usb 命令: umount /mnt/usb
个人分类: 地球物理及仪器|6281 次阅读|1 个评论
如何用C-free4.1编程实现对USB摄像头的图像读取
丁dot 2009-3-26 15:21
问题如题目,关键是几个头文件不知从何处获得,悔不该当初没有好好将C练习到工程上哈,只会简单的Hello!
个人分类: 求助|3697 次阅读|0 个评论

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-23 15:22

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部