Welcome to Firefly
English
Firefly Docsss
Last Updated: 2026-12-02 14:46:25

IO Usage

The AIBOX-9075-KIT provides 6 IO input channels (IO in) and 6 IO output channels (IO out).

IN

Hardware

INx, where x is the 1, 2, 3, 4, 5, 6 of IO-IN; IN_COMx, where x is the C1, C2, C3, C4, C5, C6 of IO-IN. INx can be driven by an external power supply with a current limiting resistor, or by an external GPIO driver. Pay attention to the magnitude of the current.

Software

NameGPIO Number
IO_IN 1675
IO_IN 2682
IO_IN 3680
IO_IN 4681
IO_IN 5690
IO_IN 6688

For example, to operate IO_IN (GPIO number is 675), run as root user:

echo 675 > /sys/class/gpio/export
cd /sys/class/gpio/gpio675
echo in > direction
cat value

OUT

Hardware

OUTx, where x is the 1, 2, 3, 4, 5, 6 of IO-OUT; OUT_COMx, where x is the C1, C2, C3, C4, C5, C6 of IO-OUT.

Software

NameGPIO Number
IO_OUT 1686
IO_OUT 2692
IO_OUT 3694
IO_OUT 4696
IO_OUT 5678
IO_OUT 6679

For example, to operate IO_OUT (GPIO number is 686), run as root user:

echo 686 > /sys/class/gpio/export
cd /sys/class/gpio/gpio686
echo out > direction
echo 0 > value
echo 1 > value

On this page