¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Temperature


 

Friends
Can I make some formula on the raw signal from TSTATUS , PIN 2, ^7 ?
I mean , if I put?a temperature sensor , is it possible to do?some scaling?

--
PY5LF?
Luciano Fabricio


Livre de v¨ªrus. .


 

Not sure what you are asking.

I am not sure what PIN 2 refers to - PA2 is pin 38 whih already has a temperature sensor on it on most configurations.? If using that sensor, you can use ^T (deg F) or ^t (deg C) in the status or beacon messages.
Using these escape codes, the formulas are already applied.
NOTE: in firmware manual, TSTAT says "See BTEXT for excape codes." which refers to these ^ statements.

You can also use the TELTEMP to add that to the telemtry packet which you can send PARM, UNITS, and EQNS to set equations to interpret the data.? Most APRS clients handle these messages.

Robert Giuliano
KB8RCO



On Sunday, May 23, 2021, 3:44:09 PM EDT, py5lf_ <py5lf@...> wrote:


Friends
Can I make some formula on the raw signal from TSTATUS , PIN 2, ^7 ?
I mean , if I put?a temperature sensor , is it possible to do?some scaling?

--
PY5LF?
Luciano Fabricio


Livre de v¨ªrus. .


 

Robert?
Sorry my mistake , its PA2 , pin 38 . There is an option to send the raw tension in the PA2 , so my idea is to use an external temperature sensor more accurately?and make scaling .
For instance, the sensor gives me 0 to 5V , which means , -40 to 100 degrees . Is it possible???
Something likes this : TSTATUS = Temperature: ((^7*100)/50)

Em dom., 23 de mai. de 2021 ¨¤s 18:52, Rob Giuliano via <kb8rco=[email protected]> escreveu:

Not sure what you are asking.

I am not sure what PIN 2 refers to - PA2 is pin 38 whih already has a temperature sensor on it on most configurations.? If using that sensor, you can use ^T (deg F) or ^t (deg C) in the status or beacon messages.
Using these escape codes, the formulas are already applied.
NOTE: in firmware manual, TSTAT says "See BTEXT for excape codes." which refers to these ^ statements.

You can also use the TELTEMP to add that to the telemtry packet which you can send PARM, UNITS, and EQNS to set equations to interpret the data.? Most APRS clients handle these messages.

Robert Giuliano
KB8RCO



On Sunday, May 23, 2021, 3:44:09 PM EDT, py5lf_ <py5lf@...> wrote:


Friends
Can I make some formula on the raw signal from TSTATUS , PIN 2, ^7 ?
I mean , if I put?a temperature sensor , is it possible to do?some scaling?

--
PY5LF?
Luciano Fabricio


Livre de v¨ªrus. .



--
PY5LF?
Luciano Fabricio


 

Byon would have to answer for sure, but the TT4 is a microcontroller.
I am pretty confident there is no formula interpreter for the TSTAT message (or any other message).
I am sure the manual does not make any reference to such things.

I assume ytou are taking a temperature sensor and using amplification or some other means to improve the resolution.? Howver, if your circuit does scale the temperature range to 0 - 5V, your formula won't work.
Converting the voltage range of 0 to 5V scaled as -40 to 100 degrees would require the formula to be
?? T ???????????? = ?? (^7 * 140 / 5) - 40???????? where ^7 is in volts (140 / 5 = 28).
?? -40 deg??? =??????? (0V * 28) - 40??????????? HIRES TRUE = 0? bits??????????? HIRES FALSE = 0
?? 100 deg?? =??????? (5V * 28) - 40? ????????? HIRES TRUE = 999 bits???????? HIRES FALSE = 255
???? 25 deg?? =????(2.321 * 28) - 40 ????????? HIRES TRUE = 464 bits????????? HIRES FALSE = 118

I suggest connecting your sensor to JP4 (and use ^4 for the voltage).? I don't use JP5 because the header already has a pullup to Vcc.? This could alter youyr readings.? You can read the voltage using ^4 in TSTAT or BTEXT, but it won't be converted to temperature.? For that, you can either convert the voltage manually (after a while you get a feel for Voltage to temperature), or use the Telemetry (TPeriod > 0) to convert the data in an APRS client.? Using the telemetry , you can go to aprs.fi and see a graph of you data.? You just set TPERIOD > 0 to send the data.? The Telemtry message is sent in bits according to TELHIRES TRUE (values are 0 - 999 for voltages between 0 and 5V).

