SR50A Sonic Ranging Sensor
- 23 -
3.8.2 Poll command
The poll command is used to obtain the sensor’s output values.
The poll command consists of the
lower case letter “p”
followed by the SR50A address (default 33). The command
must also terminate with a carriage return character (Enter for
hyperterminal).
“pAA<CR>” –
where AA is a two character address and
set from the factory to 33
“p33<CR>” –
Poll command with factory address of 33
3.8.3 Information command
The information command is used to query information from
the sensor that is not associated with the sensor’s output. For
detailed information on the output refer to section 3.9.2.
The information command consists of the lower case
letter “i”
followed by the SR50A address (default 33). The command
must also terminate with a carriage return character (Enter for
Hyperterminal).
“iAA<CR>” –
where AA is a two character address and
set from the factory to 33
“i33<CR>” –
information command with factory
address of 33
3.8.4 Temperature Input command
The temperature input command is used to send the SR50A
version of the sensor a temperature value that is to be used for
temperature compensation. The value sent must be in degrees
Celsius and should not exceed 8 characters.
The command consists of the
lower case letter “t” followed by
the SR50A address (default 33) a semicolon and the
temperature value. The command must also terminate with a
carriage return character (Enter for Hyperterminal).