Show Posts
Pages: 1 [2] 3
16  Using Arduino / Microcontrollers / Problem with uploading bootloader to DX Arduino Nano on: February 23, 2013, 10:56:57 am
Hi

For my project I needed some cheap clones of Nano and I bought them from DealExtreme.
Four came, all without bootloader. I needed to program them with ArduinoISP. Three of them already works, fourth give me this error during bootloader upload:
Code:
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x3f != 0x00
avrdude: verification error; content mismatch
avrdude: Send: Q [51]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done.  Thank you.

Whole error code here: https://dl.dropbox.com/u/619007/nano.txt.

Anyone have ideas how to solve this?
17  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 22, 2013, 05:11:28 pm
Code works - the third interrupt gets data. But - again - strange thing happens...
It reads the code only when sensor is very,very near the Mega.
On Uno it read without problems from outside.

I have no clue why it could happen now...
18  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 21, 2013, 07:38:16 am
Hi!

I didn't manage to do it yet. I also couldn't get the two libraries to work on same receiver unfortunately.
I can get the receiver on separate arduino and run it for sereral hours to get readings one by one with values, so they may vary a little. I'll do this today right after work.
19  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 06, 2013, 07:38:30 am
New CRC findings:

- same values of temp and HUM, different "random"
Code:
001011111100 01 011001110110 00000011 00001111 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%
001011111100 01 011001110110 00000011 00001111 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%
000011000100 01 011001110110 00000011 10001011 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%
000011000100 01 011001110110 00000011 10001011 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%

- CRC is channel-number dependend
Code:
001010010001 01 011011110011 00100011 10010101 - Battery=1 Channel=1 Temperature=11.4F Humidity=50% CH-2
001010010001 10 011011110011 00100011 10011000 - Battery=1 Channel=2 Temperature=11.4F Humidity=50% CH-3
001010010001 00 011011110011 00100011 00010111 - Battery=1 Channel=0 Temperature=11.4F Humidity=50% CH-1
or
Code:
001011111100 10 111101100110 00010011 00000110 - Battery=0 Channel=2 Temperature=74.7F Humidity=49% CH2
001011111100 01 111101100110 00010011 00001011 - Battery=0 Channel=1 Temperature=74.7F Humidity=49% CH1

I got almost-succesful one lucky-shot of CRC calculation, but I couldn't repeat it with others... :-(
I summed up values of: Random + CH-dec + tempF (the after-dot value) and HUM - the number altogether was 1-2dec different from CRC (CRC 137, value 138).

Also one strange thing - same CRC, same temp and HUM, different binary?!
Code:
001110100100 01 001001110111 00101010 00101011 - Battery=0 Channel=1 Temperature=75.0F Humidity=43%
001110100100 01 001001110110 10110010 00101011 - Battery=0 Channel=1 Temperature=75.0F Humidity=43%
20  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 05, 2013, 04:37:02 pm
Riva made some updates to the code, testing it right now. We thought we caught the battery bit... But I've found 2 nimh accu's loaded with around 1,2V and had 2 good 1,46V batteries for comparison.
Just look at the payloads in the code below or under the doc: https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit?usp=sharing
I don't get a thing... it looks like whole payload is random except two leading zeroes...
It's even more strange because on one pair I caught a "low battery" indicator on weather station.

I also managed to put sensor in cold place (around -13*C degrees) - everything is below...
Code:
       BBBB CC LLLLMMMMHHHH LLLLHHHH
