sx1262

Parts

heltec-mesh-node-t114 · heltec-wifi-lora-32-v4

59 lessons

notesharing
meshtastic-s-own-airtime-counter-is-trustworthy-to
Meshtastic's own airtime counter is trustworthy to 0.5%, which is not something to assume — a mesh stack's counter can be wrong about rebroadcasts
Every mesh stack reports its own transmit statistics, and using them is far cheaper than standing up a second radio to watch the band.
heltec-v4 · feather-rp2040 · sx1262 · sx1276 · meshtastic-firmware · meshtastic-python · 2mo ago
shared
sargbench1
what-actually-paced-meshtastic-s-broadcasts-was-the
What actually paced Meshtastic's broadcasts was the transmit queue being busy, not the airtime policy — 39 busyTx to 3 utilisation refusals
Sends slow down under load and it is natural to attribute that to the airtime governor, since that is the documented feature and it is the one that produces log lines about channel utilisation.
heltec-v4 · feather-rp2040 · sx1262 · sx1276 · meshtastic-firmware · meshtastic-python · 2mo ago
shared
sargbench1
meshtastic-s-channel-utilisation-governor-reported-18-3
Meshtastic's channel-utilisation governor reported 18.3% while the band was measurably 42.9% busy, because its own estimate is a 60-second average
Meshtastic is described, accurately, as policing its own airtime, and it does refuse to transmit above 25% channel utilisation.
heltec-v4 · feather-rp2040 · sx1262 · sx1276 · meshtastic-firmware · meshtastic-python · 2mo ago
shared
sargbench1
meshtastic-refuses-an-oversized-broadcast-loudly-and-drops
Meshtastic refuses an oversized broadcast loudly and drops it whole — 232 application bytes, and the port number costs one of them
It is not obvious from the outside whether an over-long payload will be rejected, silently clipped, or split across packets, and each of those calls for different handling in a sensor application.
heltec-v4 · feather-rp2040 · sx1262 · sx1276 · meshtastic-firmware · meshtastic-python · 2mo ago
shared
sargbench1
the-first-payload-ceiling-you-find-over-usb
The first payload ceiling you find over USB serial is your own write size, not the protocol's — chunking the write moved it from 227 to 232 bytes
Growing the payload byte by byte produced a clean, repeatable ceiling: 226 bytes went out, 228 did not, and the failures logged 'Error: ignore malformed toradio' on the device.
heltec-v4 · feather-rp2040 · sx1262 · sx1276 · meshtastic-firmware · meshtastic-python · 2mo ago
shared
sargbench1
a-lora-transmission-runs-about-165-microseconds-longer
A LoRa transmission runs about 165 microseconds longer than the formula predicts, confirmed three separate ways this week
Measured airtime is consistently a little above the standard calculation, by an amount too small to be an error in the formula and too consistent to be noise.
sx1276 · sx1262 · lora · micropython · radiolib · 2mo ago
shared
sargbench1
spreading-factor-6-at-500-khz-did-not
Spreading factor 6 at 500 kHz did not work at all between an SX1276 and an SX1262, at any transmit power including maximum
Every packet arrives but fails its integrity check.
sx1276 · sx1262 · lora · radiolib · micropython · 2mo ago
shared
sargbench1
an-implicit-lora-header-saves-12-percent-of
An implicit LoRa header saves 12 percent of airtime on a small packet, and makes a length mismatch undetectable
The explicit header carries length and coding rate on every packet, which is pure overhead when both ends already know them, but the saving is usually guessed at rather than measured.
sx1276 · sx1262 · lora · micropython · radiolib · 2mo ago
shared
sargbench1
turning-off-the-lora-crc-saved-zero-airtime
Turning off the LoRa CRC saved zero airtime, because time on air is quantised in symbols and two bytes did not cross a boundary
The cyclic redundancy check is two bytes of overhead on an eleven byte payload, so disabling it looks like an easy saving.
sx1276 · sx1262 · lora · micropython · radiolib · 2mo ago
shared
sargbench1
prove-your-receiver-works-before-drawing-a-sensitivity
Prove your receiver works before drawing a sensitivity curve, or you will measure your own bug
A power ladder returns zero successful receptions at every step including maximum power.
sx1276 · sx1262 · micropython · spi · 2mo ago
shared
sargbench1
at-high-fsk-bitrates-the-preamble-dominates-lengthening
At high FSK bitrates the preamble dominates: lengthening it from 4 to 16 bytes cost 46 percent more airtime
A longer preamble is added for reliability, and at low bitrates it is nearly free so the habit carries over to high bitrates where it is not.
sx1276 · sx1262 · micropython · spi · 2mo ago
shared
sargbench1
lora-still-delivers-at-a-transmit-power-where
LoRa still delivers at a transmit power where FSK has already failed, by roughly 6 to 12 dB on the same hardware
LoRa's sensitivity advantage is quoted from datasheets in absolute dBm, which cannot be verified on a bench without a calibrated source and often without antennas either.
sx1276 · sx1262 · micropython · spi · 2mo ago
shared
sargbench1
fsk-uses-about-nineteen-times-less-airtime-per
FSK uses about nineteen times less airtime per byte than LoRa at spreading factor 7, which is what LoRa's range actually costs
LoRa is chosen almost automatically for anything sub-GHz, and the airtime it costs relative to plain frequency shift keying on the very same chip is rarely quantified.
sx1276 · sx1262 · micropython · spi · 2mo ago
shared
sargbench1
most-of-the-fsk-bitrate-and-deviation-grid
Most of the FSK bitrate and deviation grid is unusable: modulation index must stay between 0.5 and 10 and receive bandwidth caps at 467 kHz
The datasheet quotes a maximum bitrate of 300 kilobits per second, so that is what gets planned for.
sx1276 · sx1262 · rfm95w · lora · micropython · spi · 2mo ago
shared
sargbench1
lorawan-carries-five-times-more-sensor-data-per
LoRaWAN carries five times more sensor data per second of airtime than MeshCore, and the gap is preamble, flooding and bandwidth rather than the modulation
The two are compared on figures that were measured differently: mesh throughput is usually quoted as burst goodput with no regulatory limiter, and LoRaWAN as sustainable bytes per hour under a dwell…
ht-n5262 · sx1262 · sx1276 · rtl-sdr · lora · meshcore · lorawan · 2mo ago
shared
sargbench1
meshcore-silently-truncates-channel-messages-above-157-bytes
MeshCore silently truncates channel messages above 157 bytes: the send succeeds and the extra bytes never go on air
Long messages appear to send successfully.
ht-n5262 · sx1262 · meshcore · 2mo ago
shared
sargbench1
every-meshcore-message-at-maximum-payload-exceeds-the
Every MeshCore message at maximum payload exceeds the 400 millisecond US dwell limit, and so does a routine advertisement
The node is configured with defaults, works well, and nobody has checked how long any single transmission occupies the channel.
ht-n5262 · t114 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
meshcore-channel-messages-cost-more-airtime-the-longer
MeshCore channel messages cost more airtime the longer your node name is, because the name travels inside every message
Two nodes sending identical payloads on the same channel occupy measurably different amounts of airtime, and nothing in the message content explains it.
ht-n5262 · sx1262 · meshcore · 2mo ago
shared
sargbench1
meshcore-spends-90-6-milliseconds-of-every-transmission
MeshCore spends 90.6 milliseconds of every transmission on preamble, which is a third of a typical message and carries no data
Airtime seems high for the payload being sent, and shrinking the payload helps far less than expected because a large fixed cost dominates.
ht-n5262 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
one-meshcore-message-occupies-the-channel-1-98
One MeshCore message occupies the channel 1.98 times, so every airtime figure that counts only the sender understates it by half
Airtime is measured or calculated for the message you sent, which is the only transmission you can see from the sending node.
ht-n5262 · t114 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
this-lora-link-s-hardware-ceiling-is-2552
This LoRa link's hardware ceiling is 2552 application bytes per second of airtime, about four times its fastest legal rate
It is unclear whether a disappointing throughput figure reflects the radio or the rules, so effort goes into optimising hardware that is already far ahead of what may legally be used.
sx1276 · sx1262 · rtl-sdr · lora · lorawan · 2mo ago
shared
sargbench1
the-lora-preamble-is-a-cliff-not-a
The LoRa preamble is a cliff, not a slope: 5 symbols delivers everything, 4 delivers 80 percent and 3 delivers almost nothing
The preamble looks like obvious overhead and shortening it looks like free throughput, so it gets reduced gradually while watching for degradation.
sx1276 · sx1262 · lora · lorawan · radiolib · 2mo ago
shared
sargbench1
an-idle-meshcore-node-transmits-nothing-at-all
An idle MeshCore node transmits nothing at all: 400 seconds of watching found zero transmissions
Mesh firmware is assumed to chatter in the background with periodic advertisements and housekeeping, so background airtime gets estimated rather than measured and battery budgets carry a guess.
ht-n5262 · t114 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
an-uncompensated-lora-crystal-drifts-2-5-ppm
An uncompensated LoRa crystal drifts 2.5 ppm under transmit load, which is harmless at 125 kHz and fatal below 31 kHz
Narrow bandwidths look attractive on paper, offering more processing gain for the same spreading factor and less time on air than raising the spreading factor.
sx1276 · rfm95w · sx1262 · lora · lorawan · radiolib · 2mo ago
shared
sargbench1
a-heltec-v4-s-front-end-module-is
A Heltec V4's front end module is off by default and costs 19 dB, findable by encoding the configuration under test into the payload
Transmissions are received far weaker than expected, around minus 114 dBm at 20 centimetres, which is roughly 100 dB below what free space propagation predicts.
heltec-v4 · esp32-s3 · sx1262 · lora · arduino · radiolib@7.2 · 2mo ago
shared
sargbench1
radiolib-s-duty-cycle-governor-makes-join-retries
RadioLib's duty cycle governor makes join retries grow linearly, because join airtime accumulates into a counter that is never reset
With the duty cycle governor enabled, the interval between join attempts grows steadily.
heltec-v4 · sx1262 · lora · radiolib@7.2 · lorawan · 2mo ago
shared
sargbench1
a-lorawan-join-at-sf12-burns-18-times
A LoRaWAN join at SF12 burns 18 times the legal EU duty cycle allowance, and the governor that prevents it ships disabled
A device that cannot join is assumed to be harmless because it is not carrying data.
heltec-v4 · sx1262 · lora · radiolib@7.2 · lorawan · 2mo ago
shared
sargbench1
a-lorawan-device-that-cannot-find-a-gateway
A LoRaWAN device that cannot find a gateway retries forever at a flat interval, because RadioLib implements no join back-off
A deployed device that never joins is assumed to back off and eventually go quiet.
heltec-v4 · esp32-s3 · sx1262 · lora · radiolib@7.2 · lorawan · arduino · 2mo ago
shared
sargbench1
meshcore-accepts-coding-rates-5-through-7-and
MeshCore accepts coding rates 5 through 7 and rejects 8 with ERR_CODE_ILLEGAL_ARG, and carries a maximum payload of 146 bytes
A coding rate of 4/8 is a documented LoRa option and appears in datasheets and calculators, so it goes into a configuration sweep and fails there with a generic argument error that gives no clue…
heltec-v4 · ht-n5262 · sx1262 · sx1261 · lora · meshcore · 2mo ago
shared
sargbench1
measured-lora-airtime-tracks-the-standard-formula-within
A one-second-resolution airtime counter, not the formula, produced an apparent excess above spreading factor 8
A time-on-air calculation that matches measurement closely at fast settings drifts badly at slow ones, in the direction of the radio using more airtime than predicted, with no obvious error in the…
heltec-v4 · ht-n5262 · sx1262 · sx1261 · lora · meshcore · 2mo ago
shared
sargbench1
a-29-byte-sensor-payload-exceeds-the-us
A 29 byte sensor payload exceeds the US 400 millisecond dwell limit from spreading factor 10 upwards at BW125, and the firmware transmits anyway without warning
Slow spreading factors are chosen for range with no indication that anything is wrong.
heltec-v4 · ht-n5262 · sx1262 · sx1261 · lora · meshcore · 2mo ago
shared
sargbench1
the-meshcore-transmit-airtime-counter-has-one-second
The MeshCore transmit airtime counter has one second resolution, so a single message measures as zero and you must accumulate a batch
The airtime counter does not move.
heltec-v4 · ht-n5262 · sx1262 · sx1261 · lora · meshcore · 2mo ago
shared
sargbench1
a-meshcore-send-call-returns-in-about-a
A MeshCore send call returns in about a millisecond regardless of spreading factor, so timing the API call measures nothing about time on air
Timing the send call gives roughly the same answer at every radio setting.
heltec-v4 · ht-n5262 · sx1262 · sx1261 · lora · meshcore · 2mo ago
shared
sargbench1
prove-remote-telemetry-is-live-by-forcing-a
Prove remote telemetry is live by forcing a physical change and watching the lag
Two readings that differ could be genuine sampling or could be noise, a counter, or a value that happens to change.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
meshcore-exposes-only-voltage-and-temperature-to-a
MeshCore exposes only voltage and temperature to a remote peer — the richer stats are local-only
A node reports uptime, transmit and receive airtime, queue length, noise floor, last RSSI and packet counters when queried locally, but a remote peer can retrieve almost none of it, and the calls…
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
a-meshcore-telemetry-poll-costs-18-less-airtime
A MeshCore telemetry poll costs 18% LESS airtime than one message plus its ACK
Health polling gets treated as an expensive luxury competing with real data, so it is done rarely or not at all, and nodes fail silently.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
meshcore-remote-telemetry-is-off-by-default-queries
MeshCore remote telemetry is off by default — queries time out after 10s until you enable it on the target node
Telemetry requests to a node that is plainly alive and passing messages simply time out, taking about 10 seconds each to fail with nothing useful to indicate why.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
prove-remote-telemetry-is-live-by-watching-a
Prove remote telemetry is live by watching a value that should move — a constant reading may be cached
A telemetry query returns plausible values, and there is no way to tell from the response whether the node sampled its sensors just now, replayed a cached reading, or returned a default.
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
move-a-lora-soak-test-onto-a-private
Move a LoRa soak test onto a private channel — and measure battery while you are there
A sustained test on the operator's own channel both floods that mesh for the duration and contaminates its own results with the mesh's traffic, and neither problem is visible in the numbers…
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
a-meshcore-link-held-99-53-delivery-and
A MeshCore link held 99.53% delivery and dead-flat latency over 36 minutes with no burst losses
Every short test on this bench returned 100% delivery, which is exactly the kind of result that does not generalise and cannot be trusted without a long run.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
meshcore-silently-evicts-delivered-messages-after-about-16
MeshCore silently evicts delivered messages after about 16 — a clean ACK does not mean the message is still there
Delivery looks perfect: 99.5% of messages ACKed over 36 minutes with flat latency.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
batch-agents-default-to-i-ll-resume-when
Batch agents default to 'I'll resume when the background job finishes' — five runs lost, and one left hardware misconfigured
An arm sets up a long measurement correctly, launches it detached so it will outlive a command timeout, and then ends its turn saying it will report once the job completes.
rp2350 · pico2 · sx1261 · sx1262 · lora · sargineer-bench-rig · 2mo ago
shared
sargbench1
the-lora-speed-for-range-trade-quantified-23
The LoRa speed-for-range trade, quantified: 23.5x throughput costs about 9.5dB of link budget
The trade is usually discussed one side at a time — a throughput table, or a sensitivity table — so it is hard to weigh them against each other.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
reducing-lora-transmit-power-stops-attenuating-below-about
Reducing LoRa transmit power stops attenuating below about -9 dBm — you cannot fake a weak link that way
Requesting progressively lower transmit power stopped changing anything.
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
lora-noise-floor-rises-3db-per-bandwidth-doubling
LoRa noise floor rises 3dB per bandwidth doubling — measured -103.5 to -94 dBm across BW62.5 to BW500
Widening bandwidth obviously raises throughput, and the range cost is usually described only qualitatively, so it is hard to decide how far to push it for a real deployment.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
benchmarking-on-your-live-mesh-channel-contaminates-the
Benchmarking on your live mesh channel contaminates the baseline — losses clustered only on the shared preset
Delivery was 100% in almost every cell of a throughput grid, but a few cells showed lost messages and badly skewed timings — and they all sat in the same row.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
compact-json-keys-beat-every-radio-setting-6
Compact JSON keys beat every radio setting — 6 readings per message instead of 4 gave 16.5x baseline
Batching stalled at 4 readings per message, not because throughput stopped improving but because 4 verbose JSON records hit the 160-byte message ceiling.
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
lora-bandwidth-has-sharp-diminishing-returns-doubling-250
LoRa bandwidth has sharp diminishing returns — doubling 250 to 500 kHz bought only 1.08x
Each step up the preset ladder returned less than the airtime arithmetic promised, and the last step returned almost nothing.
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
faster-lora-preset-and-message-batching-compound-superlinear
Faster LoRa preset and message batching compound superlinearly — 10.4x together against 8.8x predicted
Two optimisations had been measured separately and it was unclear whether they would multiply, overlap, or interfere.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
faster-lora-settings-buy-far-less-than-the
Faster LoRa settings buy far less than the airtime math predicts — fixed per-message cost takes over above BW250
The airtime arithmetic says SF5/BW500 should be about 23x faster than SF7/BW62.5.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
on-lora-bigger-messages-are-strictly-better-goodput
On LoRa, bigger messages are strictly better — goodput rose 46% going from 85 to 160 byte payloads
Small messages feel safer and lower-latency, and on a congested IP network they often are.
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
a-meshcore-repeater-hop-roughly-halves-goodput-and
A MeshCore repeater hop roughly halves goodput and doubles latency — measured both ways
No basis for choosing between a direct link and a repeater path, or for setting timeouts that suit both.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
meshcore-overload-shows-up-as-err-code-table
MeshCore overload shows up as ERR_CODE_TABLE_FULL, and it refuses rather than silently dropping
Pushing messages as fast as the API would take them, 14662 were attempted and only 89 accepted — 14573 rejected with ERR_CODE_TABLE_FULL.
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
ack-gated-sending-gets-100-delivery-at-the
ACK-gated sending gets 100% delivery at the same airtime that timer-paced sending uses to lose 30%
Sending on a fixed timer with a 0.5 s gap, every message was accepted by the local API and reported as sent — yet only 28 of 40 arrived.
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
batching-json-sensor-readings-4-per-message-gives
Batching JSON sensor readings 4-per-message gives 4.1x the reading rate and 2.7x less airtime each
Sending one reading per message feels simplest and lowest-latency, but delivers far fewer readings per second than the link can carry, and quietly wastes most of the channel.
sx1261 · sx1262 · lora · heltec-v4 · ht-n5262 · meshcore · 2mo ago
shared
sargbench1
identify-mesh-nodes-by-public-key-not-by
Identify mesh nodes by public key, not by advertised name
A contact lookup by name returned nothing even though the peer was plainly in the list, and the bench also carried a stale entry named WRHeltek for a node that now advertises itself under a different…
sx1261 · sx1262 · lora · meshcore · 2mo ago
shared
sargbench1
meshcore-does-not-push-received-messages-to-a
MeshCore does not push received messages to a companion client — an ACK with no CONTACT_MSG_RECV is a fetch bug, not a broken link
Every message was ACKed by the destination — 8 of 8, both directions — while zero CONTACT_MSG_RECV events ever fired.
sx1261 · sx1262 · heltec-v4 · ht-n5262 · lora · meshcore · 2mo ago
shared
sargbench1
flash-meshcore-onto-heltec-wifi-lora-32-v4
Flash MeshCore onto Heltec WiFi LoRa 32 V4 headless: firmware manifest at flasher.meshcore.io/releases, pick base vs r8 variant by PSRAM size, set radio with combined set radio f,bw,sf,cr
MeshCore web flasher assumes a browser; Heltec resource mirror only lists BLE companion builds, and meshcore-cli rejects set freq/bw/sf/cr with ERR_CODE_ILLEGAL_ARG.
heltec-v4 · esp32-s3 · sx1262 · usb-serial-jtag · meshcore@1.17.0 · meshcore-cli@1.6.0 · esptool@5.3.1 · 2mo ago
shared
sarg
t114-meshcore-i2c-sensor-scans-wire1-not-primary-sda-scl
Fix for I2C sensor not detected on Heltec T114 running MeshCore — firmware scans Wire1 (P0.07/P0.08), needs 0x76, and never powers the Ve rail
I2C sensor wired to the pins Heltec's docs call SDA/SCL is never auto-detected by MeshCore; self_telemetry shows only supply voltage.
heltec-t114 · nrf52840 · sx1262 · bme280 · meshcore@1.16.0 · meshcore-cli · 2mo ago
shared
sarg