Gpio Commands (General Purpose Input Output) - Digicom pocket GSM User Manual

Dual-band modem
Table of Contents

Advertisement

PocketGSM

4.2.6. GPIO COMMANDS (GENERAL PURPOSE INPUT OUTPUT)

Besides the functionalities for the DATA, SMS, FAX and VOICE management, Pocket
GSM can also read some inputs contacts and control some output relays.
Thanks to this characteristic, you will be able to build a complete application using a single
device:
you can detect the status change of an input and send an SMS alarm;
you can receive a specific SMS and control a output relay.
In this paragraph you find the characteristics of the General Purpose Input/Output (GPIO)
and the AT commands to control them.
MINIFIT CONNECTOR
The inputs, the outputs and the power supply are managed through a Minifit connector
(12 pin):
Frontal view
(1)
If you use the complete connector with 12 cables.
PIN Description
1
OUTPUT 2 [Open Collector] (GPO2)
2
OUTPUT 1 [Open Collector] (GPO1)
3
INPUT DIGITALE 4
4
INPUT DIGITALE 3
5
INPUT DIGITALE 2
6
INPUT DIGITALE 1
7
N.C.
8
N.C.
9
from +5 to +32Vdc
10
GND
11
INPUT ANALOGICO 2
12
INPUT ANALOGICO 1
4.30
AT Commands
Wire color
Yellow
Green
(GPIO5)
Blue
(GPIO4)
Light Blue
(GPIO0)
Brown
(GPI3)
Violet
White
Grey
Red
Black
(ADC2)
Pink
(ADC1)
Orange
(1)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents