banner_graphic Home navbar1 Home About Us Contact Us
navbar2 Radar Lidar Video & Imaging Signs & Trailers Store Service & Support

Service & Support

   

Español

Toll-free (888) 689-9222   /   International 1-270-685-6545
Email MPH


Service Locations


Locate a Service Center
Become a Service Center
 

Classes


Class Schedule
 

Tools


Return for Repair
Brochure Catalog
MPH Radar Protocol

MPH Radar Protocol:


In consideration of other manufacturer's that would like the ability to interface with our
MPH Industries radar units, we are providing the protocol of our units. Please feel free
to use this information.

1  Speed Packet Protocol

The Radar message packet consists of 7 bytes @ 1200 baud, no parity, 8 data bits, 1 start bit.

Messages are paced at 250mS intervals and are sent whether there is a target or not.

Char  Description
1STX  Start of message
2Status  Radar status, as defined below
3Patrol  Speeds in binary from 4 to 255, Speed values below 4 are treated as zero.
4Target   
5Lock   
6Alt  Alternate speed, as defined below
7ETX  End of message

1.1  Radar status byte

Bit  Description / function if set
0  Low voltage error
1  Radio frequency interference error
2  Front antenna
3  Rear antenna
4  Moving mode
5  Alternate mode (fastest or slow)
6  Opposite direction mode
7  Always set (Indicated a speed packet)

Neither antenna being selected indicates standby.

Both antennae selected indicates a self-test is in progress. Test results are not sent, the radar either returns to normal operation if successful or ceases communication in the event of failure.


1.2  Alternate Speed

If the alternate mode bit is set, the alternate speed should be displayed. This will be fastest if in opposite direction or slow if in same direction.


1.3  Message Receipt

Each message received should be time stamped and removed after 1 second if it has not been replaced by a new message. The only exception is the self-test message, which allows 8 seconds for the test to complete.


1.4  Example

Received sequence: 0x02, 0xF4(244), 0x32(50), 0x63(99), 0x4B(75), 0x01, 0x03

This would indicate:

  • Front antenna
  • moving mode
  • fastest mode
  • opposite direction mode
  • patrol speed of 50
  • strongest target at 99
  • locked speed of 75
  • no fastest target (since the value is less that 4)


2  Recommendations for remote displays (sign boards) or dataloggers

  • Look first to the lock speed, if it is 4 or above display it otherwise display the target speed.
  • If messages are not arriving, blank screen after a few seconds. The radar is probably off, or not connected.
  • With the "approach only" antenna, ignore the status byte.
  • We recommend some displayed difference between the sign receiving a speed of zero and not receiving a message at all. This makes troubleshooting easier. We display a dot if communications are working.


3  Pinout Description

The following is the pinout for the Python, Speedgun and BeeIII communications connector.

Pin  Description
9  +12 VDC
5  Ground
2  TxData
3  Rx Data