background image

 

OPS-UM-001-C User Manual 

OmniPreSense Corporation 

API Commands 

The following are the API commands supported by the OPS242-A.  These commands can be sent by typing 
into the command terminal to change settings on the module or control its operation.  The commands 
provided include simple queries to fetch information about the sensor and it settings or write commands 
which control or change the operation of the sensor. 

 

Module Information

 

 returns information about the sensor 

and it’s report setting.

 

Command 

Name 

R/W 

Value 

?? 

Module Information 

Read 

{"Product":"OMPS242A"} 
{"Version":"1.2.0"} 
{"SamplingRate":10000, "resolution":0.0607} 
{"Clock":"20054"} 
{"PowerMode":"Continuous"} 

 

Sensor Part Number

 

 returns sensor model number consisting of OmniPreSense ACPI vendor ID and 

part number. 

Command 

Name 

R/W 

Value 

?P 

Sensor Part Number 

Read 

{"Product":"OMPS242A"} 

 

Firmware Version

 

 returns current firmware version of the sensor.  Firmware version consists of a 

major revision, minor revision, and patch revision in the form of xx.yy.zz. 

Command 

Name 

R/W 

Value 

?V 

Firmware Version Number 

Read 

{"Version":"1.2.0"} 

?B 

Firmware Build Number 

Read 

{"Build":"20180705_1500"} 

 

Speed Output Units

 

 read or set the units for the velocity output.  Units supported include m/s 

(default), cm/s, ft/s, km/hr, and miles per hour. 

Command 

Name 

R/W 

Value 

U? 

Current Velocity Units 

Read 

{"Units":"m-per-sec"} 

UC 

Centimeters per second 

Write 

{"Units":"cm-per-sec"} 

UF 

Feet per second 

Write 

{"Units":"ft-per-sec"} 

UK 

Kilometers per hour 

Write 

{"Units":"km-per-hr"} 

UM 

Meters per second 

Write 

{"Units":"m-per-sec"} 

US 

Miles per hour 

Write 

{"Units":"mph"} 

 

 

 

Summary of Contents for OPS242

Page 1: ...ions The OPS242 provides a complete radar module on a single board The coverage area or field of view FOV for the OPS242 is 76 in the azimuth horizontal and elevation vertical Install the OPS242 facin...

Page 2: ...configuration window such as in Figure 2 or Figure 3 will appear TeraTerm can detect the active COM port greyed out to right of Serial button if TCP IP is selected Select the Serial button and press...

Page 3: ...OPS UM 001 C User Manual OmniPreSense Corporation 3 Figure 4 Streaming Data with Tera Term Figure 5 Streaming Data with PuTTY...

Page 4: ...Output Or Off Speed Report OS On Time Report Ot Off Module Power PA Active Operating Range The maximum speed reported is determined by the Sampling Frequency For slow moving objects a sample rate of...

Page 5: ...ber returns sensor model number consisting of OmniPreSense ACPI vendor ID and part number Command Name R W Value P Sensor Part Number Read Product OMPS242A Firmware Version returns current firmware ve...

Page 6: ...rted The buffer size influences the report rate and accuracy A buffer size of 512 will have a report rate between 5 30Hz The accuracy becomes worse by a factor of two with a 512 buffer size versus 102...

Page 7: ...orts outbound direction R Clear Direction Control Write Reports both directions Frequency Control use this setting to set the desired transmit frequency Set n to a positive or negative number between...

Page 8: ...te Turn the LEDs on OL or off Ol Turning off the LED s can save approximately 10mA of current consumption On Number Reports Write Define how many reports to provide n is a number between 1 and 9 The n...

Page 9: ...powered down for further power savings PP Single Shot Mode Write Use this mode to capture and process a single buffer of data The module will stay in PP mode until either a PA or PI command is given...

Page 10: ...umbers are least sensitive Command Name R W Value QI Squelch Control 100 Write Highest sensitivity setting QV Squelch Control 500 Write QX Squelch Control 1 000 Write QL Squelch Control 5 000 Write QC...

Page 11: ...cian for help FCC 15C Statement This device complies with Part 15 of the FCC Rules Operation is subject to the following two conditions 1 this device may not cause interference and 2 this device must...

Page 12: ...not approved any changes or modifications to this device by the user Any changes or modifications could void the user s authority to operate the equipment The final product containing the modular tran...

Page 13: ...M 001 C User Manual OmniPreSense Corporation 13 Revision History Version Date Description A July 9 2018 Initial release B August 10 2018 FCC language added C August 27 2018 Correction to frequency cha...

Reviews: