View Single Post
Old 09-07-2007, 11:18 PM   #7
Toufik
Guest
 
Bài gửi: n/a
PIC 16F877 with 3 serial ports

Trích:
Nguyên văn bởi namqn View Post
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 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,
Thank you very much for your reply, but I want to know how to do to use the multiplexer to connect the equipments, the card (the card with pic16f877 to control 2 stepper motors) and the host PC one-by-one, do you have a schematic for that please.
Thanks in advance
  Trả Lời Với Trích Dẫn