??RandNr--                            ????????
Preambl.Batt CH Temperature- Humidity --CRC?--   BT bits=x CHannel=x Temperature=XXXF Humidity=XX%  Comments
001010010001 01 110111010011 00000010 10100100 - Battery=1 Channel=1 Temperature=8.9F Humidity=32%  NEW CRC VALUE!
001010010001 01 110111010011 00000010 10100100 - Battery=1 Channel=1 Temperature=8.9F Humidity=32%  NEW CRC VALUE!!
001010010001 01 001011100011 11000010 00100111 - Battery=1 Channel=1 Temperature=9.4F Humidity=44%
001010010001 01 011011110011 00100011 10010101 - Battery=1 Channel=1 Temperature=11.4F Humidity=50% CRC-channel!!!
001010010001 10 011011110011 00100011 10011000 - Battery=1 Channel=2 Temperature=11.4F Humidity=50% CH-3 test
001010010001 00 011011110011 00100011 00010111 - Battery=1 Channel=0 Temperature=11.4F Humidity=50% CH-1 test
001010010001 01 010100000100 00100011 00010001 - Battery=1 Channel=1 Temperature=12.9F Humidity=50%
001010010001 01 111000010100 00010100 00011010 - Battery=1 Channel=1 Temperature=15.4F Humidity=65%
001010010001 01 111000010100 00010100 00011010 - Battery=1 Channel=1 Temperature=15.4F Humidity=65%
001010010001 01 100101000100 11110100 00010010 - Battery=1 Channel=1 Temperature=19.7F Humidity=79%
001010010001 01 110001100100 01100101 00010011 - Battery=1 Channel=1 Temperature=23.2F Humidity=86%
001010010001 01 100110010100 11000101 00010111 - Battery=1 Channel=1 Temperature=27.7F Humidity=92%
001010010001 01 000010110100 11000101 00010000 - Battery=1 Channel=1 Temperature=30.0F Humidity=92%
001010010001 01 011111000100 11000101 00011111 - Battery=1 Channel=1 Temperature=32.3F Humidity=92%
001010010001 01 011111000100 11000101 00011111 - Battery=1 Channel=1 Temperature=32.3F Humidity=92%
001010010001 01 110011010100 10110101 00011010 - Battery=1 Channel=1 Temperature=34.4F Humidity=91%
001010010001 01 110011010100 10110101 00011010 - Battery=1 Channel=1 Temperature=34.4F Humidity=91%
001010010001 01 000011100100 10110101 00010010 - Battery=1 Channel=1 Temperature=34.8F Humidity=91%
001010010001 01 010111110100 10010101 00010111 - Battery=1 Channel=1 Temperature=36.9F Humidity=89%
001010010001 01 000000000101 10000101 00011101 - Battery=1 Channel=1 Temperature=38.0F Humidity=88%
001010010001 01 110100000101 01100101 00010110 - Battery=1 Channel=1 Temperature=39.3F Humidity=86%
001010010010 01 110100010101 01010101 00011010 - Battery=2 Channel=1 Temperature=40.9F Humidity=85% BATTERY CHANGE
001010010010 01 110100010101 01010101 00011010 - Battery=2 Channel=1 Temperature=40.9F Humidity=85% got warmer and
001010010010 01 011000100101 01000101 00010110 - Battery=2 Channel=1 Temperature=41.8F Humidity=84% LCD becameclear
001010010010 01 011000010110 11010011 00010011 - Battery=2 Channel=1 Temperature=65.8F Humidity=61%
001010010010 01 100100010110 11010011 00010111 - Battery=2 Channel=1 Temperature=66.1F Humidity=61%
001010010010 01 100100010110 11010011 00010111 - Battery=2 Channel=1 Temperature=66.1F Humidity=61%
001010010010 01 101000010110 11000011 00011000 - Battery=2 Channel=1 Temperature=66.2F Humidity=60%
001010010010 01 110100010110 11000011 00011001 - Battery=2 Channel=1 Temperature=66.5F Humidity=60%
--- weak batteries
2x 1,23V NiMH (Philips) [multimeter]
000100101100 01 100100110110 11000011 11001110 - Battery=0 Channel=1 Temperature=69.3F Humidity=60%
000100101110 01 011001100110 10000011 11011001 - Battery=2 Channel=1 Temperature=73.8F Humidity=56%
000100101110 01 011001100110 10000011 11011001 - Battery=2 Channel=1 Temperature=73.8F Humidity=56%
000100101110 01 011001100110 10000011 11011001 - Battery=2 Channel=1 Temperature=73.8F Humidity=56%
000100101110 01 101001100110 01110011 01011001 - Battery=2 Channel=1 Temperature=74.2F Humidity=55%
000100101110 01 101001100110 01110011 01011001 - Battery=2 Channel=1 Temperature=74.2F Humidity=55%
000100101110 01 101001100110 01110011 01011001 - Battery=2 Channel=1 Temperature=74.2F Humidity=55%
000100101110 01 110101100110 01100011 11010101 - Battery=2 Channel=1 Temperature=74.5F Humidity=54%
000100101110 01 110101100110 01100011 11010101 - Battery=2 Channel=1 Temperature=74.5F Humidity=54%
000100101110 01 001101110110 00100011 11010010 - Battery=2 Channel=1 Temperature=75.1F Humidity=50%
000100101110 01 001101110110 00100011 11010010 - Battery=2 Channel=1 Temperature=75.1F Humidity=50%
000100101110 01 001101110110 00100011 01011010 - Battery=2 Channel=1 Temperature=75.1F Humidity=50%
000100101110 01 001101110110 00100011 01011010 - Battery=2 Channel=1 Temperature=75.1F Humidity=50%
000100101110 01 010101110110 00010011 01010010 - Battery=2 Channel=1 Temperature=75.3F Humidity=49%
000100101110 01 010101110110 00010011 01010010 - Battery=2 Channel=1 Temperature=75.3F Humidity=49%
--- mixed (1 weak and 1 good varta) [batt + nimh]
001011111100 01 011001110110 00000011 00001111 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%
001011111100 01 011001110110 00000011 00001111 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%
001011111100 10 111101100110 00010011 00000110 - Battery=0 Channel=2 Temperature=74.7F Humidity=49% CH2 for test
001011111100 01 111101100110 00010011 00001011 - Battery=0 Channel=1 Temperature=74.7F Humidity=49%
001011111100 01 011101100110 00100011 00000001 - Battery=0 Channel=1 Temperature=73.9F Humidity=50%
001011111100 01 011101100110 00100011 00000001 - Battery=0 Channel=1 Temperature=73.9F Humidity=50%
001011111100 01 011001100110 00010011 00001000 - Battery=0 Channel=1 Temperature=73.8F Humidity=49%
001011111100 01 011001100110 00010011 00001000 - Battery=0 Channel=1 Temperature=73.8F Humidity=49%
001011111100 01 011001100110 00000011 00001101 - Battery=0 Channel=1 Temperature=73.8F Humidity=48%
001011111100 01 011101100110 11110010 00001110 - Battery=0 Channel=1 Temperature=73.9F Humidity=47%
--- mixed (other pair, not the same batteries: 1 weak and 1 good varta) [batt + nimh]
000011000100 01 000001110110 00000011 10001100 - Battery=0 Channel=1 Temperature=74.8F Humidity=48%
000011000100 01 000101110110 00010011 00000111 - Battery=0 Channel=1 Temperature=74.9F Humidity=49%
000011000100 01 001101110110 00000011 10000110 - Battery=0 Channel=1 Temperature=75.1F Humidity=48%
000011000100 01 001101110110 00000011 10000110 - Battery=0 Channel=1 Temperature=75.1F Humidity=48%
000011000100 01 011001110110 00000011 10001011 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%
000011000100 01 011001110110 00000011 10001011 - Battery=0 Channel=1 Temperature=75.4F Humidity=48%
000011000100 01 101101110110 11100010 00001011 - Battery=0 Channel=1 Temperature=75.9F Humidity=46%
000011000100 01 101101110110 11100010 10000011 - Battery=0 Channel=1 Temperature=75.9F Humidity=46%
000011000100 01 101101110110 11100010 10000011 - Battery=0 Channel=1 Temperature=75.9F Humidity=46%
--- back to pair of weak+good batteries (the round before above)
--- the payload there was: 001011111100 - will it be the same?
001000111000 01 010110000110 11010010 00000110 - Battery=0 Channel=1 Temperature=76.9F Humidity=45%
001000111000 01 010110000110 11010010 00000110 - Battery=0 Channel=1 Temperature=76.9F Humidity=45%
000001110000 01 001110000110 11100010 10001101 - Battery=0 Channel=1 Temperature=76.7F Humidity=46%
000001110000 01 001110000110 11100010 10001101 - Battery=0 Channel=1 Temperature=76.7F Humidity=46%
^-- its not. i even switched accu with battery to see if it changes. payload is different from any above.
--- and now probably let the magic happen - lets go back to the original 2 varta batteries and see if payload is again: 001010010010
001110100100 01 101110000110 11000010 00001111 - Battery=0 Channel=1 Temperature=77.5F Humidity=44%
001110100100 01 101110000110 11000010 10000111 - Battery=0 Channel=1 Temperature=77.5F Humidity=44%
001110100100 01 100110000110 11000010 10001011 - Battery=0 Channel=1 Temperature=77.3F Humidity=44%
001110100100 01 100110000110 11000010 10001011 - Battery=0 Channel=1 Temperature=77.3F Humidity=44%
001110100100 01 100110000110 10110010 10000011 - Battery=0 Channel=1 Temperature=77.3F Humidity=43%
001110100100 01 100110000110 10110010 10000011 - Battery=0 Channel=1 Temperature=77.3F Humidity=43%
^--- no! it has changed...
---the only always-the-same-parameters are two leading zeroes... strange as hell. is it random number then?

