Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell Edge Gateway 3001 Installation and Operation Manual

GPIO

NOTE: For more information on GPIO sysfs interface, see https://www.kernel.org/doc/Documentation/gpio/sysfs.txt.

The GPIO connector (AD5593R) on the Edge Gateway 3001 has 8 pins. The connector can controlled by the standard Linux GPIO.The GPIOs number maps 330 to 337.

Image: GPIO Pin Map

  1. Pin: GPIO1
  2. Pin: GPIO8
  3. ISO GND: Bottom row isolated grounds

Example 1 (as root): Set GPIO 1 as output, value as 1

$ echo 330 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio330/direction
$ echo 1 > /sys/class/gpio/gpio330/value

Example 2 (as root): Set GPIO 8 as input, and read value

$ echo 337 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio337/direction
$ cat /sys/class/gpio/gpio337/value
0

Example 3 (as root): Connect GPIO 1 to 8, read GPIO 8 pin value

$ cat /sys/class/gpio/gpio337/value
1

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\