IoT

7 Posts

Why RT-Thread Feels More Like an IoT RTOS Platform

5 minute

If RT-Thread is judged only by tasks, semaphores, and queues, its main value is easy to miss.

RT-Thread is not only an RTOS kernel. Around Chinese MCU and IoT projects, it provides an engineering environment: BSPs, a device framework, FinSH, filesystems, networking, packages, configuration tools, Chinese documentation, and community support.

The first model is:

FreeRTOS: lightweight kernel entry point
RT-Thread: RTOS kernel + device framework + IoT component ecosystem

This is not a replacement story. The default system boundary is different.

Read More

Why GPS Often Fails Indoors

2 minute

Many devices with GPS fail indoors. Logs may show few satellites, no fix, jumping position, or a very long time to first fix.

This does not always mean the module is broken. GNSS signals are weak by nature.

GNSS positioning receives signals from multiple satellites and estimates distance and time error. By the time satellite signals reach the ground, they are already weak. Indoors, walls, floors, metal enclosures, the human body, coated glass, and installation direction attenuate them further.

Read More

Why a Cellular Module Shows Signal but Has No Data Connection

3 minute

A common field mistake is treating “has signal” as “is online.”

The module reports a signal value, the antenna is connected, and the SIM is inserted, but MQTT cannot connect, TCP fails, and the platform never sees the device. This may look like unstable network service, but the device can be stuck at very different layers.

Cellular data connectivity has several stages:

radio coverage
-> usable SIM
-> network registration
-> data bearer activation
-> IP or data channel
-> DNS, TCP, TLS, MQTT
-> application platform reachability

“Signal” usually covers only the first part.

Read More

IoT Sensors Are Not Measuring What You Think They Measure

4 minute

IoT devices are often described as “detecting people”, “measuring distance”, “checking air quality”, “measuring body fat”, or “detecting leaks”. That language is fine at the product level, but it can be misleading when you design, install, or debug a device.

Most sensors do not measure those business concepts directly.

They first measure lower-level physical changes: acoustic flight time, electromagnetic echoes, infrared heat changes, light intensity, resistance, pressure, magnetic field, strain, or body impedance. Distance, presence, air quality, body fat percentage, and leak alarms are interpretations built on top of conversion, compensation, thresholds, calibration, and algorithms.

Read More

NB-IoT Access Path: Why It Is Not "Plug in the SIM and Send Data"

11 minute

NB-IoT field issues often sound very simple at first: the SIM is inserted, the module has signal, why does it still not send data? Or the platform has seen the device online before, so why does it later disappear for a long time? Once you break it apart, the bottleneck is usually somewhere else. Some devices never found a cell they could camp on. Some synchronized to a cell and read system information but never finished random access. Some already established an RRC (Radio Resource Control) connection but got stuck at NAS (Non-Access Stratum) registration or authentication. Others registered successfully but never established a usable bearer, so the application still could not send data.

Read More

CoAP

15 minute

CoAP is often described as “a lightweight HTTP over UDP.” That is not wrong, but it only helps you remember the name. It is not enough to judge an implementation, a packet capture, or a debugging session. The real difficulty is that CoAP is not facing browsers and cloud services. It is facing device networks with battery-powered nodes, small memory, lossy links, and constrained packet sizes. In that environment, the HTTP assumptions of reliable connections, long messages, and relatively rich endpoints often do not hold.

Read More

MQTT

15 minute

MQTT is hard to understand not because of its packet types, but because it builds message distribution on a broker in the middle, topic-based routing, and the reality of weak or unstable connections. Many devices already have network access and a TCP connection, yet the subscriber still does not receive the status update. Or a device comes back online after being disconnected for a few minutes, and the application expects the message to be recovered, only to get part of it back. The difficult part is not the message format itself. It is the fact that MQTT treats distribution as a broker-centered problem.

Read More