For proper decode, you need to send the proper messages:
With?
????TELHIRES TRUE
??? TELVOLT TRUE?????????? => PA2 is reported first in the data
????TELTEMP TRUE ???????? => PA1 is reported Second in the data
You would send the following, fo all statuins to properly interpret your data:
To {TT4 call-ssid}:PARM.PA2,PA1,PA5,PA4,PA3
To {TT4 call-ssid}:UNITS.Vols,degC,Volts,DegC,Volts
To {TT4 call-ssid}:EQNS.A1,B1,C1,A2,B2,C2,A3,B3,C3,A4,B4,C4,A5,B5,C5

So the known equations would be:
PA2 is Vin ?????? => ????? A1=0,? B1=0.0278,?? C1=0
PA1 is Tin??????? => ????? A2=0,? B2=0.5000,?? C2=-273.15
PA5 is V????????? => ????? A3=0,? B3=0.0050,?? C3=0
PA4 is Tnew??? =>?????? A4=0,? B4=0.1402,?? C4=-40
PA3 is V ???????? => ????? A5=0,? B350.0050,?? C5=0



FYI:
On the other hand, the TT4 (kit) uses an LM335.
The output is 10mV / degK (pretty common for temperature sensors of this type).
So, the range of the sensor is 0 - 5.00V or 0 - 500 degK => -273.15C to 226.85C
The TT4 does the calculation for ^T and ^t with that expectation.
So, if you place a different sensor in its place with different scaling, the ^T and ^t would (of course) be off.

Robert Giuliano
KB8RCO



On Sunday, May 23, 2021, 6:59:09 PM EDT, py5lf_ <py5lf@...> wrote:


Robert?
Sorry my mistake , its PA2 , pin 38 . There is an option to send the raw tension in the PA2 , so my idea is to use an external temperature sensor more accurately?and make scaling .
For instance, the sensor gives me 0 to 5V , which means , -40 to 100 degrees . Is it possible???
Something likes this : TSTATUS = Temperature: ((^7*100)/50)

Em dom., 23 de mai. de 2021 ¨¤s 18:52, Rob Giuliano via <kb8rco=[email protected]> escreveu:

Not sure what you are asking.

I am not sure what PIN 2 refers to - PA2 is pin 38 whih already has a temperature sensor on it on most configurations.? If using that sensor, you can use ^T (deg F) or ^t (deg C) in the status or beacon messages.
Using these escape codes, the formulas are already applied.
NOTE: in firmware manual, TSTAT says "See BTEXT for excape codes." which refers to these ^ statements.

You can also use the TELTEMP to add that to the telemtry packet which you can send PARM, UNITS, and EQNS to set equations to interpret the data.? Most APRS clients handle these messages.

Robert Giuliano
KB8RCO



On Sunday, May 23, 2021, 3:44:09 PM EDT, py5lf_ <py5lf@...> wrote:


Friends
Can I make some formula on the raw signal from TSTATUS , PIN 2, ^7 ?
I mean , if I put?a temperature sensor , is it possible to do?some scaling?

--
PY5LF?
Luciano Fabricio


Livre de v¨ªrus. .



--
PY5LF?
Luciano Fabricio


 

Robert
Thank you for your time and explanation.
73

Em dom., 23 de mai. de 2021 ¨¤s 22:45, Rob Giuliano via <kb8rco=[email protected]> escreveu:

Byon would have to answer for sure, but the TT4 is a microcontroller.
I am pretty confident there is no formula interpreter for the TSTAT message (or any other message).
I am sure the manual does not make any reference to such things.

I assume ytou are taking a temperature sensor and using amplification or some other means to improve the resolution.? Howver, if your circuit does scale the temperature range to 0 - 5V, your formula won't work.
Converting the voltage range of 0 to 5V scaled as -40 to 100 degrees would require the formula to be
?? T ???????????? = ?? (^7 * 140 / 5) - 40???????? where ^7 is in volts (140 / 5 = 28).
?? -40 deg??? =??????? (0V * 28) - 40??????????? HIRES TRUE = 0? bits??????????? HIRES FALSE = 0
?? 100 deg?? =??????? (5V * 28) - 40? ????????? HIRES TRUE = 999 bits???????? HIRES FALSE = 255
???? 25 deg?? =????(2.321 * 28) - 40 ????????? HIRES TRUE = 464 bits????????? HIRES FALSE = 118

