It is currently Sun 24. Nov 2024 13:06:55

All times are UTC + 1 hour





Post new topic Reply to topic  [ 4 posts ] 
  Print view Previous topic | Next topic 
Author Message
PostPosted: Wed 05. Aug 2020 15:43:07 
Offline
User avatar

Joined: Tue 10. Mar 2020 14:36:22
Posts: 370
Hello Tomas,

as there was a lot discussion in the last weeks around temperature values reported via Hw telemetry (and me too i was not confident about the measurements), i did a slight test: i have mounted a j-log(s32) in addition to Spirit 2 telemetry on my Logo444SE and both had the chance to give their telemetry-values at the same time out of the very same flight.

attached you can find a pic of the log (if you need the full log, no problem) - i have configured same colors for same values: as you can see all common values do match +/- perfectly, the only one being not OK is the purple one: Spirit temp. quickly was up at 93°C and j-log reported a max. FET temp. of 48°C.

... all the people used to (~ coming from) other telemetry implementations are afraid of burning down their Escs ;)

Ciao
Michael

nb: test-setup: the Hw80 v4 was connected as normal with Spirit 2 telemetry cable. Spirit is connected via EX bus to Rex3 (E1). j-log S32 was attached to Rex3 / E2 and the signal wire only (orange) of the Hw's telemetry port was y-cabled to j-log's signal in. so both telemetries worked in parallel.


Attachments:
Bildschirmfoto 2020-08-05 um 16.27.48.png
Bildschirmfoto 2020-08-05 um 16.27.48.png [ 841.23 KiB | Viewed 204 times ]

_________________
cheers
Michael
Top
 Profile  
 
PostPosted: Thu 06. Aug 2020 19:32:06 
Offline
User avatar

Joined: Thu 02. Jul 2020 13:51:48
Posts: 50
Location: Germany / Cologne
Hi,

Calculating the temperature from the raw data of HW is a litle tricky. Here is how i did it in my HW2S.Port Arduino Projekt.

float calcTempHW(uint16_t tempRaw)
{
uint16_t tempFunc[26][2] =
{{0, 1},
{14, 2},
{28, 3},
{58, 5},
{106, 8},
{158, 11},
{234, 15},
{296, 18},
{362, 21},
{408, 23},
{505, 27},
{583, 30},
{664, 33},
{720, 35},
{807, 38},
{897, 41},
{1021, 45},
{1150, 49},
{1315, 54},
{1855, 70},
{1978, 74},
{2239, 82},
{2387, 87},
{2472, 90},
{2656, 97},
{2705, 99}};
if (tempRaw > 3828)
return 0;
if (tempRaw < 1123)
return 100;
tempRaw = 3828 - tempRaw;
uint8_t i = 0;
while (i < 26 && tempRaw >= tempFunc[i][0])
{
i++;
}
return tempFunc[i - 1][1] + (tempFunc[i][1] - tempFunc[i - 1][1]) * (float)(tempRaw - tempFunc[i - 1][0]) / (tempFunc[i][0] - tempFunc[i - 1][0]);
}

The result is the same like in jlog with this way.
hope it helps a little.


Top
 Profile  
 
PostPosted: Fri 07. Aug 2020 10:50:14 
Offline
Site Admin

Joined: Mon 29. Apr 2013 16:06:44
Posts: 12442
Hello,

thank you for the message. We know the measurements are different but it is intentional.
It seems people are very confused so we will change the output in next update.
Then all will be good I believe.

_________________
Spirit System developer


Top
 Profile  
 
PostPosted: Fri 07. Aug 2020 14:53:09 
Offline
User avatar

Joined: Tue 10. Mar 2020 14:36:22
Posts: 370
great to hear Tomas,

thx a lot for the update... will help for sure against all the confusion ;)

_________________
cheers
Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 96 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
skymiles_red v1.0.1 designed by Team -Programming forum-سيارات للبيع .