Hello everyone,
I'm trying to listen and talk to some Panasonic equipment that uses RS485.
The transmitter is a AW-RP400 pan/tilt control panel and the receiver is a AW-PH360N Pan tilt head.
The PH360N is just a pan/tilt head without a camera. My goal is to attach a new Sony or Panasonic 4K camera to this mount and control the camera by Lanc control.
I would like to make a device that connects between the controller and the Pan/ tilt head. That listens for the zoom and focus commands that are normally sent to a attached camera.
Inside the controller is a (Step Technica MKY40) chip (Im assuming its the controller) that is connected to a (ADM148) chip (this is the output driver ) so I know the output is a RS485.
The MKY40 brochure talks about having a CUnet communication that runs at (Communication rate 3/6/12 Mbps (half duplex)) The ADM148 can talk at a maximum rate of 30 Mbps.
So I know the communication rate is somewhere between 3 and 12Mbps.
On the receiving end. The (AW-PH360N) Pan/tilt head has a (MAX1482) chip this has a max data rate of 250kbps
what Iv done so far, I have connected a (MAX485) in line between the 2 devices and then connected to my logic analyzer (dream source lab 16 channel
)
I have just the controller connected at the moment otherwise there is a lot of chatter on the line.
What I see with just the controller connected is what Im assuming is a "ARE U THERE?" message that is 128μs long. And has a 18.365ms gap between the messages.
The shortest pulse is 1μs with a 2μs period. Just after the beginning there is a 3μs pulse with a 7μs period as the largest pulse and at the end a 5μs pulse with a 6μs period.
First I am trying to find that data rate.
From what Iv read online. And I could be wrong you measure the smallest pulse width which is 1μs and multiply it with 10 to the power of 6 = 1,000,000.
so would that mean the data rate is 1Mbps?
My questions for everyone is.
Is there a way of determining if this is a common used protocol? And how would I go about using a Arduino to decode and make use of the chit chat on the line?
Basically I would like to convert whatever the AW-RP400 is talking to Lanc or use servos to control a camera.
Below is a screen shot of the logic analyzer receiving the AW-RP400 data.
Thanks!