Quick Start - Smart IoT
This guide allows you to set up the Smart IoT in less than 5 minutes.
Prerequisites
Before starting, verify that you have:
- ✅ Active SIM card with data (up to 2 SIMs for redundancy)
- ✅ Carrier APN data
- ✅ Tracking server IP and port
- ✅ Power source 8-38VDC
- ✅ Serial terminal software or Web Serial
Step 1: Insert SIM Cards
Important: Insert SIMs with the device powered off.
The Smart IoT has 2 SIM slots:
| Slot | Function |
|---|---|
| SIM 0 | Primary |
| SIM 1 | Backup (optional) |
- Open the device cover
- Insert primary SIM in slot 0
- (Optional) Insert backup SIM in slot 1
- Close the cover
Step 2: Connections
Power
Connect GND and VCC (8-38VDC) according to installation diagram.
Antennas (optional)
The Smart IoT supports external antennas:
- External GSM antenna (improves coverage)
- External GPS antenna (improves accuracy)
Step 3: Connect to device
Option A: Web Serial
- Connect the device’s TTL serial port to a USB-TTL converter
- Open Web Serial in Chrome/Edge
- Select the COM port
Option B: Serial terminal
- Connect the USB-TTL converter
- Configure: 115200 bps, 8N1
- Open connection
The Smart IoT uses TTL 3.3V port, not direct USB. A USB-TTL converter is needed.
Step 4: Configure APN (Primary SIM)
Use the CXAPN command:
>SCXAP0host,user,password<Examples:
| Carrier | Command |
|---|---|
| Claro AR | >SCXAP0internet.ctimovil.com.ar,< |
| Movistar AR | >SCXAP0internet.gprs.unifon.com.ar,wap,wap< |
| Personal AR | >SCXAP0gprs.personal.com,< |
Dual SIM
Also configure the backup SIM (SIM1) APN:
>SCXAP1apn.backup,user,password<Step 5: Configure server
Use the IP command:
Primary IP
>SIP0xxx.xxx.xxx.xxx/port<Backup IP (recommended)
>SIP4xxx.xxx.xxx.xxx/port<Example with IP:
>SIP0190.168.1.100/5000<
>SIP4190.168.1.101/5000<Example with domain:
>SIP0"tracking.miempresa.com",5000<
>SIP4"backup.miempresa.com",5000<Step 6: Configure Dual SIM (optional)
Manual SIM selection
>SSIM0< // Use SIM 0 (primary)
>SSIM1< // Use SIM 1 (backup)Check active SIM
>QSIM<Response: RSIM0 or RSIM1
Configure automatic failover
The event engine can switch SIM automatically if connection is lost.
Step 7: Verify connection
Cellular status
>QCEL<OK response: RCEL,CONNECT,CAT-M,722,310
Query ID
>QID<Response: RID + your device ID
SIM status
>QSIM<Response: RSIM0 or RSIM1
Generate report
>GGP00M<Response: GOK
Final verification
| Item | Command | OK Response |
|---|---|---|
| Device ID | >QID< | RID + your ID |
| SIM0 APN | >QCXAP0< | Your APN |
| SIM1 APN | >QCXAP1< | Backup APN |
| Server IP | >QIP0< | Your IP/Port |
| Active SIM | >QSIM< | RSIM0 or RSIM1 |
| Cellular | >QCEL< | RCEL,CONNECT,... |
| Generate report | >GGP00M< | GOK |
Additional configuration (Smart IoT)
CANBUS
>SCAN,protocol<iButton / 1-Wire
>QOW<Digital inputs (6 available)
>QIN<Digital outputs (3 available)
To activate/deactivate outputs use the SSXP command:
>SSSXP0011< // Activate output 0
>SSSXP0010< // Deactivate output 0
>SSSXP0111< // Activate output 1Dual SIM advantages
| Scenario | Behavior |
|---|---|
| No SIM0 coverage | Switches to SIM1 automatically |
| International roaming | Uses local SIM as backup |
| Carrier failure | Network redundancy |
Example failover event
>SEV,01,CND,CEL0,ACC,SSIM1<If cellular connection is lost → switch to SIM1
LEDs - Quick reference
GPS LED (S)
| Status | Meaning |
|---|---|
| Blinking 700ms | Searching GPS |
| Blinking 300ms | ⚠️ GPS module error |
| Off | ✅ Position OK |
| Orange 5s | KO mode active |
CELLULAR LED (C)
| Status | Meaning |
|---|---|
| Red blinking | Initialized, waiting to connect |
| Orange blinking | Connecting GPRS |
| Green blinking | ✅ Connected |
| Orange 5s | KO mode active |
Common problems
Doesn’t connect with any SIM
- Verify both SIMs have data plan
- Check configured APNs
- Try swapping SIMs between slots
Slow GPS
- Use external antenna if in difficult location
- Wait 2-3 minutes outdoors
- Verify GPS antenna is not obstructed by metal
No serial communication
- Verify TTL 3.3V levels (not RS232)
- Verify TX→RX and RX→TX crossed
- Verify baudrate 115200