XN02 - Digital Outputs

X-NODE digital outputs is a SoM (System on module) with 8 surface mount indicator LEDS built-in, 8 digital output pins and GND pin.

It possesses wide-angle LED’s, heat dissipation of 40mW, a current draw of 20mA each and an operating temperature range from 0 °C hasta 80 °C. This X-NODE is ideal for general purpose indicator, to display device states or to send digital signals to different components like actuators.

TABLE OF CONTENTS

I. How does it work?

The X-NODE Digital Outputs is a SoM (System on Module) that possess all the necessary hardware components to generate digital signals built-in, therefore technical knowledge of hardware is not needed in order to use it, it communicates with MCU’s using a 2 Wire I2C serial interface or through ASCII commands using a UART serial interface, the latter allows this X-NODE to be compatible with virtually any system that uses a microcontroller, microprocessor, or even industrial equipment.

The X-NODE Digital Outputs is compatible with the mikroBUS™ standard, that enables its use with Mikroe® development ecosystem with 1000+ click boards and development boards including X-NODE devices. It also comes with two 4-pin JST connectors compatible with Sparkfun’s Qwiic connection system to expand its compatibility even further in a fast and easy way.

II. Layout

  1. External digital output port.

  2. Indicator LED´s.

  3. 4-pin JST Qwiic connect connector.

  4. Hardware controller unit.

  5. UART<>I2C serial ports.

  6. X-NODE model.

  7. X-NODE type.

  8. mikroBUS™ connector.

  9. Hardware revision.

  10. Core component name of the X-NODE device

III. Specification

IV. Pinout

This table shows how the pinout on X-NODE Digital Outputs corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

V. Device operation

The X-NODE device can operate using ASCII commands through the UART serial port or through I2C protocol for advanced users.

UART Protocol

To communicate to the device the X-NODE’s ID must be known, this ID is composed of the device model, which is written on the device itself (see Layout section), and a user defined index made up of a single uppercase letter of the alphabet , i.e., this X-NODE id starts with “XN02” and ends with a character, by default this character is the letter “A”, there can be up to 10 devices of the same type connected simultaneously, remember to set up their INDEX before connecting them in the same circuit.

UART settings

Configure the serial port/MCU UART generator to the following settings.

  • Baud rate: 115200 bps.

  • Parity: No parity.

  • Data bits: 8.

  • Stop bits: 1.

List of commands

Once the device is connected send any of the following commands, every command must finish with <CR+LF>, which means followed by , is the carriage return character, is the line feed character, which corresponds to character 13 & character 10 respectively on the ACII table. Configure your serial port/MCU to send these characters at the end of every command.

I2C protocol.

To communicate with the X-NODE the I2C address must be known, by default this address are the digits on the X-NODE model which can be found on the device itself (see Layout section).

I2C settings:

  • Max communication speed: 100 kHz

  • Address: 7 bits

Note: make sure there isn’t other device with the same address connected, if needed, change the X-NODE I2C address using ASCII commands (see UART protocol section).

Reading:

VI. Downloads

Last updated