Go Down

Topic: 433 MHz RF - Temperature and humidity sensor (Read 39 times) previous topic - next topic

Riva

#30
Feb 04, 2013, 06:37 pm Last Edit: Feb 04, 2013, 06:41 pm by Riva Reason: 1
The CRC has me stumped.  :smiley-sad-blue: Though it might not be a CRC! Program code I wrote should be fairly robust as it reports 2x consecutive matching reads.
But here is what I see sofar.
Code: [Select]
Temp*C RH% ?? DeviceID BC CH Temperature- Humidity --CRC?--
             Rnd Num- BB XX LLLLMMMMHHHH LLLLHHHH
7,1*C 93% 00 01010111 01 01 001101000101 11010101 10011000
7,3*C 92% 00 01010111 01 01 011101000101 11000101 10010110
7,3*C 92% 00 01010111 01 01 011101000101 11000101 10010110
8.1*C 91% 00 01010111 10 01 010101010101 10110101 10010001
9.0*C 90% 00 01010111 10 01 011001100101 10100101 10011000
9.2*C 88% 00 01010111 10 01 100101100101 10000101 10010110
10.3*C 85% 00 01010111 10 01 111001110101 01010101 00010001
10.6*C 85% 00 01010111 10 01 001010000101 01010101 10011010
10.9*C 84% 00 01010111 10 01 100110000101 01000101 10010000
11.8*C 83% 00 01010111 10 01 100010010101 00110101 10011100
11.9*C 83% 00 01010111 10 01 101110010101 00110101 10010110
12.2*C 81% 00 01010111 10 01 000010100101 00010101 10010101
12.6*C 79% 00 01010111 10 01 011010100101 11110100 10010010
13.2*C 75% 00 01010111 10 01 000110110101 10110100 10010110
13.4*C 75% 00 01010111 10 01 011010110101 10110100 10010111
13.7*C 75% 00 01010111 10 01 101010110101 10110100 00010001 (no force)
13.9*C 75% 00 01010111 10 01 111010110101 10110100 10010010
14.2*C 75% 00 01010111 10 01 001111000101 10110100 00011100 (no force)
14.4*C 75% 00 01010111 10 01 011111000101 10110100 10011111
14.6*C 75% 00 01010111 10 01 101111000101 10110100 10010001
14.6*C 75% 00 01010111 10 01 101111000101 10110100 00011001 (no force)
14.8*C 75% 00 01010111 10 01 111111000101 10110100 10011010
15.3*C 73% 00 01010111 10 01 011111010101 10010100 10010111
16.2*C 67% 00 01010111 10 01 011111100101 00110100 10010101
16.6*C 64% 00 01010111 10 01 111111100101 00000100 00010111 (no force)
16.9*C 66% 00 01010111 10 01 010111110101 00100100 00010110 (no force)
17.2*C 65% 00 01010111 10 01 101011110101 00010100 00011101
17.4*C 64% 00 01010111 10 01 111011110101 00000100 00010011 (no force)
17.6*C 63% 00 01010111 10 01 000000000110 11110011 00010001
17.7*C 61% 00 01010111 10 01 001100000110 11010011 10011001
17.9*C 60% 00 01010111 10 01 011100000110 11000011 00011111
CH 1 ------                                        
18.0*C 58% 00 01010111 10 00 100000000110 10100011 10010100
18.2*C 58% 00 01010111 10 00 110000000110 10100011 00010111
CH 2 ------                                        
19.0*C 56% 00 01010111 10 01 101000010110 10000011 10011010
19.2*C 56% 00 01010111 10 01 110100010110 10000011 10011011
19.2*C 56% 00 01010111 10 01 110100010110 10000011 00010011
19.3*C 56% 00 01010111 10 01 000000100110 10000011 10010101
19.5*C 55% 00 01010111 10 01 001100100110 01110011 00010001
19.7*C 55% 00 01010111 10 01 011000100110 01110011 10010100
19.8*C 54% 00 01010111 10 01 100000100110 01100011 10010011
19.9*C 55% 00 01010111 10 01 101000100110 01110011 10011010
20.0*C 55% 00 01010111 10 01 110000100110 01110011 10011101
20.1*C 54% 00 01010111 10 01 111000100110 01100011 10010100
20.1*C 54% 00 01010111 10 01 111000100110 01100011 10010100
CH 3 ------                                        
18.4*C 59% 00 01010111 10 10 111100000110 10110011 10010111
18.6*C 57% 00 01010111 10 10 001000010110 10010011 10010111
18.7*C 56% 00 01010111 10 10 010100010110 10000011 10010011
                                                 