It also seems that CRC is hugely dependant on that random data. Especially the first 4 bits.
21  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 05, 2013, 01:14:55 pm
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:
--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% 
22  Topics / Home Automation and Networked Objects / Re: Help decoding 433 mhz RF temperature and humidity sensor on: February 04, 2013, 11:20:48 pm
Guys, could you please take a look at our try to do the same - decode the 433 sensor data?
Whole thread is here, but the most important parts are on the last page:
http://arduino.cc/forum/index.php/topic,142871.30.html

Whole code gathered and some decoded is here:
https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit?usp=sharing

We need a fresh look on it... Especially the CRC part and battery/the first patterns.
23  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 04, 2013, 10:55:56 pm
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.
24  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 04, 2013, 12:49:39 pm
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
25  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 04, 2013, 08:29:49 am
I've reedited the google document now to get easier group-readings (and see the battery easier):
https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit?usp=sharing
I don't know if its possible (or used ever before), but maybe the battery sensor reading is 3 bits left of CH?

So, by:
5,7*C it was outside: 101 - dec: 5 (out of 10?)
inside, got a little warmer:
110 - dec: 6 (out of 10?)
later readings all are 6/10 (batteries are outside for 2-3 months already, and it is winter now)
then i started manipulating with batteries and other reading:
100 - dec: 4 (weaker battery, got a little stronger last read)
and after all the mess i threw sensor outside again and the last read noticed is:
010 - dec: 2 which messes all my theory... (or maybe it's 10 - 2/10? so battery is 8/10...)

Edit:
Also, about CRC.
Assuming it's again LLLLHHHH, the only values I see on LLLL are:
Code:
0000 - dec: 0
0001 - dec: 1
1000 - dec: 8
1001 - dec: 9
26  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 04, 2013, 07:52:05 am
I still wonder if first 8/10 bits are random number used as device ID
BC looks like 2 bit battery condition
CH is channel number from switch position?
Have not figured out the CRC yet but that's what I assume it is.

CH is indeed 3 position switch behind the sensor. Currently I use it on CH2 because on CH1 there's some sensor near used by neighbour and i got 2 readings (but can't reach them lately).
The device ID - look at the google document here: https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit
I've marked yellow the moment, that (what you assume BC is) changes.
Batteries didn't change by that moment, the only thing that changed was the sensor was held by me in hand and I was pushing "transmit" button all the time to get near-readings every fewteen seconds.

