8 Digital Input Module

  • 8 Digital Input PiloT Module
  • 5-30V Input Voltage
  • Switching on 1/2 of the reference voltage with hysteresis
  • Jumper: internal (5V or 24V) or external (5-30V)
  • Possible configurations: Input-Module (GPIOs) or Counter (Interrupts)
  • Available with pin-header or pluggable spring-cage connector

Technical Specifications

  • Size: 36.6mm x 29.8mm (1.441in x 1.173in)

8 Input module with header connector

Pinout

How to use

First, connect the module and configure it using the pilot-config tool For a getting started Tutorial on the PiloT Platform in general visit http://amescon.com/pilots/getting-started/ When the driver is configured, you can use the Inputs like regular GPIOs on the Raspberry Pi. If it is the first GPIO module on the PiloT, the base address would be 55. So the GPIOs are 55-62 (I0-I7).

Export the IOs

echo 55 > /sys/class/gpio/export && 
echo 56 > /sys/class/gpio/export && 
echo 57 > /sys/class/gpio/export && 
echo 58 > /sys/class/gpio/export && 
echo 59 > /sys/class/gpio/export && 
echo 60 > /sys/class/gpio/export && 
echo 61 > /sys/class/gpio/export && 
echo 62 > /sys/class/gpio/export

Output current value of all 8 Inputs

cat /sys/class/gpio/gpio55/value && 
cat /sys/class/gpio/gpio56/value && 
cat /sys/class/gpio/gpio57/value && 
cat /sys/class/gpio/gpio58/value && 
cat /sys/class/gpio/gpio59/value && 
cat /sys/class/gpio/gpio60/value && 
cat /sys/class/gpio/gpio61/value && 
cat /sys/class/gpio/gpio62/value

Applications

Buttons, digital outputs of other devices, Smart-Metering

Share This Post: