diff --git a/examples/meshtastic/hardware/img/RL.png b/examples/meshtastic/hardware/img/RL.png new file mode 100644 index 0000000..31daf2b Binary files /dev/null and b/examples/meshtastic/hardware/img/RL.png differ diff --git a/examples/meshtastic/hardware/img/good-antenna.jpg b/examples/meshtastic/hardware/img/good-antenna.jpg new file mode 100644 index 0000000..954ab7c Binary files /dev/null and b/examples/meshtastic/hardware/img/good-antenna.jpg differ diff --git a/examples/meshtastic/hardware/img/swr.jpg b/examples/meshtastic/hardware/img/swr.jpg deleted file mode 100644 index b72a223..0000000 Binary files a/examples/meshtastic/hardware/img/swr.jpg and /dev/null differ diff --git a/examples/meshtastic/hardware/img/worst-antennas.jpg b/examples/meshtastic/hardware/img/worst-antennas.jpg new file mode 100644 index 0000000..c91332a Binary files /dev/null and b/examples/meshtastic/hardware/img/worst-antennas.jpg differ diff --git a/examples/meshtastic/hardware/radio.htm b/examples/meshtastic/hardware/radio.htm index aca6c69..8c85272 100644 --- a/examples/meshtastic/hardware/radio.htm +++ b/examples/meshtastic/hardware/radio.htm @@ -29,13 +29,48 @@

Antennas

A good antenna is crucial for the radio to function properly. -
A NanoVNA is very helpful to test if an antenna is resonant at the specified frequency (otherwise it's useless). -
You can find good clones for about 50€/$ (beware of really cheap/bad clones).

- +

+ A NanoVNA is very helpful to test if an antenna is resonant at the specified frequency (otherwise it's useless). +
The Return Loss should be >= 10dB at the used frequency, which means that at least 90% of the power is going out of the antenna, and only 10% is reflected back to the radio. +

+
 RL    back  out  VSWR
+---------------------------
+ 0 dB  100%   0%  infinity
+ 1 dB   80%  20%  17
+ 2 dB   63%  37%   9
+ 3 dB   50%  50%   6
+ 5 dB   32%  68%   3.5
+ 6 dB   25%  75%   3
+ 8 dB   16%  84%   2.3
+10 dB   10%  90%   2
+15 dB    3%  97%   1.4
+20 dB    1%  99%   1.2
+
+RL ..... Return Loss
+back ... reflected back to radio
+out .... going out of antenna
+VSWR ... Voltage Standing Wave Ratio
+

+ You can find good NanoVNA clones for about 50€/$ (beware of really cheap/bad clones). +

+ +

+ The screenshot shows a very good Return Loss of 22dB. +

+

+ The antenna needs to be in vertical position while testing, so it's best practice to build a little stand for it, so one can test without touching the circuit, which would inevitably falsify the measurements. +

It's highly recommended to only trust specialized shops (mouser, RAK store) for antennas, because there is simply too much mass produced garbage out there (talking from experience).

+

+ If an antenna is totally off when I measure it, I like to dissect it. +
Here you can see the inside of one good example, and the worst offenders so far (at the outside all share the exact same length of around 20cm and the exact same shape, see cut off plastic part on the left): +

+ + +

Line of Sight

To easily find out if two places are within line of sight, you can use this diff --git a/examples/meshtastic/lisp/messages.lisp b/examples/meshtastic/lisp/messages.lisp index f0a0ee0..93e0682 100644 --- a/examples/meshtastic/lisp/messages.lisp +++ b/examples/meshtastic/lisp/messages.lisp @@ -150,7 +150,7 @@ :value (float (or (app:setting :message-font-size) 18.0)))) -(defun font-size-changed (ok) ; callback from QML +(defun font-size-changed (ok) ; see QML (when ok (let ((size (q< |value| ui:*dialog-spin-box*))) (setf size (min 48 (max 10 size)))