The other thing is, that on the most of the readings on that document i cut out all leading 'zeroes' which i assume was a mistake now.
But all the same readings are in post above here - i'll paste them back there.
27  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 04, 2013, 06:39:40 am
The transmitter will probably generate a random number when first powered on (or batteries changed) and this will become all/part of the preamble.

I'm not sure about this, because - how its possible to sensor to generate the same number again when putting back 'normal' batteries?
As you can see from here (and I don't know if I cut the lead 'zeroes' properly) - we have the same preamble after tries with 3 other sets of batteries.
Compare: "starting point" and "typical setup" - preamble is the same.
Code:
0001010111 01010011010001011101010110011000 - your preamble (7,1, RH93%)
0010100100 00011100010001100000001000000001 - starting point
0000101111 10010010001101100111001000001010 - battery + old ni-mh
0010101101 00011100001101100101001010001010 - used battery (1 GOOD, 1 'used')
0011110101 00010111010001100100001010001011 - used battery (1 GOOD, 1 nimh used)
0010100100 00011100010001100011001010000110 - typical setup (2AA varta batt.) (same as "starting point")

Great job with the temperature - as I see the biggest problem will be the code. :-)
28  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 04, 2013, 04:24:58 am
Wow, Riva, I'm amazed of the knownledge you get here. I wouldn't manage to get that never, probably.
As I've written on google docs - temperatures may be in fahrenheit.
Sensor, after changing batteries, views temp. as F degrees. I have to push button on the back to switch to celsius - the data sent by transmitter doesn't change by that.

