Skip to Content

Ardbox Q · Arduino UNO Q · 12 to 24 Vdc · Linux and real time

Ardbox Q: technical features

Technical reference of the Ardbox Q, the industrial PLC with Arduino UNO Q from Industrial Shields: AD and ADR models, two-processor architecture, programming, power supply, switches and jumpers, inputs and outputs, relays, RS-485, RS-232, SPI and wireless.

Power supply
12 to 24 Vdc, 20 W max
Programming
Arduino IDE, Arduino App Lab
Communications
RS-485, RS-232, SPI, Wi-Fi 5, Bluetooth 5.1
Processors
STM32U585 + QRB2210 with Debian

Ardbox Q overview

What is the Ardbox Q#

Ardbox Q industrial PLC with Arduino UNO Q for DIN rail

The Ardbox Q is an industrial DIN rail PLC with an Arduino UNO Q inside. It has two processors: an STM32U585 microcontroller for real-time control and a Qualcomm Dragonwing QRB2210 running Debian Linux for dashboards, data gateways and logging.

There are two versions, each with 2 GB or 4 GB of RAM: AD, with analog and digital inputs and outputs, and ADR, with relay outputs.

Models and I/O#

ModelInputsOutputsMemoryReference
Ardbox Q AD10: 4 digital, 6 analog or digital10: 7 digital/PWM or analog, 1 digital/PWM, 2 digital2 GB RAM + 16 GB eMMC001000000100
Ardbox Q ADSame as aboveSame as above4 GB RAM + 32 GB eMMC001003000100
Ardbox Q ADR10: 4 digital, 6 analog or digital10: 8 relay, 2 analog2 GB RAM + 16 GB eMMC001000000200
Ardbox Q ADRSame as aboveSame as above4 GB RAM + 32 GB eMMC001003000200

Where a terminal can do two things, you choose one: the functions do not add up.

Know-How: Choosing a PLC 1: count the I/O and leave spare · Choosing a PLC 2: which communications do you really need

Two processors: real time and Linux#

PartSpecificationRole
Real-time microcontrollerSTM32U585, Cortex-M33, 160 MHz, 2 MB flash, 786 kB RAMI/O control, Arduino sketches
Application processorQualcomm Dragonwing QRB2210, 4 x Cortex-A53, 2.0 GHzDebian Linux: dashboards, gateways, logging

The real-time side runs the Arduino sketches. From a computer, the Debian side is reached over USB-C with ADB (Android Debug Bridge).

Installation and setup

Programming: Arduino IDE and App Lab#

Program the Ardbox Q with the Arduino IDE or Arduino App Lab. In the Arduino IDE, add the Industrial Shields boards package:

  • File › Preferences › Additional boards manager URLs: add the Industrial Shields boards package link.
  • Tools › Board › Boards Manager: search for industrialshields and install it.
  • Tools › Board: select the Ardbox Q model.

Set the switches and jumpers before the first program: see Ardbox Q switches and jumpers. Code examples for every input, output and port are in Ardbox Q I/O and communications.

Know-How: Upload fails: 6 checks before blaming the code · Arduino IDE compile error: 6 checks before the code

Power supply: 12 to 24 Vdc#

ParameterValue
Rated supply voltage12 to 24 Vdc
Operating range11.4 to 25.4 Vdc
Power consumption20 W max
Input protection2.5 A fuse, reverse polarity

A higher voltage can damage the controller irreversibly. The analog outputs need a 24 Vdc supply for the full 0-10 V range. Grounds of the different systems are not galvanically isolated: connected devices must share the same ground reference or use galvanic isolators.

Switches and jumpers#

Some pins of the Arduino UNO Q have two functions. DIP switches and jumpers inside the Ardbox Q choose which one is connected. Use one function per pin.

ModelShared pinsChoose one
AD and ADRSerial portRS-485 or RS-232 (jumpers)
AD and ADRRS-485 modeHalf duplex or full duplex (HD/FD switch)
ADQ0.0-Q0.6Digital/PWM output or analog output A0.0-A0.6 (switches)
ADI0.8-I0.9Inputs or RS-485 control (switches)
ADQ0.8-Q0.9Outputs or serial port, RS-485 or RS-232 (switches)
ADRI0.4-I0.5Inputs or RS-485 control (switches)
ADRR7-R8Relays or serial port, RS-485 or RS-232 (switches)
ADRA0.0-A0.1Analog outputs or RS-485 full duplex Y+/Z- (jumpers)

I0.0 shares its pin with the PIN2 terminal, and Q0.6 (AD) or R5 (ADR) with PIN3. Full tables with every switch position: Ardbox Q switches and jumpers.

Mounting, size and environment#

ParameterValue
MountingDIN rail, inside a cabinet
Size (W x H x D)AD: 45 x 115.3 x 119 mm · ADR: 45 x 115.7 x 119 mm with terminal blocks; enclosure 45 x 101 x 119 mm
Weight390 g max
Operating temperature0 to 60 °C
Storage temperature-20 to 60 °C
Humidity10 to 90 %, non-condensing

