Introduction
| SKU | Description | Operating temperature |
|---|---|---|
| NLEUG016A | LEO CG 16 Channel USB GPIO Module - CG16A | -40 ℃ to 85 ℃ |
The Numato Lab LEO CG16A is a 16-channel USB GPIO module designed for digital input monitoring, digital output control, and analog signal acquisition. It supports 16 high-voltage digital inputs, 16 high-voltage digital outputs, and 8 configurable 3.3V GPIOs multiplexed with 8 analog input channels.
The module connects to a computer through USB and can be controlled using simple text-based commands. It also supports standalone automation features, including Smart Actions, GPIO timers, and I/O failsafe control.
This quick-start guide explains how to connect the module, access its USB command interface, and perform basic input/output operations.
Key Features
- 16 high-voltage digital inputs supporting signals up to 24V DC.
- 16 high-voltage digital outputs supporting up to 24V DC.
- 8 configurable 3.3V GPIOs multiplexed with 8 analog inputs.
- 2 PWM Channels multiplexed with GPIOs.
- USB connectivity with a human-readable command interface.
- Smart Action Engine for standalone automation.
- GPIO timer and I/O failsafe functionality.
- DIN rail mounting compatibility.
What's in the Box
Your Numato LEO CG 16 Channel USB GPIO Module package includes:
- LEO CG 16 Channel USB GPIO Module
- USB-C Cable.
Note: A suitable DC power supply is required to power the GPIO Module and is not included with the package.
Getting Started with LEO CG 16 Channel USB GPIO Module (CG16A)
Step 1 – Connect the Power Supply
Connect a suitable 12V DC, 1A power supply to the module’s DC power jack.
Ensure the supply polarity and voltage are correct before powering on the module.
Step 2 – Connect the USB Cable
Connect the module to your computer using a USB Type-C cable.
The USB connection provides access to the command interface. The module’s digital I/O circuitry also requires the appropriate external power supply.
Step 3 – Check the LED Indicator
After powering on the module, check the onboard LED.
- Solid Red: The device is powered on and ready for use.
- Brief OFF/ON transition: The device is restarting.
- Blinking Red: A factory reset is in progress.
Step 4 – Install the Driver (Windows Only)
If you are using Windows and the device is not automatically recognized, install the Numato Lab CDC driver available from the product page.
After installation:
- Open Device Manager.
- Expand Ports (COM & LPT).
- Identify the COM port assigned to the module.
Linux and macOS generally provide the USB CDC driver by default. The device should appear as a serial port.
Step 5 – Open the USB Serial Interface
Open a serial terminal application such as:
- Windows: Tera Term or PuTTY.
- Linux: GNU Screen or PuTTY.
- macOS: CoolTerm or the
screencommand.
Select the serial port assigned to the module. Use the serial communication settings specified in the user manual or the device’s applicable firmware documentation.
You can now send commands to the module through the terminal.
Test the Module
The following examples demonstrate basic operations using the USB command interface.
Check the Firmware Version
Enter:
ver
The module returns its current firmware version.
Read a Digital Input
Enter:
gpi read 000
This reads digital input channel 0.
To monitor input changes automatically, refer to the gpi notify commands in the user manual.
Control a Digital Output
To set digital output channel 0 HIGH:
gpo set 000
To set digital output channel 0 LOW:
gpo clear 000
To check the output state:
gpo status 000
Note: The digital outputs are controlled through the GPO command set. Ensure that the output wiring and connected load comply with the module’s electrical specifications.
Read an Analog Input
Enter:
adc read 000
This reads analog input channel 0 and returns a digital value representing the measured analog signal.
The ADC uses 10-bit resolution. Refer to the user manual for analog input channel mapping and the permitted input voltage range before connecting a signal.
Test the Low-Voltage GPIOs
The module also provides configurable 3.3V GPIOs. These can be configured as inputs or outputs and controlled through the gpio command set.
For example:
gpio read 000
This reads GPIO channel 0.
Refer to the user manual for GPIO direction configuration and the supported commands for setting, clearing, and reading GPIO states.
Test the PWM Outputs
The module provides two configurable PWM channels that allow you to generate pulse-width modulation (PWM) signals with adjustable frequency and duty cycle. These outputs can be configured and controlled through the pwm command set.
For example:
pwm freq 000 1000
Sets the frequency of PWM channel 000 to 1 kHz.
pwm duty 000 50
Sets the duty cycle to 50%.
pwm on 000
Enables the PWM output on channel 000.
You can also check the PWM output status or disable individual channels using the corresponding PWM commands.
Note: PWM channels 000 and 001 are multiplexed with GPIO 6 and GPIO 7, respectively.
What's Next?
Your LEO CG16A USB GPIO Module is now connected and ready for basic testing.
For more advanced functionality, including the following, refer to the full user manual:
- Complete command reference.
- Digital input and output configuration.
- GPIO direction and power-on settings.
- Smart Action Engine configuration.
- Digital output timers.
- I/O failsafe configuration.
- Driver installation and troubleshooting.
User Manual: LEO CG 16 Channel USB GPIO Module User Manual [CG16A]
Product Page: LEO CG16A USB GPIO Module