I also see about that you also used 'preamble' - do you know why would it change when changing batteries?
Usually I see the battery-indicator in the transmission as a "high"/"low".
Maybe it was too late for me (and I was tired) but there are more changes in bits than one-two in preamble part.
29  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 03, 2013, 06:14:41 pm
Thank you for the code! It works and output i present below is exactly copy-paste from it!
Now it's much easier to get probes.

Here's the easy-to-read Google Doc version https://docs.google.com/document/d/121ZH3omAZsdhFi3GSB-YdnasMjIQSGIcaS7QW6KsACA/edit?usp=sharing of what I already manage to get to know about the sensor.
I already see the channel bits (000-1, 001-2, 010-3).


I have to wire up antenna to the reciever so I get all the signals (I had to get the transmitter close to arduino to get all readings one by one).
Those with "???" are not-quite-sure about temperature values, all other ones are written from LCD. Those with "(no force)" came from transmitter as it was sending data WITHOUT me pushing the button.
Code:
TT RH
5.7*C 94%  0000000000000000000000000101011101011011001001011110010110011110 ???
7,1*C 93%  0000000000000000000000000101011101010011010001011101010110011000
7,3*C 92%  0000000000000000000000000101011101010111010001011100010110010110
7,3*C 92%  0000000000000000000000000101011101010111010001011100010110010110
8.1*C 91%  0000000000000000000000000101011110010101010101011011010110010001
9.0*C 90%  0000000000000000000000000101011110010101010101011011010100011001 ???
9.0*C 90%  0000000000000000000000000101011110010110011001011010010110011000
9.2*C 88%  0000000000000000000000000101011110011001011001011000010110010110
10.3*C 85% 0000000000000000000000000101011110011110011101010101010100010001
10.6*C 85% 0000000000000000000000000101011110010010100001010101010110011010
10.9*C 84% 0000000000000000000000000101011110011001100001010100010110010000
11.8*C 83% 0000000000000000000000000101011110011000100101010011010110011100
11.9*C 83% 0000000000000000000000000101011110011011100101010011010110010110
12.2*C 81% 0000000000000000000000000101011110010000101001010001010110010101
12.6*C 79% 0000000000000000000000000101011110010110101001011111010010010010
13.2*C 75% 0000000000000000000000000101011110010001101101011011010010010110
13.4*C 75% 0000000000000000000000000101011110010110101101011011010010010111
13.7*C 75% 0000000000000000000000000101011110011010101101011011010000010001 (no force)
13.9*C 75% 0000000000000000000000000101011110011110101101011011010010010010
14.2*C 75% 0000000000000000000000000101011110010011110001011011010000011100 (no force)
14.4*C 75% 0000000000000000000000000101011110010111110001011011010010011111
14.6*C 75% 0000000000000000000000000101011110011011110001011011010010010001
14.6*C 75% 0000000000000000000000000101011110011011110001011011010000011001 (no force)
14.8*C 75% 0000000000000000000000000101011110011111110001011011010010011010
15.1*C 73% 0000000000000000000000000101011110010100110101011010010010010010 ???
15.3*C 73% 0000000000000000000000000101011110010111110101011001010010010111
16.2*C 67% 0000000000000000000000000101011110010111111001010011010010010101
16.6*C 64% 0000000000000000000000000101011110011111111001010000010000010111 (no force)
16.9*C 66% 0000000000000000000000000101011110010101111101010010010000010110 (no force)
17.2*C 65% 0000000000000000000000000101011110011010111101010001010000011101
17.4*C 64% 0000000000000000000000000101011110011110111101010000010000010011 (no force)
17.6*C 63% 0000000000000000000000000101011110010000000001101111001100010001
17.7*C 61% 0000000000000000000000000101011110010011000001101101001110011001
17.9*C 60% 0000000000000000000000000101011110010111000001101100001100011111
CH 1 -----------
18.0*C 58% 0000000000000000000000000101011110001000000001101010001110010100
18.2*C 58% 0000000000000000000000000101011110001100000001101010001100010111
CH 3 -----------
18.4*C 59% 0000000000000000000000000101011110101111000001101011001110010111
18.6*C 57% 0000000000000000000000000101011110100010000101101001001110010111
18.7*C 56% 0000000000000000000000000101011110100101000101101000001110010011