20.1*C 47% 00 01010111 10 01 110100100110 11110010 10010110
20.1*C 47% 00 01010111 10 01 110100100110 11110010 00011110
20.1*C 48% 00 01010111 10 01 111000100110 00000011 00010001 (no force)
20.2*C 48% 00 01010111 10 01 111100100110 00000011 10011111
20.2*C 47% 00 01010111 10 01 000000110110 11110010 10011100
                                                 
20.0*C 44% 00 01010111 10 00 110000100110 11000010 00011101 CH1
20.0*c 44% 00 01010111 10 01 110000100110 11000010 00010111 CH2
20.1*C 44% 00 01010111 10 10 111000100110 11000010 10011110 CH3
                                                 
          00 00101111 10 01 001000110110 01110010 00001010 BATTERY + OLD NI-MH accu BATTERY [station DOESNT show this as a 'weak battery']
          00 10101101 00 01 110000110110 01010010 10001010 USED BATTERY
          00 11110101 00 01 011101000110 01000010 10001011 ONE USED AND ONE GOOD BATTERY
          00 10100100 00 01 110001000110 00110010 10000110 AND BACK TO GOOD BATTERY (pair which I used for all measures)

          00 10100100 00 01 110001000110 00110010 10000110
          00 10100100 00 01 110001000110 00110010 10000110
          00 10100100 00 01 110001000110 00110010 10000110
          00 10100100 00 01 110001000110 00110010 10000110
          00 10100100 00 01 110001000110 00110010 10000110
          00 10100100 00 01 110001000110 00110010 00001110
          00 10100100 00 01 110001000110 00010010 00000100
          00 10100100 00 01 110001000110 00010010 00000100
          00 10100100 00 01 110001000110 00010010 00000100
          00 10100100 00 01 110001000110 00010010 00000100
          00 10100100 00 01 110001000110 00000010 00000001
          00 10100100 00 01 110001000110 00000010 00000001
          00 10100100 00 01 110101000110 11110001 00000100
          00 10100100 00 01 110101000110 11110001 00000100
          00 10100100 00 01 110101000110 11110001 00000100
          00 10100100 00 01 110101000110 11110001 00000100
          00 10100100 00 01 111001000110 11100001 00001011
          00 10100100 10 01 111001000110 11100001 00000100
          00 10100100 10 01 111001000110 11100001 00000100
          00 10100100 10 01 111001000110 11100001 00000100
          00 10100100 10 01 000001010110 11100001 00000100
          00 10100100 10 01 000001010110 11100001 00000100
          00 10100100 10 01 000001010110 11110001 00000001
          00 10100100 10 01 000001010110 11100001 00000100
          00 10100100 10 01 000001010110 11100001 00000100
          00 10100100 10 01 000001010110 11100001 00000100
          00 10100100 10 01 000101010110 11100001 00000010
          00 10100100 10 01 001001010110 11100001 00001000
          00 10100100 10 01 001001010110 11100001 00001000
          00 10100100 10 01 001001010110 11100001 00001000
          00 10100100 10 01 001001010110 11100001 00001000
          00 10100100 10 01 001101010110 11100001 00001110
          00 10100100 10 01 010001010110 11010001 00000000
          00 10100100 10 01 011001010110 11010001 00001100
         

andriej

I've just added some new regular readings, without touching the sensor outside. CH2, temperature around 2.7*C on last read, humid 80%.
In the doc: https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit?usp=sharing

Riva

Quote
Also, about CRC.
Assuming it's again LLLLHHHH, the only values I see on LLLL are:
Code: [Select]
0000 - dec: 0
0001 - dec: 1
1000 - dec: 8
1001 - dec: 9

I'm tending to agree with you here. I would expect a true CRC value to be a lot more random. Maybe greater minds than ours can enlighten us!

andriej

I added another ton of readings from night (without values, but may be a hint for the CRC part). Nothing else really changed during these hours.
https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit?usp=sharing

I hope someone maybe will have a fresh look on it.

andriej

We're almost there... Right now I'm testing out Riva's code and reading Fahrenheit values.
Still no CRC and not 100% sure battery part.
Can be seen up-to-date on google docs: https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit?usp=sharing
or in the post:
Code: [Select]
--RIVA SKETCH started 19:03 05/02/2013:

          BB CC LLLLMMMMHHHH LLLLHHHH
