The Raspberry Pi can read 26 input signals through the GPIO header, but some projects need to read more! Since all GPIO pins are wired directly to the local processor, some hardware is required to connect them to the real world.
The card has 16 optically isolated digital inputs. Input ranges can be jumper-selected for each channel, from 3V-12V or 12V-48V. Inputs can read both DC and AC signals.
The card communicates with Raspberry Pi using only the I2C port, leaving all the other 24 GPIO pins available for your use. It has also an RS-485 port, a power LED and a push-button that can be used to shut down the Raspberry Pi.
Pluggable connectors make the 1 Inputs card easy to use when multiple cards are stacked up.
Note: Due to print errors on the PCB, a correction label will be applied to the front of the board with the correct ratings.
For any technical questions about this product please email firstname.lastname@example.org
- Compatible with all 40-pin Raspberry Pi boards
- Sixteen universal opto-isolated inputs 3V-48V AC/DC
- Eight layers stackable to 128 inputs
- Pluggable Connectors 30-16 AWG wires
- Jumper selectable ranges, 3-12V/12-48V AC/DC
- Software self-test
- Command Line Driver
- Python Library
- Node-Red nodes
The card is compatible with all Raspberry Pi versions from Zero to the Pi 4. All stacked cards share the I2C bus using only two of the Raspberry Pi’s GPIO pins to manage all eight cards. This feature leaves the remaining 24 GPIOs available for the user.
The card needs 5V to operate and can be powered from Raspberry Pi or from its own 2-pin pluggable connector. The card draws 10mA. If power is applied to the 2-pin pluggable connector, no other power supply is needed for the Raspberry Pi.
Stacking Multiple Cards
Up to eight cards can be stacked on your Raspberry Pi. Each card is identified by jumpers you install to indicate the level in the stack. Cards can be installed in any order. A three-position jumper selects the stack level.
For your convenience, two jumpers are provided with each card.
Reverse Power Supply Protection
The board is protected against accidental reverse power supply with a 5.8A, 39 mOhm MOSFET which breaks the ground line if reverse power is applied.
Shutting down the Raspberry Pi by turning off the power can result in SD Card failure. To prevent this, a shutdown command needs to be used before power cut-off. But this requires a monitor, keyboard and mouse connected to the Pi.
A momentary push-button installed at the edge of the board provides a convenient way to shut down the Raspberry Pi. The button is routed to pin 37 (GPIO 26). You need to write a script that monitors this pin, and if pressed for more than the desired time, issues the shut-down command.
- 1x 16-inputs card for Raspberry Pi
- 4x M2.5x18mm male-female brass standoffs
- 4x M2.5x5mm brass screws
- 4x M2.5 brass nuts
- 4x Mating connector plugs
- 2x Pin jumpers
- Plug your 16-INPUTS card on top of your Raspberry Pi and power up the system.
- Enable I2C communication on Raspberry Pi using raspi-config.
- Install the card software from github.com:
~$ git clone https://github.com/SequentMicrosystems/16inputs-rpi.git
~$ cd /home/pi/16inputs-rpi
~/16inputs-rpi$ sudo make install
~/16inputs-rpi$ 16inputs -h
- The program will respond with a list of available commands.
You can write your own application using the Command Line or Python Library provided. No programming is required if you use the Node-Red nodes we supply. You can drag and drop the functional blocks to design your application. Examples are provided at GitHub.
The card can be tested before installation by running a simple command from the command line. The test LED located at the edge of the board will cycle on and off twice per second indicating that the card is operational.
A standard RS485 transceiver permits the Raspberry Pi to communicate using any protocol including MODBUS, PROFIBUS, camera PTZ control, etc. The transceiver is connected to the serial port of the Raspberry Pi from the GPIO connector, pins 8 (GPIO14, TxD0) and 10 (GPIO15, RxD0). The Rx line is routed through a 2 pin jumper. The jumper needs to be installed in order to use the RS485 port. If the jumper is not installed, both pins can be used as GPIO's
- Power Supply: 5V/8A pluggable connector with reverse polarity protection
- Onboard resettable fuse: 3A
- Opto-isolated Digital Inputs:
- Input Forward Current: Typical 5 mA, maximum 50 mA
- Low Voltage Input Series Resistor: 1.2K
- High Voltage Input Series Resistor: 10K
- Isolation Resistance: Minimum 1012 Ω
Payment & Accreditations