CH 2 -----------
19.0*C 56% 0000000000000000000000000101011110011010000101101000001110011010
19.2*C 56% 0000000000000000000000000101011110011101000101101000001110011011
19.2*C 56% 0000000000000000000000000101011110011101000101101000001100010011
19.3*C 56% 0000000000000000000000000101011110010000001001101000001110010101
19.5*C 55% 0000000000000000000000000101011110010011001001100111001100010001
19.7*C 55% 0000000000000000000000000101011110010110001001100111001110010100
19.8*C 54% 0000000000000000000000000101011110011000001001100110001110010011
19.9*C 55% 0000000000000000000000000101011110011010001001100111001110011010
20.0*C 55% 0000000000000000000000000101011110011100001001100111001110011101
20.1*C 54% 0000000000000000000000000101011110011110001001100110001110010100
20.1*C 54% 0000000000000000000000000101011110011110001001100110001110010100

I see some pattern, but can't decode it successfully yet.
What are those 'leading' zeroes?

Few more - next to each other and forced-nonforced readings from CH2.
Code:
20.1*C 47% 0000000000000000000000000101011110011101001001101111001010010110
20.1*C 47% 0000000000000000000000000101011110011101001001101111001000011110
20.1*C 48% 0000000000000000000000000101011110011110001001100000001100010001
 (no force)
20.2*C 48% 0000000000000000000000000101011110011111001001100000001110011111
20.2*C 47% 0000000000000000000000000101011110010000001101101111001010011100