Preamble- B? CH Temperature- Humidity --CRC?--   TT.TT*F HH%
001010010000 01 011000010101 11100100 00001001   40.20 F 78%
001010010000 01 010100010101 11100100 00000011   40.10 F 78%
001010010000 01 010100010101 11100100 00000011   40.10 F 78%
001010010000 01 010100010101 11100100 00000011   40.10 F 78%
001010010000 01 010100010101 11100100 00000011   40.10 F 78%
001010010000 01 011100010101 11110100 00001010   40.30 F 79%
001010010000 01 101100010101 00000101 00000001   40.70 F 80%
001010010000 01 110100010101 00000101 00000110   40.90 F 80%
001010010000 01 110100010101 00000101 00000110   40.90 F 80%
001010010000 01 110100010101 11110100 00000011   40.90 F 79%
001010010000 01 110100010101 11110100 10001011   40.90 F 79%
001010010000 01 110100010101 11110100 10001011   40.90 F 79%
001010010000 01 110100010101 11110100 10001011   40.90 F 79%
001010010000 01 111000010101 00000101 00001100   41.00 F 80%
001010010000 01 111000010101 00000101 00001100   41.00 F 80%
001010010000 01 111000010101 00000101 00001100   41.00 F 80%
001010010001 01 100100100101 00110101 00001010   42.10 F 83%
001010010001 01 100100100101 00110101 00001010   42.10 F 83%
001010010001 01 111100110101 01000101 00010110   44.30 F 84%
001010010001 01 111100110101 01000101 00010110   44.30 F 84%
001010010001 01 010001010101 01010101 00010000   46.40 F 85%
001010010001 01 010001010101 01010101 00010000   46.40 F 85%
001010010001 01 100001010101 01010101 00011110   46.80 F 85%
001010010001 01 100001010101 01010101 00011110   46.80 F 85%
001010010001 01 100001010101 01010101 00011110   46.80 F 85%
001010010001 01 001101100101 01010101 00010111   47.90 F 85%
001010010001 01 001101100101 01010101 00010111   47.90 F 85%
001010010001 01 001101100101 01010101 00010111   47.90 F 85%
001010010001 01 111001100101 00110101 00010010   49.00 F 83%
001010010001 01 111001100101 00110101 00010010   49.00 F 83%
001010010001 01 111001100101 00110101 00010010   49.00 F 83%
001010010001 01 100101110101 00100101 00010100   50.10 F 82%
001010010001 01 100101110101 00100101 00010100   50.10 F 82%
001010010001 01 100101110101 00100101 00010100   50.10 F 82%
001010010010 01 111101110101 00010101 00011101   50.70 F 81%
001010010010 01 111101110101 00010101 00011101   50.70 F 81%
001010010010 01 111101110101 00010101 00011101   50.70 F 81%
001010010010 01 100110000101 11110100 00010111   51.70 F 79%
001010010010 01 100110000101 11110100 00010111   51.70 F 79%
001010010010 01 001110010101 11010100 00010110   52.70 F 77%
001010010010 01 001110010101 11010100 00010110   52.70 F 77%
001010010010 01 110110010101 11000100 00010001   53.70 F 76%
001010010010 01 110110010101 11000100 00010001   53.70 F 76%
001010010010 01 001010100101 11000100 00010011   54.20 F 76%
001010010010 01 001010100101 11000100 00010011   54.20 F 76%
001010010010 01 001010100101 11000100 00010011   54.20 F 76%
001010010010 01 001010100101 11000100 00010011   54.20 F 76%
001010010010 01 101010100101 10110100 00011110   55.00 F 75%
001010010010 01 101010100101 10110100 00011110   55.00 F 75%
001010010010 01 101010100101 10110100 00011110   55.00 F 75%
001010010010 01 001010110101 10010100 00010011   55.80 F 73%
001010010010 01 001010110101 10010100 00010011   55.80 F 73%
001010010010 01 001010110101 10010100 00010011   55.80 F 73%
001010010010 01 100010110101 10000100 00011111   56.40 F 72%
001010010010 01 100010110101 10000100 00011111   56.40 F 72%
001010010010 01 100010110101 10000100 00011111   56.40 F 72%
001010010010 01 101110110101 01110100 00010011   56.70 F 71%
001010010010 01 101110110101 01110100 00010011   56.70 F 71%
001010010010 01 000111000101 01100100 00010001   57.30 F 70%
001010010010 01 000111000101 01100100 00010001   57.30 F 70%
001010010010 01 100011000101 01010100 00011101   58.00 F 69%
001010010010 01 100011000101 01010100 00011101   58.00 F 69% 

Go Up