Jay.slovak
Active Member
I don't think we should even think of using PCI for this application. Serial will be sufficient for few servos. We should look for the simplyest solution, not for the best looking. 8)motion said:YAN-1 said:ok guys. this is the complete story:
there is a PIC controlling a stepper motor for the steering; there is another PIC controlling the gas and brake pedals for the speed; there will be 2 or 3 PICs connected to sensors around the car, and all these PICs have to send their data to the pentium and receive orders from it all the time. what is the best way to connect the mother board to the PICs?
is it clear?
A single fast PIC can do all that. Try using a PIC18F452 running at 40Mhz clock speed (10Mhz crystal X 4). The problem with using multiple PICs is that although each PIC is running a single task, the overhead for communications will probably rob you of any gain.
The easy way is to use the serial communications port running at the highest baud rate you can set the PIC on. You can also use an RS-232 to RS-422 in a multi-drop arrangement to several PICs. There is also application notes on CAN (controller area network) on Microchip's website.
There are also PCI to microcontroller adapter chips available out there. I can provide a link once I get to the office.
If you can manage to produce a PCI interface, why not control the I/O directly from the PC? Except maybe for the stepper motor controller, you can do I/O directly from the PC port. You may have to write a device driver for the PC operating system however. :shock:
HTH