![]() |
|
Tài trợ cho PIC Vietnam |
||||||||
| English forum on PICs Forum for foreigners -only English in this forum - Do not need to register or login |
![]() |
|
|
Ðiều Chỉnh | Xếp Bài |
|
|
|
|
#1 |
|
Trưởng lão PIC bang
|
If the equipments use RS-232, then the only way to talk to them is via RS-232. That's fine. Your problem can be solved in different ways, depending on the data rate you need.
The baud rate is your communication speed, not the data rate. The data rate is how frequent you want your data. If your data rate is low, like 10 samples/second, then you probably can use some multiplexer to connect the equipments and the host PC to the PIC one-by-one. If the data rate is high and/or control action is fast, then you probably need a couple of PICs connected together. They can talk to each other via different protocols. Cheers,
__________________
Biển học mênh mông, sức người có hạn. Đang gặp vấn đề cần được giúp đỡ? Hãy dành ra vài phút đọc luồng sau: http://www.picvietnam.com/forum/showthread.php?t=1263 thay đổi nội dung bởi: namqn, 09-07-2007 lúc 11:28 PM. |
|
|
|
|
|
#2 | |
|
Guest
Bài gửi: n/a
|
Trích:
Do you have a schematic for that? thanks in advance. |
|
|
|
|
#3 | |
|
Guest
Bài gửi: n/a
|
PIC 16F877 with 3 serial ports
Trích:
Thanks in advance |
|
|
|
|
#4 |
|
Trưởng lão PIC bang
|
For RX signal of PIC, you will need a 3-to-1 multiplexer. For TX signal of PIC, you will need a 1-to-3 demultiplexer.
Have a look at the following links: http://www.play-hookey.com/digital/m...our_input.html http://www.play-hookey.com/digital/d...emux_four.html Remember that you would need 3 separate level shifters (MAX232, for example) in total, when you use commercial multiplexer/demultiplexer chips (because they are logic chips). Sorry I don't have time to create a schematic for you! Cheers,
__________________
Biển học mênh mông, sức người có hạn. Đang gặp vấn đề cần được giúp đỡ? Hãy dành ra vài phút đọc luồng sau: http://www.picvietnam.com/forum/showthread.php?t=1263 |
|
|
|
![]() |
| Ðiều Chỉnh | |
| Xếp Bài | |
|
|