Come scegliere la giusta classe Lorawan (UN, B, C): Una guida semplice

Miniere Agosto. 11. 2025
Sommario

    introduzione

    In IoT, Non tutti i dispositivi parlano la stessa "lingua" quando si tratta di tempismo e comunicazione. In LoRaWAN, Esistono tre classi di dispositivi definiti: a, B, e C - ciascuno con il proprio modello per l'invio e la ricezione di dati. Conoscere le differenze contano. Colpisce la velocità con cui rispondono i tuoi dispositivi, Quanto tempo durano su una batteria, E quanto bene si adattano al tuo caso d'uso.

    How to Choose the Right LoRaWAN Class

    What are LoRa and LoRaWAN?

    LoRa is the wireless modulation that carries data over long distances using low power. LoRaWAN is the network protocol that sits on top, defining how devices connect, send, and receive messages through gateways to a network server. LoRa is the physical layer. LoRaWAN is the rules of the conversation.

     

    What are LoRaWAN Classes?

    Classe A

    What is Class A

    Class A is the baseline. Every LoRaWAN device supports it. It’s the most power-efficient option, ideal for battery-powered devices.

    How does it work?

    A device sends an uplink whenever it needs to. Right after that, it opens two short receive windows — RX1 and RX2 — for possible downlinks from the network. If nothing comes in, it goes back to sleep until the next uplink. Downlink messages can only be delivered right after an uplink.

    Professionisti

    Lowest power use

    Works well for devices that send data infrequently

    Simple to deploy and scale

    Contro

    High downlink latency

    Server can only send data after the device transmits

    Not suitable for real-time control

     

    Classe B

    What is Class B

    Class B builds on Class A by adding scheduled receive slots. It’s a middle ground between Class A’s efficiency and Class C’s responsiveness.

    How does it work?

    The network sends out regular time-synced beacons. Devices use these Beacon iot To align their internal clocks. Alongside the two receive windows after an uplink, Class B devices also open “ping slots” at specific times. This lets the network send downlinks on schedule, reducing latency compared to Class A.

    Professionisti

    Lower downlink latency than Class A

    Can do scheduled unicast or multicast messages

    Still possible to run on batteries

    Contro

    Higher power use than Class A

    Requires network and device time sync

    Slightly more complex setup

     

    Classe C

    What is Class C

    Class C keeps the receive window open almost all the time. It’s for applications where immediate action matters more than saving power.

    How does it work?

    Like Class A, there are RX1 and RX2 windows, but RX2 stays open continuously, only closing during an uplink transmission. This means the server can send a downlink almost instantly at any time. The trade-off: much higher energy use, so these devices are usually mains-powered.

    Professionisti

    Lowest downlink latency

    Real-time control possible

    Can receive data at any moment

    Contro

    High power consumption

    Rarely practical for battery use

    More sensitive to network interference

     

    The Differences of Class A, Class B and Class C?

    Class A listens only right after it talks.

    Class B listens after it talks and also at agreed times.

    Class C listens almost all the time.

    Class A uses the least power but has the longest wait for downlink. Class B trades a bit of power for faster responses. Class C is always ready but needs constant power.

     

    Quick Showing of Different LoRaWAN Classes

     

    Caratteristica Classe A Classe B Classe C
    Uplink Anytime Anytime Anytime
    Downlink Timing Only right after an uplink (two short receive windows)
    After uplink and at scheduled ping slots
    Almost anytime except
    during uplink
    Latency for Downlink Highest Medio Lowest
    Power Use Lowest Medio Highest
    Extra Requirements Nessuno Network time sync via beacons
    Continuous power
    disponibilità
    Usi comuni Monitoraggio ambientale, monitoraggio delle risorse Utility meters, street lighting Fire alarms, industriale
    controllare

    FAQ

    Which end device class consumes the lowest power?

    Class A — because it spends most of its life asleep and only opens receive windows briefly after sending.

    Which device class has the lowest downlink latency?

    Class C — its receive window is open nearly all the time, so the network can send commands instantly.

    Which device class is synchronized to the network using periodic beacons?

    Class B — it listens for network beacons to keep its schedule aligned.

    Prossimo: Sviluppo del prodotto IoT: Una guida passo-passo per i processi chiave & Come acceleriamo il tuo successo
    Prec: Perché il sensore TOF? Comprensione del rilevamento del tempo di volo