Here are the CH1-2-3 differencies. The temperature changed slightly but it's possible to see where it happened in binary code.
Code:
20.0*c 44% 0000000000000000000000000101011110011100001001101100001000010111 CH2
20.0*C 44% 0000000000000000000000000101011110001100001001101100001000011101 CH1
20.1*C 44% 0000000000000000000000000101011110101110001001101100001010011110 CH3
and also other one - better to see:
Code:
20.5*C 44% [pulse] 101011110000101001101101100001010010100 CH1
20.5*C 44% [pulse] 101011110010101001101101100001010011110 CH2
20.5*C 44% [pulse] 101011110100101001101101100001010010011 CH3

I also tried to change battery to older one (to see the battery indicator) and I'm afraid I cant understand anything now...
Look at the pulse difference:
Code:
BATTERY + OLD NI-MH accu BATTERY [station DOESNT show this as a 'weak battery']
0000000000000000000000000010111110010010001101100111001000001010
USED BATTERY
0000000000000000000000001010110100011100001101100101001010001010
ONE USED AND ONE GOOD BATTERY
0000000000000000000000001111010100010111010001100100001010001011
AND BACK TO GOOD BATTERY (pair which I used for all measures)
0000000000000000000000001010010000011100010001100011001010000110
Another update.
Sensor and application has been on for hour or so, I didn't write down values.
These are the one printed - it looks like every column changes.
The last value is around 22.3*C 29%.
Code:
0000000000000000000000001010010000011100010001100011001010000110
0000000000000000000000001010010000011100010001100011001010000110
0000000000000000000000001010010000011100010001100011001010000110
0000000000000000000000001010010000011100010001100011001010000110
0000000000000000000000001010010000011100010001100011001010000110
0000000000000000000000001010010000011100010001100011001000001110
0000000000000000000000001010010000011100010001100001001000000100
0000000000000000000000001010010000011100010001100001001000000100
0000000000000000000000001010010000011100010001100001001000000100
0000000000000000000000001010010000011100010001100001001000000100
0000000000000000000000001010010000011100010001100000001000000001
0000000000000000000000001010010000011100010001100000001000000001
0000000000000000000000001010010000011101010001101111000100000100
0000000000000000000000001010010000011101010001101111000100000100
0000000000000000000000001010010000011101010001101111000100000100
0000000000000000000000001010010000011101010001101111000100000100
0000000000000000000000001010010000011110010001101110000100001011
0000000000000000000000001010010010011110010001101110000100000100
0000000000000000000000001010010010011110010001101110000100000100
0000000000000000000000001010010010011110010001101110000100000100
0000000000000000000000001010010010010000010101101110000100000100
0000000000000000000000001010010010010000010101101110000100000100
0000000000000000000000001010010010010000010101101111000100000001
0000000000000000000000001010010010010000010101101110000100000100
0000000000000000000000001010010010010000010101101110000100000100
0000000000000000000000001010010010010000010101101110000100000100
0000000000000000000000001010010010010001010101101110000100000010
0000000000000000000000001010010010010010010101101110000100001000
0000000000000000000000001010010010010010010101101110000100001000
0000000000000000000000001010010010010010010101101110000100001000
0000000000000000000000001010010010010010010101101110000100001000
0000000000000000000000001010010010010011010101101110000100001110
0000000000000000000000001010010010010100010101101101000100000000
0000000000000000000000001010010010010110010101101101000100001100
30  Topics / Home Automation and Networked Objects / Re: 433 MHz RF - Temperature and humidity sensor on: February 01, 2013, 03:48:09 am
I did it very simple way - one channel of jack [line-in] was held by yellow (DATA) cable. Other one was GND near battery.
I've used 2xRCA->stereo jack cable.

Hopefully I'll record some more (I have problems with sticking the wires to RCAs ;-)) and get readings also for CH1 and CH3 to see what's the difference.
At this point, with the pattern above - is it possible to modify your code to get the 0 and 1's from Serial with Arduino?
It'd be much easier to note down values of Temp. and Hum. using a notepad and ctrl-c ctrl-v. :-) Even from a fridge etc.
Pages: 1 [2] 3