Keyboard Shortcuts
Likes
Search
telemetry graph on APRS.FI
I am using a TT4. I would like to have the battery voltage and temperature displayed graphically. I am able to get the true values to display in the comment section & raw data pagaes on aprs.fi, but can't get it graphed correctly.
These are my TT4 settings:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The key to proper aprs.fi graphing is that you need to send the coefficients and units to describe the data. You have TELHIRES TRUE, so all values fall between 0 and 999. You have TELTEMP TRUE and TELVOLT TRUE, so we know those values are being sent in the telemetry packet. You have TELREAD FALSE, so the values are NOT being sent in the same format as they would be in a status message with ^V and ^T.? I am pretty sure aprs.fi assumes these values are set. 2023-02-10 21:12:34 EST: >SUQV8V,,WIDE2-1,qAR,:'vY0l?<0x1c>#/"4g}BAT=4.0V?Temp=79F 2023-02-10 21:26:23 EST: >APTT4,,WIDE2-1,qAR,:T#000,153,600,999,688,550,00000011 Here is what aprs.fi has:??
Solution 1:??? change TELREAD from FALSE to TRUE ???????????????????? easy fix, but the voltage values will be graphed as 10x their actual value ???????????????????? V=4.0V would be graphed as 40V ???????????????????? T=78 deg would be graphed as 78 degrees (since your DMETRIC FALSE) Solution 2:?? Provide EQN values for voltage so aprs.fi (and others) will decode the values properly ??????????????????? You can do with along with Solution 1 to graph voltage in decimal value. ??????????????????? So for channel 1 EQN: 0,0.1,0 ???? :KN4UNS02:EQNS.0,0.1,0,0,1,0,0,1,0,0,1,0,0,1,0 That is the EASY way. Option 3: leave TELREAD FALSE and supply the correct EQN for the raw data. ??????????????? For the voltage, the second coefficient for the equation is simply? 999 / 5 / 0.18 or 0.0278. ??????????????? For temperature, it is a bit more complicated because the sensor is in K (C), not R (F) ??????????????? Without showing the math, F = (bits)? * (500/999 * .18) - 459.4? or 0.9 bits - 459.4 ??????????????????? 500 is 5.00 V / 0.01 (V/ K) :KN4UNS02:EQNS.0,0.0278,0,0,0.9,-459.4,0,1,0,0,1,0,0,1,0 I hope this helps! KB8RCO
On Friday, February 10, 2023 at 10:56:29 PM EST, Neal Aguillard via groups.io <aguillardn@...> wrote:
I am using a TT4. I would like to have the battery voltage and temperature displayed graphically. I am able to get the true values to display in the comment section & raw data pagaes on aprs.fi, but can't get it graphed correctly. These are my TT4 settings: <Snip>? Extra settings removed DMETRIC is FALSE TELHIRES is TRUE TELREAD is FALSE TELTEMP is TRUE TELVOLT is TRUE TTEMPTWK is 113 TVOLTTWK is 255 Thanks Neal Aguillard KNRUSN-2 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I'm also working on this, wanting to graph the voltage and temperature telemetry obtained with ^V and ^T. I am using the low resolution setting but otherwise the settings are the same. I'm not at he site now so I can't send the setting list but I was working with it this afternoon and am pretty sure the settings are ok. Also, when I'm working low resolution(TELHIRES is FALSE), can you confirm that I don't have to send equation coefficients. More importantly, where do I put those in--I don't see it described in the TT4 parameter command list. Is it done at aprs.fi? Where is this described?
You can see our data at aprs.fi, filtered on W1BST. We're using an MTT4BT. Ralph Simons KC1RWK |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I didn't wee any graphs for W1BST (other than weather data).??As far as I know, there are no sites that will graph data in a status message.? You must send the data as a telemetry message (TPERIOD > 0).? The information displayed in BTEXT or TSTAT (using ^V and ^T) is not conveniently formatted for graphing.? You must use the Telemetry settings to provide the data in the proper format for graphing.? Doing so, the TT4 (or variant) will provide 5 values between 0 and either 999 (TELHIRES TRUE) or 255 (TELHIRES FALSE).? HOWEVER, there is a convenient setting to change the values from normal Analog-to-digital values to "HUMAN READABLE values for Voltage and temperature only.??
Simple Solution/Answer: ? ?TELHIRES FALSE ? ?TELREAD TRUE The Temperature value will be the integer value and graph properly (second value sent).? The voltage values will be 10 times the actual value read.? So (as the manual's example shows) 12.8V will be graphed as 128.? UNLESS, you provide the EQN information.? ?For information on sending the PARM, UNIT, EQN, and BITS messages, I'll point you to the APRS101.pdf file chapter 13.? But I will add that the messages are sent "TO" the callsign-ssid of the transmitting station (to identify which callsign-ssid the information pertains to). If you want to use additional signals (like another temperature sensor) connected to the other analog inputs of the MTT4BT, we can go through that in additional posts.? They WILL almost certainly require the EQN be sent to interpret the information in "human readable" format. ----- Robert Giuliano KB8RCO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Robert,
Thank you for pointing me to APRS101.pdf -- I've read it once, studied it some but nothing like a real application to make the learning stick. I think I will stick with your option 2 descibed in your first answer and repeated for me as well. One question: sending and APRS message is a manual operation from a terminal -- I'm ok with that but how often does it need to be sent? Just one and done as long as it's received by aprs.fi and associated with our call? and then if the coefficients change or more telemetry is added or we implement your Option 3, send it again to update aprs.fi and anybody else who cares?? Also, is it true that the BTT4BT will send all five analog values and the 8 bit values, even though I'm just using the first two analog values for voltage and temperature? I think that would result in needless data at aprs.fi, but more importantly, meaningless data that would show up. Hmm ... just thinking. You know, I remember that it shows up anyway, but just one (or an empty) data set, so there's already a space for it, just no data records. We'll see what happens. It will be a few days before I get back to the club's shack to implement the changes, but I'll follow up when I do. Thanks so much for the help and the direction. So I left you with a couple questions ... Ralph Simons KC1RWK |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I am not really sure how the different servers/clients keep track of the parameters.?
? ?Best guess is that they keep what they were given, until new data comes along.? ? ?So if you send the messages once, they should be good (for all the stations who receive it).? ? ?Since you are particularly interested in aprs.fi, you will know when the information is set properly. ? ? ? Just check on the callsign >Info >Telemetry Yes, the Telemetry message is formatted in a specific way to provide 5 analog sensors and 8 "flags" or bits. ? ? Personally, I would send the constants so that the reported values are always in volts.? That way the values are always relevant to the input. ? ? So, depending on what you have TELHIRES, the constants would be:? 5 Volts / 255 bits or 0.0196 or 5 Volts / 999 bits or .005 ? ? With TELREAD TRUE (so the first 2 channels are "human Readable"),?the "non-specified" channels would be: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |----Bat-----|-Temp--|--------JP5-------|--------JP4-------|-------JP3-------| ? ? TELHIRES FALSE:? ? ? ? :EQNS.0,0.1,0,0,1,0,0,0.0196,0,0,0.0196,0,0,0.0196,0 ? ? TELHIRES TRUE:? ? ? ? ? :EQNS.0,0.1,0,0,1,0,0,0.0005,0,0,0.0005,0,0,0.0005,0 and ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?:PARM.Battery,Temp,V_J5,V_J4,V_J3 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?UNIT.Volts,Deg_F,Volts,Volts,Volts When undefined analog inputs are reading volts, there is at least some meaning to the value.?? If, at some point later, you cannot a sensor, then the sensor parameters can easily be used to convert to engineering units. ? ?Example:? a atm pressure sensor that provides 250 mBar per volts:? when the channels reads 4 volts, the sensor is at 1000 mBar. ----- Robert Giuliano KB8RCO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Jim Darrough
¿ªÔÆÌåÓýAnyone know what to use for the map symbol code on the tracker4 so it shows up as an iGate? I have "/k" right now but it shows up as a truck. 73 KI7AY On 2/16/2023 2:12 PM, Ralph Simons
wrote:
On Thu, Feb 16, 2023 at 10:19 AM, Rob Giuliano wrote: -- 73 Jim,KI7AY la ciruela y cabeza de hueso en Panama |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The symbol table is easy to find on the web:? That's the first (not all text) one in the search. /k is defintely a truck. HF IGATE typically use /& which is a diamond on the alt table. therefore most IGates use numbered diamonds such as 1&, 2&, ... Robert Giuliano
On Saturday, February 18, 2023 at 02:02:47 PM EST, Jim Darrough <jim@...> wrote:
Anyone know what to use for the map symbol code on the tracker4 so it shows up as an iGate? I have "/k" right now but it shows up as a truck. 73 KI7AY On 2/16/2023 2:12 PM, Ralph Simons
wrote:
On Thu, Feb 16, 2023 at 10:19 AM, Rob Giuliano wrote: -- 73 Jim,KI7AY la ciruela y cabeza de hueso en Panama |