Works with
Before you begin
Hardware
- Raspberry Pi 3, 3B+, 4 or 5With its power supply and a microSD card with Raspberry Pi OS.
- SIM card with LTE-M serviceThe Sixfab SIM in the box, or a third-party SIM.
Software
- Serial terminalTo send AT commands to the module, for example ATCom or Minicom: see Send AT commands.
- 1×Sixfab Base HAT
- 1×Telit ME910C1-WW module
- 1×LTE and GNSS dual u.FL antenna, 100 mm
- 1×Sixfab SIM card
- 1×Right-angle micro USB cable
- 2×40-pin GPIO header for Raspberry Pi 4, short and long
- 2×40-pin GPIO header for Raspberry Pi 5, short and long
- 2×M2.5 × 11 mm spacer for Raspberry Pi 4
- 2×M2.5 × 14 mm spacer for Raspberry Pi 5
- 4×M2.5 × 5 mm screw
Choose header
The steps show a Raspberry Pi 5. On a Raspberry Pi 4, only the header and the spacers differ: use the pair marked for your model. The long header leaves every GPIO pin reachable, for stacking and prototyping; the short header is more compact, for embedded and product builds that do not need all GPIO pins.
Assemble hardware
Assemble the kit with the Raspberry Pi powered off.
-
Insert module into Base HAT
Insert the Telit ME910C1-WW into the mini PCIe socket of the Base HAT.
- 1× Telit ME910C1-WW module
-
Connect antenna
Connect the LTE lead of the LTE and GNSS antenna to the module’s main antenna connector and the GNSS lead to its GNSS antenna connector.
- Main antenna interface
- GNSS antenna interface
Antenna connectors of the Telit ME910C1-WW - 1× LTE and GNSS dual antenna
-
Fit header under board
Fit the chosen 40-pin header to the underside of the Base HAT.
- 1× 40-pin header
-
Insert SIM card
Insert the micro SIM card into the SIM socket as shown.
- 1× Micro SIM card
-
Mount HAT on Raspberry Pi
Press the Base HAT onto the 40-pin header of the Raspberry Pi and fasten it with the spacers and the M2.5 × 5 mm screws.
- 1× Raspberry Pi
- 4× M2.5 × 14 mm spacer
- 4× M2.5 × 5 mm screw
-
Connect micro USB cable
Connect the micro USB port of the Base HAT to a USB port of the Raspberry Pi with the right-angle cable. The Raspberry Pi communicates with the module over this cable.
- 1× Right-angle micro USB cable
-
Connect power supply
Connect the power supply to the Raspberry Pi. The HAT and the module take their power from it, and the red PWR LED of the Base HAT turns on.
- 1× Raspberry Pi USB-C power supply
Activate Sixfab SIM
Register and activate the Sixfab SIM as described in Sixfab SIM: Register & Management. With a third-party SIM, skip this step.
Check hardware
Check the hardware with AT commands before you set up PPP, QMI or your application.
-
Find AT command port.
The module appears as several USB serial ports. List them:
ls /dev/ttyUSB*On the Telit ME910C1,
/dev/ttyUSB2is usually the AT command port. Open it in the serial terminal. -
Check connection to module.
ATThe module answers
OK: the Raspberry Pi, the Base HAT and the module communicate. -
Check SIM.
AT+CPIN?The answer is
+CPIN: READY. -
Check signal.
AT+CSQThe answer is
+CSQ: <rssi>,<ber>, for example+CSQ: 23,99. An rssi from 10 to 31 is a usable signal.99,99means that the module sees no network: check the u.FL antenna connections.
OK, READY and a usable signal confirm the power supply, the USB connection, the SIM and the antenna.
Register on network
-
Set APN.
Set the APN of your SIM provider:
AT+CGDCONT=1,"IP","your_apn_here"The APN of the Sixfab SIM is
super:AT+CGDCONT=1,"IP","super". -
Check registration.
Registration can take from 10 seconds to 3 minutes after a cold boot.
AT+CEREG?Answer Meaning +CEREG: 0,1Registered, home network +CEREG: 0,5Registered, roaming +CEREG: 0,2Still searching: wait 30 seconds and send the command again
Search for LTE-M only
LTE-M and NB-IoT networks are not deployed everywhere, and the module can spend time scanning bands or technologies that the network does not offer. To make it search for LTE-M only:
AT#WS46=0
The values depend on the firmware: see the Telit AT commands reference guide.
Run ping test
The ping runs on the module’s internal IP stack.
-
Activate PDP context.
AT#SGACT=1,1 -
Ping server.
For example, Google’s public DNS server:
AT#PING="8.8.8.8"Example answer:
#PING: 01,"8.8.8.8",6,50 #PING: 02,"8.8.8.8",5,50 #PING: 03,"8.8.8.8",6,50 #PING: 04,"8.8.8.8",5,50 OK
Each #PING line is a reply: the module reaches the internet.
Send data
LTE-M is built for low-bandwidth, low-power telemetry. An application sends data in one of two ways.
Through module’s IP stack
For strict data limits, battery-powered systems and telemetry. Raspberry Pi OS has no connection over the modem: the application sends its payload to the module over USB with AT commands, and the module’s TCP/IP stack and its MQTT, HTTP and UDP clients handle the connection, the delivery and the teardown. Only application data uses the cellular link.
The commands are in the Telit AT commands reference guide: section 3.13 for TCP and UDP, 3.16 for HTTP and 3.22 for MQTT.
Through PPP connection
For edge applications, remote SSH access and code that uses standard networking libraries. PPP creates a network interface such as ppp0 and Linux routes the traffic, so applications use libraries such as Python’s paho-mqtt or requests and need no AT command parsing. Set it up with the Sixfab PPP Installer.
Background traffic uses data allowance
Over a PPP connection, Raspberry Pi OS and the installed packages also send traffic, such as OS updates and NTP time sync, and use the data allowance of the SIM.