OPS-UM-001-C User Manual
OmniPreSense Corporation
2
Terminal Control
A simple Command Terminal can be used to control the sensor operation with the API commands.
Examples of simple but very useful Command Terminals are
Tera Terminal
and
PuTTY
. Both are free, open
source terminal tools for the PC/Mac which can easily connect to a serial port and accept data over USB
from the OminPreSense sensor.
To begin using the OmniPreSense module, first download Tera Terminal or PuTTY onto your PC/Mac. With
the OmniPreSense sensor plugged into the USB port of your PC/Mac, start Tera Terminal or PuTTY. A
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 OK. For
PuTTY, you’ll need to know which COM port is used, set its value, select the Serial button, and Open.
Figure 2. Tera Term Startup Menu
Figure 3. PuTTY Startup Menu
Once connected, the data reported by the sensor will start streaming to the terminal when an object in
motion appears. The default settings are shown in Table 1. If there is no object moving in front of the
module, no data is reported or streamed to the terminal. A simple wave of the hand will show data like
that shown in Figure 4. Any of the API commands can now be executed to change the output data or
query the configuration.