Quick start instructions for the 3GL variant of the PiloT.
The following instructions are based on use of Raspbian Stretch.
Firstly, install Minicom using the following code:
sudo apt install minicom
PiloT power supply control
The PiloT® power supply is controlled by a Raspberry Pi IO pin. A logic “1” output enables a power supply regulator which supplies the PiloT® with power. Note that the regulator may switch on by default when power is applied to the Raspberry Pi.
PiloT HL module ON/OFF control
The PiloT® module ON pin is used to turn on the HL module’s internal power supply.
The PiloT® module ON pin is GPIO21 on the Raspberry Pi.
The HL module will automatically power on when the PiloT® power supply powers on. Once the module is powered off, the ON pin will need to be pulsed to turn the module back on again.
To power on, insert the following commands:
(Please note: the following commands may be added to a shell script for convenience.)
gpio –g mode 6 out
gpio –g write 6 1
gpio –g mode 21 out
gpio –g write 21 1
gpio –g write 21 0
Connecting to the PiloT via a UART port
To enable handshaking on the serial port, enter the following commands:
gpio –g mode 16 ALT3
gpio –g mode 17 ALT3
You are now able to use AT commands to communicate with the HL module on the PiloT®.
For a full list of AT commands for the Sierra Wireless HL modules, visit the Source.
To use AT commands, open a Minicom session by entering the following:
minicom –D /dev/ttyAMA0
Check the AT commands are working by typing ‘AT’ and pressing enter.
This should return ‘OK’.
Exit Minicom (Ctrl A then X > enter).
Connecting via USB
The USB interface provides several USB endpoints to the Raspberry Pi. These can be set using the AT+USBCOMP command. Serial endpoints can be seen by typing the following:
This should respond as below:
A serial session over USB can be instigated using the command below:
minicom –D /dev/ttyACM0
For LED function activation, enter the following commands in minicom:
To monitor network connections, use of the left LED is recommended. To use the LED to indicate whether the PiloT is connected to the network, enter the following command:
To switch off the left LED, send:
To switch on the right LED, send:
To switch off the right LED, send:
For further details, please see the HL Series command guide.
In Minicom, enter the following command, which changes the USB end points to provide a CDC ECM interface:
Close Minicom (Ctrl A then X > enter), then power cycle the Raspberry Pi by removing and reinserting the power cable.
Enter power-up commands again (see above).
Configure the HL8 bearer APN by opening a Minicom session to /dev/ttyACM0, then entering the following command using the appropriate APN according to your selected network:
AT+CGDCONT=1,“IP”,“Access Point Name”
Configure the APN username and password:
Configure dynamic DNS request:
To start an IP session:
To stop an IP session:
To power off the PiloT®, open a Minicom session with /dev/ttyAMA0 or /dev/ttyACM0. Power off by entering the following command: