T-beam versions - AXP192 is replaced by an AXP2101. And sending temperature in degrees of Celsius. #178

Closed
opened 2026-10-05 05:45:50 +02:00 by adam · 12 comments
Owner

As in title: In version 1.1 sends tracker in beacon voltage and current (+- charging/discharging) and in V1.2 voltage and percentage of baterry. Information of current is more useful, because percentage is calculated from baterry voltage and it can be estimated from this. Is'nt possible to get info about current from this other MPU and send it? Thanks

And one request for all devices using WX sensor, mostly WX station: Is it possible to send (in comment? telemetry?) acurate temperature in degrees of Celsius readed from BME280? I know, that degrees of F is a part od APRS standard for WX beacon, but its too inacurace without decimals.
Thanks

As in title: In version 1.1 sends tracker in beacon voltage and current (+- charging/discharging) and in V1.2 voltage and percentage of baterry. Information of current is more useful, because percentage is calculated from baterry voltage and it can be estimated from this. Is'nt possible to get info about current from this other MPU and send it? Thanks And one request for all devices using WX sensor, mostly WX station: Is it possible to send (in comment? telemetry?) acurate temperature in degrees of Celsius readed from BME280? I know, that degrees of F is a part od APRS standard for WX beacon, but its too inacurace without decimals. Thanks <!-- github-sync-id:2811797594 -->
adam closed this issue 2026-10-05 05:45:51 +02:00
Author
Owner

Axp2101 has no way to measure current (only axp192 did that)

As for Celsius : wx packet is in F. But is has enough resolution. Right?

Axp2101 has no way to measure current (only axp192 did that) As for Celsius : wx packet is in F. But is has enough resolution. Right? <!-- github-comment-id:2614616793 -->
Author
Owner

1/ OK. thank You for informatiom. I thought that newer means better...

2/ Resolution is the right word, not accuracy! :-) I like to watch RAW data or comment with degrees Celsius with decimal, readed from T sensor (BME280 in this case), not calculated integer F degree value (which is for APSR format necessary) and back calculated in C degree by aprs.fi. Maybe see for inspiration: https://aprs.fi/?c=raw&call=OK2ILA-6&limit=50&view=normal
It is my very old project with WX station, that sends via RS232 APRS WX frame with C in comment to an old OpenWRT router with script, which it reades and puts into APRS-IS. At the same time, it compares and records max and min values of the day and sends it as comment in next beacon with the time stamp when was recorded.
MAX and MIN values since last reboot (e.g. "Reboot mode" active - 24hours) in comment maybe would be useful too...
But I thing it is too much work with programming and I don'nt know, how many users will appreciate it.

1/ OK. thank You for informatiom. I thought that newer means better... 2/ Resolution is the right word, not accuracy! :-) I like to watch RAW data or comment with degrees Celsius with decimal, readed from T sensor (BME280 in this case), not calculated integer F degree value (which is for APSR format necessary) and back calculated in C degree by aprs.fi. Maybe see for inspiration: https://aprs.fi/?c=raw&call=OK2ILA-6&limit=50&view=normal It is my very old project with WX station, that sends via RS232 APRS WX frame with C in comment to an old OpenWRT router with script, which it reades and puts into APRS-IS. At the same time, it compares and records max and min values of the day and sends it as comment in next beacon with the time stamp when was recorded. MAX and MIN values since last reboot (e.g. "Reboot mode" active - 24hours) in comment maybe would be useful too... But I thing it is too much work with programming and I don'nt know, how many users will appreciate it. <!-- github-comment-id:2615089742 -->
Author
Owner

I guess this comments of min and max would be super niche custom mod

but I'm revisiting this and also other process of the WX LoRa APRS station.

I guess this comments of min and max would be super niche custom mod but I'm revisiting this and also other process of the WX LoRa APRS station. <!-- github-comment-id:2616384280 -->
Author
Owner

Yes I understand

But some way, how to read current temperature exactly in C would be great! (without re-calculate from integer F, e.g. in aprs.fi).

Yes I understand But some way, how to read current temperature exactly in C would be great! (without re-calculate from integer F, e.g. in aprs.fi). <!-- github-comment-id:2616681106 -->
Author
Owner

Yes I understand

But some way, how to read current temperature exactly in C would be great! (without re-calculate from integer F, e.g. in aprs.fi).

I guess it all depends on where or how you are seeing this info. Over Aprs.fi or similar webpages or decoding it form RF with a program?

> Yes I understand > > But some way, how to read current temperature exactly in C would be great! (without re-calculate from integer F, e.g. in aprs.fi). I guess it all depends on where or how you are seeing this info. Over Aprs.fi or similar webpages or decoding it form RF with a program? <!-- github-comment-id:2623257910 -->
Author
Owner

I am sorry, don't understand. If I send to APRS WX data, temeprature is in integer value of Fahrenheit degree, and aprs.fi it recalculate back to Celsius with one decimal place. This recalculation and rounding generates error about 0.4-0.5 C. Accuracy of BME280 is +-0.5 C. So total error can be almost about 1C. It is my pleasure to see temperature as accurate as possible. So I want to see value readed from BME280 in comment (as voltage e.g.). Better would be telemetry, but it is too much packets and maybe difficult to create.

I am sorry, don't understand. If I send to APRS WX data, temeprature is in integer value of Fahrenheit degree, and aprs.fi it recalculate back to Celsius with one decimal place. This recalculation and rounding generates error about 0.4-0.5 C. Accuracy of BME280 is +-0.5 C. So total error can be almost about 1C. It is my pleasure to see temperature as accurate as possible. So I want to see value readed from BME280 in comment (as voltage e.g.). Better would be telemetry, but it is too much packets and maybe difficult to create. <!-- github-comment-id:2625628264 -->
Author
Owner

I am sorry, don't understand. If I send to APRS WX data, temeprature is in integer value of Fahrenheit degree, and aprs.fi it recalculate back to Celsius with one decimal place. This recalculation and rounding generates error about 0.4-0.5 C. Accuracy of BME280 is +-0.5 C. So total error can be almost about 1C. It is my pleasure to see temperature as accurate as possible. So I want to see value readed from BME280 in comment (as voltage e.g.). Better would be telemetry, but it is too much packets and maybe difficult to create.

will try to edit and test the code of the WX packet info gathering.

i wont asume much super perfect Temperature from BME280 ... as the error is "ok" and its a PRESSURE measuring device with Temperature correction. But not a perfect Temperature module.

although I will try to revisit the calculations to have a little more robust data...

> I am sorry, don't understand. If I send to APRS WX data, temeprature is in integer value of Fahrenheit degree, and aprs.fi it recalculate back to Celsius with one decimal place. This recalculation and rounding generates error about 0.4-0.5 C. Accuracy of BME280 is +-0.5 C. So total error can be almost about 1C. It is my pleasure to see temperature as accurate as possible. So I want to see value readed from BME280 in comment (as voltage e.g.). Better would be telemetry, but it is too much packets and maybe difficult to create. will try to edit and test the code of the WX packet info gathering. i wont asume much super perfect Temperature from BME280 ... as the error is "ok" and its a PRESSURE measuring device with Temperature correction. But not a perfect Temperature module. although I will try to revisit the calculations to have a little more robust data... <!-- github-comment-id:2625711687 -->
Author
Owner

Yes, I know, but this accuracy is for so cheap device sufficiently good.
I found in /src/wx_utils.cpp line 221: String tempStr = generateTempString(((newTemp + Config.wxsensor.temperatureCorrection) * 1.8) + 32);
It is formula for conversion C to F. Please forgive me unknowledge of C++, but I think that in "newTemp" is value readed from sensor (in next step corrected by user defined value). And my idea is to get this corrected value and convert it to ASCII string and put it into comment part of paket with one decimal place (e.g. -01,2C). Like now is Batt=X.XXV
But I don't know, how high resolution in "newTemp" is. If too low then it doesn't make sense...

Yes, I know, but this accuracy is for so cheap device sufficiently good. I found in **/src/wx_utils.cpp line 221**: String tempStr = generateTempString(((newTemp + Config.wxsensor.temperatureCorrection) * 1.8) + 32); It is formula for conversion C to F. Please forgive me unknowledge of C++, but I think that in "newTemp" is value readed from sensor (in next step corrected by user defined value). And my idea is to get this corrected value and convert it to ASCII string and put it into comment part of paket with one decimal place (e.g. -01,2C). Like now is Batt=X.XXV But I don't know, how high resolution in "newTemp" is. If too low then it doesn't make sense... <!-- github-comment-id:2629077337 -->
Author
Owner

this is on the list for next update

this is on the list for next update <!-- github-comment-id:3270998475 -->
Author
Owner

After some time, I updated the firmware for the tracker with a WX sensor and I see that it can send WX data (when stationary) as "pure" telemetry. We discussed this some time ago with Igate. Was it not possible to implement this into the firmware for Igate as well? (finer resolution, degrees Celsius)? Are you planning to do so?

After some time, I updated the firmware for the tracker with a WX sensor and I see that it can send WX data (when stationary) as "pure" telemetry. We discussed this some time ago with Igate. Was it not possible to implement this into the firmware for Igate as well? (finer resolution, degrees Celsius)? Are you planning to do so? <!-- github-comment-id:3387297791 -->
Author
Owner

Hi,
it is posible and its comming for igate too.

the goal is to enable the igate to send Wx data as Wx packet or as Telemetry, but also (if regular telemetry is selected) to send more variables too.

i have to add a new sensor and code for it, but i was finishing a few touches on other ideas before

Hi, it is posible and its comming for igate too. the goal is to enable the igate to send Wx data as Wx packet or as Telemetry, but also (if regular telemetry is selected) to send more variables too. i have to add a new sensor and code for it, but i was finishing a few touches on other ideas before <!-- github-comment-id:3387526558 -->
Author
Owner

Hi,
That's great! I'm testing and using some Igates primarily as WX stations, and I would really like this option. I'm looking forward to it!

Hi, That's great! I'm testing and using some Igates primarily as WX stations, and I would really like this option. I'm looking forward to it! <!-- github-comment-id:3392024770 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/LoRa_APRS_iGate#178