Sending data from two controllers to HMI

A

Thread Starter

aditya

hi! i have connected two pic16f887 controllers to a pc via serial cable. i want the data sent by both the controllers to appear on the screen but what i'm getting is that when one controller sends data the other doesn't. maybe there is some programming error.

plz help me through this. i'm making a quiz game system where both the controllers can send the data anytime and i want to read the data sent by both controllers with their corresponding time taken. The two controllers are being used to reply to the question by transmitting a character. i also want to note the time taken by each user at controller end. plz notice that i've to use only rs232.

plz reply!!!
 
The problem is that you're using RS-232, which can not handle 3 devices. RS-232 is, by definition, a point-to-point communications link for only two devices.

Should both your processors attempt to transmit simultaneously, the PC's receive line will have garbage bits on it.
 
Top