Uart comm to control ROV

Thread Starter

thisisweak

Joined Jan 1, 2009
4
Hello, I am on the electronics team building a submersible Remotely Operated Vehicle(ROV). I have accomplished using playstation 2 controller sticks to tell my PIC 16F877A the length of my software PWM for forward/reverse on 3 motors. (left, right, up/down)

Radio will not work underwater so I need wires...with the 3 motors and our arm(my next project) figure we might need as much as 20 control wires!

I am trying to split my program into 2 parts and have UART (or is it USART) communication to limit the ammount of wires...I am currently really confused and would appreciate any help.

I am using CCS pic compiler

files are attached...

thank you

matt
 

Attachments

beenthere

Joined Apr 20, 2004
15,819
If you place a PIC in the ROV, you will find that the cabling gets to be less - use something like I2C or some serial communications protocol.
 

Thread Starter

thisisweak

Joined Jan 1, 2009
4
I am sorry...perhaps I did not explain well... yes one microcontroller will be at the controls...one microcontroller will be on the rov...I am having trouble getting the pic's communicating
 
Top