Skip to content
If this is your first visit, please click here to learn about shipping and delivery.
If this is your first visit, please touch here to learn about shipping and delivery.
LoRa Wireless Data Shield for Arduino - Various Frequencies

Planning an Arduino LoRa Link: Frequency, Antennas and Reliable Sensor Messages

A wireless temperature sensor can send only a few bytes and still be surprisingly difficult to make reliable. The radio must match its antenna and operating region, both ends must understand the same packet settings, and the application must cope when a message disappears. LoRa is useful for small, occasional messages, but it does not remove those engineering decisions.

This guide focuses on a direct Arduino-to-Arduino sensor link. The Arduino LoRa wireless shield collection includes radio hardware for this type of experiment. Treat the exact shield revision and frequency option as part of your design documentation, not an interchangeable accessory.

Decide whether you need LoRa or LoRaWAN

LoRa describes the radio modulation. LoRaWAN adds a network protocol and architecture involving end devices, gateways and network services. A shield capable of transmitting LoRa packets does not, by itself, provide a complete LoRaWAN device or gateway. The LoRa Alliance comparison explains this distinction.

For two nodes on a private test bench, a suitable packet-radio library may provide the simplest starting point. For an existing LoRaWAN network, establish its regional configuration, supported device activation method and software requirements before buying hardware. A packet sent by a basic demonstration sketch will not automatically appear in a LoRaWAN application.

Choose the frequency variant before the antenna

The LoRa wireless data shield is listed with different frequency options. These are hardware choices: the RF matching network and antenna arrangement matter, so changing a frequency constant in a sketch does not prove that another band is supported efficiently or lawfully.

For Australian use, consult the current ACMA low interference potential devices guidance and the applicable class licence. Frequency, radiated power, equipment category and other operating conditions must all fit the relevant rules. A country label in a product menu is not a compliance assessment. Recheck requirements when moving the project overseas.

  • Record the exact radio module and shield revision.
  • Match the antenna's specified operating band to the selected hardware.
  • Check connector type and connector gender rather than judging from a photograph.
  • Account for antenna gain and feed-line loss when checking permitted radiated power.

Connect the specified antenna or suitable test load before transmitting, following the radio manufacturer's instructions. Do not substitute an arbitrary wire simply because it fits the connector.

Check the shield's electrical interface

A shield shape is a mechanical convenience, not proof of electrical compatibility. Confirm the host board, logic voltage, supply input, current requirement and pin routing against documentation for the supplied shield. A module's bare-chip limits are not necessarily the assembled shield's permitted input ratings.

Make a pin allocation sheet before adding sensors. Record SPI signals, chip select, reset and any radio interrupt lines. Then check whether an SD card, display or other shield uses the same select or interrupt pin. Shared SPI can work when each device has the correct independent selection and compatible electrical behaviour; overlapping fixed connections need resolving first.

Power problems often look like radio problems. Observe the supply while transmitting, using appropriate test equipment, and inspect resets or lost serial output. A USB cable that runs a simple blink sketch may reveal weaknesses when the radio draws bursts of current. Use the module's documented decoupling and supply requirements rather than adding capacitors at random.

Make both ends agree

Two radios must use compatible channel frequency and modulation settings. Record bandwidth, spreading factor, coding configuration and packet options in one configuration table for both sketches. Also check any library-specific headers or addressing. Matching only the nominal frequency is insufficient.

The RadioHead author's documentation describes its driver and manager structure. Select the driver for the actual fitted radio; do not infer the chip solely from the word LoRa on a listing. Start with the corresponding unmodified transmit and receive examples, then change one setting at a time.

Increasing spreading factor can improve reception sensitivity at the cost of longer airtime. Longer packets occupy the channel and consume energy for longer too. Semtech's LoRa technical FAQ discusses why the slowest setting is not automatically the best in an interference-prone environment. Measure packet delivery in the real location instead of treating a range claim as a guarantee.

Design the message before adding retries

For a garden sensor, an initial message could contain a node identifier, sequence number, temperature value and battery measurement. Document units and scaling: an integer of 231 might mean 23.1 degrees Celsius, but the receiver must know that. Define byte order if sending multi-byte binary fields.

A sequence number lets the receiver distinguish a new reading from a repeated packet. A local reception timestamp lets the display show how old its information is. These two small additions are often more useful than printing a long text label in every transmission.

Decide what happens after a missed message. A dashboard might mark a measurement stale after several expected reporting intervals. A controller should enter a deliberately chosen safe state rather than continue indefinitely on an old value. A radio link used in a classroom demonstration should not silently become the sole protection for machinery.

Test progressively and keep evidence

  1. Test two nodes a modest distance apart with known matching settings and antennas.
  2. Send a numbered series of packets and count deliveries, duplicates and gaps.
  3. Add the sensor and confirm that sampling does not block radio processing.
  4. Move to the intended location, including the final enclosure and antenna position.
  5. Test supply interruption, receiver restart and a deliberately disconnected link.

If acknowledgements and retries are required, limit them and allow spacing between attempts. Two nodes that immediately repeat together can continue colliding. Avoid broadcasting needless precision or frequent unchanged measurements; choose a reporting interval that fits the information's usefulness and applicable operating conditions.

Keep the finished link maintainable

Save the tested sketches, library versions, radio settings and wiring record together. Label nodes with their identifiers and frequency variants. Include a visible stale-data indication in the receiver. The result is a link another maker can troubleshoot: they can tell whether the sensor, power supply, radio path or application has failed, instead of facing an unexplained missing number.

Previous article Build a Better Arduino Clock Display: Timekeeping, Sensor Calibration and Responsive Controls
Next article Building an SD Card Data Logger with a DS1307 Clock: Timestamps, Files and Power Loss