GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsThe Ai-Thinker CA-01 is an LTE Cat.1 bis module for low-cost mobile data and SMS. Its development board has a SIM holder, antenna connector and USB, so a computer can talk to it with AT commands. This Python script checks the SIM and signal, then sends a text. Call it from any other script, such as a backup job or a Raspberry Pi sensor, to get alerts with no internet needed.
Tick anything you already have and the total updates.
Ai-Thinker CA-01 LTE Cat.1 bis dev board
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB; use a powered hub if the board resets while sending.
sms.pyimport serial, time
PORT = "/dev/ttyUSB0"
PHONE = "+91XXXXXXXXXX"
def at(s, cmd, wait=1.0):
s.write((cmd + "\r").encode())
time.sleep(wait)
r = s.read_all().decode(errors="ignore")
print(cmd, "->", r.strip())
return r
def send_sms(text, phone=PHONE):
with serial.Serial(PORT, 115200, timeout=1) as s:
at(s, "AT")
if "READY" not in at(s, "AT+CPIN?"):
raise RuntimeError("SIM not ready")
at(s, "AT+CSQ")
at(s, "AT+CMGF=1")
s.write(f'AT+CMGS="{phone}"\r'.encode())
time.sleep(0.5)
s.write(text.encode() + bytes([26]))
time.sleep(5)
print(s.read_all().decode(errors="ignore"))
if __name__ == "__main__":
send_sms("Test alert from the CA-01")
Re-seat the SIM and check it has no PIN lock.
No signal; fit the antenna and move near a window.
You opened the wrong port; try the other serial ports the board creates.
A low-cost LTE category for modest data rates, good for IoT and SMS.
Yes, its AT commands support TCP, HTTP and MQTT.
Yes, through its UART pins with the same AT commands.
1 part: AI-Thinker CA-01 LTE Cat.1 bis Module Dev Board. On this page you can tick the parts you already have and add only the rest to your cart.
It is a beginner project and takes about 1 hour. The build on this page has 6 steps.
No. This page has the complete, tested code (sms.py).
About ₹2,312 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
AT commands for SIM, signal and SMS; Talking to a serial port from Python; Using a modem as an alert channel.
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Records where you went every five seconds, ready to open on a map.
Two boards, two radios: press the button at the gate and it rings indoors.
Check temperature, humidity and pressure from any phone on your Wi-Fi.
Learning project. Check every circuit and the datasheet of each part before you power it up.