Reply to All
Show messages
Messages
Inbox
Search
Login
1–10
Decode some data
From: ANT_THOMAS
26 May 2020 11:08
To: Peter (BOUGHTONP)
7 of 10
42633.7
In reply to
42633.4
Numbers are correct, as I've now manually successfully decoded it.
In terms of documentation, I've made and coded these sensors myself, I just didn't entirely understand how the data was encoded with the library (RadioHead ASK).
Now just need to figure out a command line binary to IEEE 754 floating point number conversion.
From: Peter (BOUGHTONP)
26 May 2020 11:21
To: ANT_THOMAS
8 of 10
42633.8
In reply to
42633.7
Bash doesn't do floating point, but I still expected it to be a simple case of calling
bc
or something, but nothing useful comes up from relevant searches.
Guess you'll have to convert your manual steps to Perl or Python?
From: ANT_THOMAS
26 May 2020 11:26
To: Peter (BOUGHTONP)
9 of 10
42633.9
In reply to
42633.8
Yeah, seen similar. Was wanting to use bc. Now looking at some other simple programs, C++, Perl or Python should handle it, then feed it back in.
From: ANT_THOMAS
26 May 2020 12:36
To: ALL
10 of 10
42633.10
Done, decoded using some simple python.