I suggest connecting your sensor to JP4 (and use ^4 for the voltage).? I don't use JP5 because the header already has a pullup to Vcc.? This could alter youyr readings.? You can read the voltage using ^4 in TSTAT or BTEXT, but it won't be converted to temperature.? For that, you can either convert the voltage manually (after a while you get a feel for Voltage to temperature), or use the Telemetry (TPeriod > 0) to convert the data in an APRS client.? Using the telemetry , you can go to and see a graph of you data.? You just set TPERIOD > 0 to send the data.? The Telemtry message is sent in bits according to TELHIRES TRUE (values are 0 - 999 for voltages between 0 and 5V).

For proper decode, you need to send the proper messages:
With?
????TELHIRES TRUE
??? TELVOLT TRUE?????????? => PA2 is reported first in the data
????TELTEMP TRUE ???????? => PA1 is reported Second in the data
You would send the following, fo all statuins to properly interpret your data:
To {TT4 call-ssid}:PARM.PA2,PA1,PA5,PA4,PA3
To {TT4 call-ssid}:UNITS.Vols,degC,Volts,DegC,Volts
To {TT4 call-ssid}:EQNS.A1,B1,C1,A2,B2,C2,A3,B3,C3,A4,B4,C4,A5,B5,C5

So the known equations would be:
PA2 is Vin ?????? => ????? A1=0,? B1=0.0278,?? C1=0
PA1 is Tin??????? => ????? A2=0,? B2=0.5000,?? C2=-273.15
PA5 is V????????? => ????? A3=0,? B3=0.0050,?? C3=0
PA4 is Tnew??? =>?????? A4=0,? B4=0.1402,?? C4=-40
PA3 is V ???????? => ????? A5=0,? B350.0050,?? C5=0



FYI:
On the other hand, the TT4 (kit) uses an LM335.
The output is 10mV / degK (pretty common for temperature sensors of this type).
So, the range of the sensor is 0 - 5.00V or 0 - 500 degK => -273.15C to 226.85C
The TT4 does the calculation for ^T and ^t with that expectation.
So, if you place a different sensor in its place with different scaling, the ^T and ^t would (of course) be off.

Robert Giuliano
KB8RCO



On Sunday, May 23, 2021, 6:59:09 PM EDT, py5lf_ <py5lf@...> wrote:


Robert?
Sorry my mistake , its PA2 , pin 38 . There is an option to send the raw tension in the PA2 , so my idea is to use an external temperature sensor more accurately?and make scaling .
For instance, the sensor gives me 0 to 5V , which means , -40 to 100 degrees . Is it possible???
Something likes this : TSTATUS = Temperature: ((^7*100)/50)

Em dom., 23 de mai. de 2021 ¨¤s 18:52, Rob Giuliano via <kb8rco=[email protected]> escreveu:
Not sure what you are asking.

I am not sure what PIN 2 refers to - PA2 is pin 38 whih already has a temperature sensor on it on most configurations.? If using that sensor, you can use ^T (deg F) or ^t (deg C) in the status or beacon messages.
Using these escape codes, the formulas are already applied.
NOTE: in firmware manual, TSTAT says "See BTEXT for excape codes." which refers to these ^ statements.

You can also use the TELTEMP to add that to the telemtry packet which you can send PARM, UNITS, and EQNS to set equations to interpret the data.? Most APRS clients handle these messages.

Robert Giuliano
KB8RCO



On Sunday, May 23, 2021, 3:44:09 PM EDT, py5lf_ <py5lf@...> wrote:


Friends
Can I make some formula on the raw signal from TSTATUS , PIN 2, ^7 ?
I mean , if I put?a temperature sensor , is it possible to do?some scaling?

--
PY5LF?
Luciano Fabricio


Livre de v¨ªrus. .



--
PY5LF?
Luciano Fabricio



--
PY5LF?
Luciano Fabricio