RS-485: how to check a bus step by step
337 Views •Modbus RTU timeout: 6 checks before blaming the wiring
314 Views •Modbus register 40001 or address 0? 6 checks
144 Views •Modbus RTU master and slave with two ESP32 PLC, step by step
159 Views •4G PLC not connecting: 6 checks before blaming the code
221 Views •LoRa works on the desk, fails in the field: 6 checks before you install
246 Views •LoRaWAN node won't join: 6 checks, in order
193 Views •Choosing a PLC 2: which communications do you really need
193 Views •PLC on Ethernet with no ping? 6 checks
123 Views •Digital input not reading: NPN or PNP, step by step
379 Views •4-20 mA input reading wrong: check it step by step
368 Views •Scaling a 4-20 mA signal in the PLC: formula, constants and code
356 Views •RS-485: how to check a bus step by step
337 Views •Modbus RTU timeout: 6 checks before blaming the wiring
314 Views •Relay or transistor output: which one and how to check it
306 Views •Upload fails: 6 checks before blaming the code
251 Views •LoRa works on the desk, fails in the field: 6 checks before you install
246 Views •SD card corrupted? 6 habits for Linux in the field
234 Views •Touch panel: screen turned, touch didn't. 6 checks
222 Views •4G PLC not connecting: 6 checks before blaming the code
221 Views •Choosing a PLC 1: count the I/O and leave spare
200 Views •Arduino IDE compile error: 6 checks before the code
198 Views •LoRaWAN node won't join: 6 checks, in order
193 Views •Choosing a PLC 2: which communications do you really need
193 Views •Modbus RTU master and slave with two ESP32 PLC, step by step
159 Views •Node-RED not starting after a reboot? 6 checks
154 Views •Modbus register 40001 or address 0? 6 checks
144 Views •PLC on Ethernet with no ping? 6 checks
123 Views •LoRa works on the desk, fails in the field: 6 checks before you install
Short answer: when a LoRa link works on the desk but loses messages in the field, check the radio settings, the antenna, the placement, RSSI and SNR at the real spot, the spreading factor, and the airtime and retries, in this order. Do it before you install.
Download the checklist (PDF, 2 pages)
Descarga la lista de comprobación (PDF, 2 páginas)
These checks apply to LoRa point to point and to LoRaWAN devices on any PLC. At the end you will find the page for your PLC range.
Six checks, in this order
| Check | What to do | Good result |
|---|---|---|
| 1. Radio settings | In point to point, set the same frequency, spreading factor, bandwidth, coding rate and sync word at both ends. In LoRaWAN, use the regional plan of your country and the keys registered in the network server. | Both ends use exactly the same radio settings. |
| 2. Antenna | Use an antenna made for your band: 868 MHz in Europe, 915 MHz in America. Connect it before the radio transmits: transmitting without an antenna can damage the radio stage. | Antenna for the right band, connected. |
| 3. Placement | Mount the antenna as high as you can, outside the metal cabinet, with a clear line of sight. Buildings, terrain and vegetation in the path reduce the range. | Antenna outside and high, with a clear path to the other end. |
| 4. Test on site | Before you install, read RSSI and SNR at the real spot, at both ends. LoRa can receive with a negative SNR, down to a limit that depends on the spreading factor. | Reliable reception with a margin above the sensitivity limit of your spreading factor. |
| 5. Spreading factor | A higher spreading factor (SF7 to SF12) reaches further, but each message takes longer on air. Use the lowest one that gives a reliable link. | Reliable link with the shortest time on air. |
| 6. Airtime and retries | In Europe, transmit time is limited per sub-band (often 1 %). LoRa point to point has no acknowledgement: if you need confirmation, add it and retry in your application. | Messages fit the airtime limit and lost ones are retried. |
What the readings tell you
- Nothing arrives, even on the desk: different radio settings at each end, or the wrong band.
- Works on the desk, not in the field: antenna inside the cabinet, too low, or obstacles in the path.
- RSSI and SNR close to the limit: the link works on a good day and fails on a bad one. Improve the antenna and placement, or raise the spreading factor.
- Some messages lost: interference, a link close to the limit, or too many messages for the airtime limit. Add confirmation and retries.
On your PLC range
- LoRa basics: range, modulation, bands and limits
- LoRa point to point on Arduino and ESP32 PLCs
- LoRa point to point on Raspberry PLCs
- Free course: First steps with LoRa
Sources
Radio parameters and receiver limits: Semtech SX1276/77/78/79 datasheet. Airtime limits in Europe: ERC Recommendation 70-03 and ETSI EN 300 220. Regional parameters: LoRa Alliance RP002.
LoRa link that works on the bench but not on site? Check radio settings, antenna, placement, RSSI and SNR on site, spreading factor, airtime and retries, in this order.
Commenting is not enabled on this course.