a*******r 发帖数: 7558 | 1 我把苹果的USB键盘连上USB to RS232 converter,再把RS232(DB9)上的
3号针(transmit data)和5号(地)接到示波器上,在trigger mode下看,
按理说按键盘应该能看到所按键的ASCII码波形,可就是没有。
可能是哪里的问题? |
l***g 发帖数: 1035 | 2 where do u get power to the keyboard?
【在 a*******r 的大作中提到】 : 我把苹果的USB键盘连上USB to RS232 converter,再把RS232(DB9)上的 : 3号针(transmit data)和5号(地)接到示波器上,在trigger mode下看, : 按理说按键盘应该能看到所按键的ASCII码波形,可就是没有。 : 可能是哪里的问题?
|
a*******r 发帖数: 7558 | 3 键盘接到开着的电脑上
【在 l***g 的大作中提到】 : where do u get power to the keyboard?
|
i*****t 发帖数: 24265 | |
l***g 发帖数: 1035 | 5 if your keyboard is connected to the computer, where do you look at the sign
al? clarify your configuration.
usb and ps2 both have power supply line in the pin def. rs232 usually do not
have it.
keyboard needs 5v power.
【在 a*******r 的大作中提到】 : 键盘接到开着的电脑上
|
a*******r 发帖数: 7558 | 6 USB键盘自带的USB连线接到苹果机上(开机状态),键盘自身还有2个USB口,用于插U
盘之类的。
我把USB_to_RS232转换口的USB一端插入其中一个口,然后在9针232一端测电压,pin3
和5之间是-5V. 可敲键盘后在示
波器上看不到ASCII波形。
sign
not
【在 l***g 的大作中提到】 : if your keyboard is connected to the computer, where do you look at the sign : al? clarify your configuration. : usb and ps2 both have power supply line in the pin def. rs232 usually do not : have it. : keyboard needs 5v power.
|
l***g 发帖数: 1035 | 7 those two usb's are not echo port. i don't think your setup would give you a
nything from the keyboard. you need to poke the usb between the keyboard and
the computer if you want to see anything.
U
pin3
【在 a*******r 的大作中提到】 : USB键盘自带的USB连线接到苹果机上(开机状态),键盘自身还有2个USB口,用于插U : 盘之类的。 : 我把USB_to_RS232转换口的USB一端插入其中一个口,然后在9针232一端测电压,pin3 : 和5之间是-5V. 可敲键盘后在示 : 波器上看不到ASCII波形。 : : sign : not
|
c*b 发帖数: 3126 | 8 ASCII数据只会往上行PC端送,怎么可能会从附带的USB口上出来
PC
| |
a*******r 发帖数: 7558 | 9 明白了
谢谢你和leong等诸位!
【在 c*b 的大作中提到】 : ASCII数据只会往上行PC端送,怎么可能会从附带的USB口上出来 : : PC : |
|
d*e 发帖数: 999 | |
a*******r 发帖数: 7558 | 11 我还奇怪没人问这个呢
EE盲,自学没成才的
【在 d*e 的大作中提到】 : 忍不住说一句,这也是学EE的?
|