PicoLTE Hello World: Test Your Setup in One Command
Sixfab provides a ready-to-use Python script to monitor the device and network status of PicoLTE.
Introduction
Before diving into your own application development, it’s important to make sure your PicoLTE or PicoLTE 2 setup is ready to go. This quick-start script helps you do exactly that. With just one command, you can check if:
- The device powered and responsive
- The SIM card detected and ready
- The network registration is successful
- Internet access is live
Running this check isn’t mandatory — but it’s highly recommended. It’s the easiest way to make sure everything is set up and ready, saving you time and avoiding surprises later.
Think of it as a preflight checklist: run it once, confirm all systems are go, and move forward with confidence.
Script Location
You can find the script inside the SDK under:
examples/__basic__/monitor_network.py
How to Run
- Upload the script (or the full examples/basic folder) to the root (/) directory of your PicoLTE device using Thonny.
- Open the script in Thonny and simply click Run.
Is Everything Ready? Here’s What the Script Confirms
This script acts like a pre-flight checklist for your Pico LTE. Before you move on to building your main application, it quickly confirms that your hardware, SIM, network connection, and internet access are all working as expected — so you can start with confidence. Here is a summary of what's covered and why it’s important:
Check Area | What It Does | Why It Matters |
---|---|---|
Device Info | Confirms module identity (Quectel BG95), IMEI, firmware, manufacturer, model | Ensures the hardware is alive, properly connected i.e Pico can communicate with LTE module. |
SIM Card Info | Checks ICCID (SIM serial) and ready status | Confirms the SIM card is present, readable, and ready to use |
Network Type | Reads current configuration for RAT scan mode. | Shows RAT will be scanned by the device. |
Signal Quality | Measures RSSI (signal strength) and bit error rate (BER) | Helps identify if weak or no signal could affect performance |
Network Status | Reports operator info, LTE registration, serving cell, extended signal stats, connection status | Confirms the device is properly registered and communicating with the network |
Packet Service & APN | Retrieves APN setup, IP address, and packet attach status | Ensures mobile data is properly configured and attached |
Connectivity (Ping) | Pings external servers (like Google) to verify end-to-end internet access | Validates full-path connectivity, ensuring the device can transmit data successfully |
Need Help?
If the script reports any issues — whether it's a hardware fault, SIM problem or network issue — don’t worry. You can get help from the Sixfab Community by reach out to technical support.
When asking for support, always include the full output of this script. It helps us quickly understand your setup and provide accurate assistance.
Updated 17 days ago