Homepage Wiki Forum Buy

Tutorial Module-Rail-Output


severity (level) requirement Gnublin family
Gnublin logo easy.png All


The modules GNUBLIN rail OUTPUT is an expansion card for the Gnublin to 4 digital outputs to obtain. By the signals are opto isolated. The maximum switching capacity is 1.9A and 30V. It is possible to operate up to 8 cards per system.


Control via gnbulin-pca9555

If you want to get started immediately, so it is recommended to use the program gnublin-pca9555.

Set pin to high:

root@gnublin:~# gnublin-pca9555 -p 8 -o 1

The pins are numbered as follows:

Module-Rail-Input Value for gnublin-pca9555 -p xx
OUT1 8
OUT2 9
OUT3 10
OUT4 11

Control via API

If you want to use Module-Rail-Input in your own program, this is easiest using the PCA9555 class of the API. The pin assignment is the same as the gnublin-pca9555 console program.

In other languages