Dear all,
I have a device to which I want to connect PC. However, the byte format is as follow.
9600 NRZ: 1 start bit, 8 data bit, 1 mode bit, 1 stop bit
(Total 11 bits and the mode bit is set for indicating address byte or data byte.)
I tried to read the signal in VB with function Mscomm but it didn't work as 9 data bits can't be read while MSComm1.Settings="9600,N,8,1" Pls. help.
Enclosed are 2 circuit diagrams for connecting the device to AT89C52 and to PC.
Actually I am not sure why there are 4N26 and the transister between the port of the device and the AT89.
Thx + regards
Ken
I have a device to which I want to connect PC. However, the byte format is as follow.
9600 NRZ: 1 start bit, 8 data bit, 1 mode bit, 1 stop bit
(Total 11 bits and the mode bit is set for indicating address byte or data byte.)
I tried to read the signal in VB with function Mscomm but it didn't work as 9 data bits can't be read while MSComm1.Settings="9600,N,8,1" Pls. help.
Enclosed are 2 circuit diagrams for connecting the device to AT89C52 and to PC.
Actually I am not sure why there are 4N26 and the transister between the port of the device and the AT89.
Thx + regards
Ken