Can I connect two micro controllers and program it?

Thread Starter

listedunlisted

Joined Apr 15, 2010
6
I have a PIC 2 PLUS Demo board. I am using C language and embedding it on the microcontroller. Now I have a AL5A robotic arm. The robotic arm has servo motors that need to be connected to the servo-motor-controllers on the SSC-32 micro controller board provided by Lynx Motions.

Can I connect the two boards together using a Male-to-male serial adapter and send the code from the computer to the PIC 2 Plus Demo board to the SSC-32 micro controller board?
 

retched

Joined Dec 5, 2009
5,207
Sure, you can do whatever you would like.

Use the first PIC to do the communications with the PC, then send any information that is relevant to the second PIC to it via a communications protocol that is native to those chips. I2C or CAN or USB or ETHERNET, even use a 2 wire serial, or bit-bang it.
 

retched

Joined Dec 5, 2009
5,207
Ahh. I see now.

Well, still. There are just wires in there.

So you can still use that cable, and decide WHAT to send down it.
 

t06afre

Joined May 11, 2009
5,934
The PIC 2 PLUS Demo board has a RS232 serial port. Serial communication can sometimes be tricky. Then it comes to the cable. Check the pin configuration on each end. So you are sure your cable will work. The standard then it comes to RS232 connectors, is no standard at all
 
Top