It is an open-type controller: install it in a cabinet with access limited to authorised personnel, 25 cm away from other components. Leave extra room for cable bending.

Inputs and outputs

Digital inputs#

TerminalsTypeRange
I0.0-I0.1Digital, optically isolated5 to 24 V
I0.2-I0.3Digital, not isolated, 30.3 kΩ7 to 24 V

Rated voltage of the digital inputs is 24 V. The analog inputs can also work as digital inputs.

Know-How: Digital input not reading: NPN or PNP, step by step

Analog inputs: 0 to 10 V, 14-bit ADC#

ModelTerminalsAnalogDigital
ADI0.4-I0.70 to 10 V, 30.3 kΩ7 to 24 V
ADI0.8-I0.90 to 10 V, linear up to 25.7 V, 78 kΩ24 V (max 26.4 V)
ADRI0.4-I0.50 to 10 V, linear up to 25.7 V, 78 kΩ24 V (max 26.4 V)
ADRI0.6-I0.90 to 10 V, 30.3 kΩ7 to 24 V

The analog inputs are not isolated. Arduino reads 10 bits by default; set 12 or 14 bits in the program. On the inputs with a 25.7 V full scale, read at 12 or 14 bits for good precision in 0-10 V.

Know-How: 4-20 mA input reading wrong: check it step by step · Scaling a 4-20 mA signal in the PLC: formula, constants and code

Analog outputs: 0 to 10 V#

AD: Q0.0-Q0.6 (A0.0-A0.6) work as analog outputs when selected by switches. ADR: A0.0-A0.1, when selected by jumpers.

0 to 10 V, 5 mA per output (load of 2 kΩ or more), not isolated. Resolution is 8 bits by default and up to 12 bits in the program. The full 0-10 V range needs a 24 Vdc supply.

Digital and PWM outputs (AD)#

TerminalsFunctionRating
Q0.0-Q0.6Digital/PWM or analog, selected by switches5 to 24 V, 70 mA, optically isolated, PWM 500 Hz
Q0.7Digital/PWM5 to 24 V, 70 mA, optically isolated, PWM 500 Hz
Q0.8-Q0.9Digital5 to 24 V, 70 mA, optically isolated

Rated voltage of the digital outputs is 24 V. PWM resolution is 8 bits by default and up to 12 bits in the program.

Know-How: Relay or transistor output: which one and how to check it

Relay outputs (ADR)#

R1 to R8: 8 relays with a normally open contact, 3 A at 30 Vdc, isolated by the relay contact. The ADR has no PWM outputs.

Know-How: Relay or transistor output: which one and how to check it

Communications: RS-485, RS-232, SPI, Wi-Fi, Bluetooth

RS-485: half or full duplex#

One RS-485 port, half or full duplex, on A+/B- (and Y+/Z- for full duplex). On the ADR, full duplex uses the A0.0-A0.1 terminals, so those analog outputs are not available at the same time. A 120 Ω termination resistor is fitted on the board, and the Industrial Shields libraries control DE and RE by themselves. The RS-485 takes the pins of I0.8-I0.9 and Q0.8-Q0.9 (AD) or I0.4-I0.5 and R7-R8 (ADR).

Know-How: RS-485: how to check a bus step by step · Modbus RTU timeout: 6 checks before blaming the wiring · Modbus register 40001 or address 0? 6 checks

RS-232#

One RS-232 port on TX/RX. It uses the same serial port as the RS-485 and is selected with jumpers, so only one of the two works at a time. Like the RS-485, it takes the pins of Q0.8-Q0.9 (AD) or R7-R8 (ADR).

SPI and GPIO: 3.3 V#

One SPI port (SCK, MOSI, MISO) and two GPIO pins (PIN2, PIN3), all at 3.3 V logic. The Ardbox Q has no I2C port.

Wi-Fi, Bluetooth and USB-C#

Dual-band Wi-Fi 5 and Bluetooth 5.1, from the Arduino UNO Q. A USB-C port is used to program and connect to the controller.

Ardbox Q resources

Courses, examples and documents#

Ardbox Q FAQ#

What is the difference between the AD and the ADR?

Both have 10 inputs. The AD has 10 transistor outputs, 7 of them can be analog 0-10 V. The ADR has 8 relay outputs and 2 analog outputs.

How do you program the Ardbox Q?

With the Arduino IDE and the Industrial Shields boards package, or with Arduino App Lab. The Debian side is reached over USB-C with ADB.

Can I use RS-485 and RS-232 at the same time?

No. The Ardbox Q has one RS-485 and one RS-232, but only one of them can be used at a time.

Which I/O do I lose when I use the RS-485 or the RS-232?

On the AD, the serial port takes Q0.8-Q0.9, and the RS-485 also takes I0.8-I0.9. On the ADR, the serial port takes R7-R8, and the RS-485 also takes I0.4-I0.5. RS-485 full duplex on the ADR also takes the analog outputs A0.0-A0.1.

Does the Ardbox Q have I2C?

No. It has SPI and two GPIO pins at 3.3 V.

No section matches your search. Try a pin name, a protocol or a component.