PDA

View Full Version : Please help: Splitting HROUT



luminas
- 29th May 2008, 06:37
I want to connect a HSEROUT pin to 2 PCs, is there any IC/hardware or method how to split the signal?


Thanks

mackrackit
- 29th May 2008, 10:29
Take a look at RS485 . It is a multi-drop. You will need a level converter with HSEROUT to connect to a PC. Instead of a the typical 232 chip, get one for 485.
http://www.lammertbies.nl/comm/info/RS-485.html

Jerson
- 29th May 2008, 14:31
If you just need to send data to 2 PCs, you need not bother with RS485. Just make sure you have the MAX232 on your PIC side to ensure that your RS232 level is within spec. Then take the output of the MAX232 and connect to the RXD pin of each PC. You may connect only 1 TXD pin of any one PC to your MAX232 to get commands to your PIC.

Effectively, what will happen is that whatever your PIC sends will be received by both PCs. What you type on the 1 pc whose TXD is connected to your PIC will be received by your PIC.

mackrackit
- 29th May 2008, 14:57
Hi Jerson,
I did not know that. Was told years ago that 485 was needed for something like this and never tried your solution.
I will try that the next time. Thanks.

Jerson
- 29th May 2008, 17:41
Hi Jerson,
I did not know that. Was told years ago that 485 was needed for something like this and never tried your solution.
This suggestion will work only one way as I explained. So, if your PIC is only sending data, it will work. Unidirectional communication.

mackrackit
- 29th May 2008, 18:51
This suggestion will work only one way as I explained. So, if your PIC is only sending data, it will work. Unidirectional communication.

Understood. A lot of times this is all I need. Thanks again.

luminas
- 30th May 2008, 08:42
Thank you Jerson & Mackrackit.
It is a great information
One more question :
Can I split the PIC HSEROUT output pin to 2 MAX232 ? Or do I need some buffer IC ? Again, this is just one directional serial

Jerson
- 30th May 2008, 10:14
One Max232 should be enough at the PIC end.

mister_e
- 30th May 2008, 17:20
MAX232 have 2 transmitter, 2 receiver. So just connect the 2 transmitter input together and that's it, you have 2 output available.

luminas
- 1st June 2008, 14:52
Thank you Steve :)