张三叔

USB switch, one device can be connected to two hosts

 
Overview
It has been board-tested and has been used for half a month. It has no bugs.
I
have two computers at home. It is too troublesome to have 2 keyboards and 2 mice on the table. So I made a USB switch, and a set of keyboard and mouse can be time-shared for two computers. Because the wireless keyboard and mouse set only requires one receiver, the CH440 only uses one channel.
Features:
Use microcontroller to control switching timing.
In order to ensure that USB devices can be enumerated normally when switching from one host to another, the power supply of the device will be controlled by the microcontroller. When switching, power off first and then power on after a delay to ensure the best compatibility.
There is only one button on the board, press it to switch the host.
Switching process: Disconnect the power supply of the device -> usb data line high resistance -> delay -> restore power supply -> connect the usb data line to another host microcontroller
program
https://gitee.com/xiaowuzxc/usb-switcher
If you use the same A microcontroller that can directly program accessories
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-22 13:12:41

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号