Arduino Library
Arduino¶
Platform Compatibility¶
Works on old and new IDE
Platform | IDE 1.8.19 | IDE 2.3.3 |
---|---|---|
RP2040 | Yes | Yes |
Atmega328p | No | No |
Atmega328p is limited by the Arduino IDE itself
The Atmega328p can be programmed by C++20 and beyond, it is simply the compiler Arduino comes with which is the holdup.
There are other ways to build code for Atmega328p, perhaps worth a try!
Library Manager Support¶
Install the library, and build its example code
Example program¶
Example program
WsprEncodedTest.ino | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
|
Output
--------------
Start of tests
--------------
[Channel details for band 20m, channel 368]
id1 : 1
id3 : 8
id13: 18
min : 4
freq: 14097060
[Testing Non-Clamped Encoded Values]
Encoded WSPR BasicTelemetry Type1 Message for:
id13 : input as : Q5
: clamped to: Q5
grid56 : input as : JM
: clamped to: JM
altM : input as : 5120
: clamped to: 5120
tempC : input as : -5
: clamped to: -5
voltage : input as : 3.25
: clamped to: 3.25
speedKnots: input as : 25
: clamped to: 25
gpsValid : input as : 1
: clamped to: 1
callsign: QD5WPK
grid4 : IR39
pwrDbm : 47
Check decoding at: https://traquito.github.io/pro/decode/?decode=QD5WPK%20IR39%2047&encode=
[Testing Clamped Encoded Values]
Encoded WSPR BasicTelemetry Type1 Message for:
id13 : input as : Q5
: clamped to: Q5
grid56 : input as : JM
: clamped to: JM
altM : input as : 25000
: clamped to: 21340
tempC : input as : 45
: clamped to: 39
voltage : input as : 5.60
: clamped to: 4.95
speedKnots: input as : 96
: clamped to: 82
gpsValid : input as : 1
: clamped to: 1
callsign: QD5XUP
grid4 : RK54
pwrDbm : 43
Check decoding at: https://traquito.github.io/pro/decode/?decode=QD5XUP%20RK54%2043&encode=