PDA

View Full Version : W800RF32, and RFXCom sensors.


danward79
January 6th, 2007, 04:51 PM
Hi Chaps,

I have added my code to the W800RF32 lua file and have come across an interesting problem.

It seems to be ignoring some received data...

The RFXCom sensor transmit the following on reset (Extract from RFXCom test program).

52463309 Unknown data packet received
52463309 Unknown data packet received
52463309 Unknown data packet received
53454E00 Unknown data packet received
24538500 Unknown data packet received
00F0140B RFXSensor addr:00F0/240 Temp:20 ºC
00F0140B RFXSensor addr:00F0/240 Temp:20 ºC
00F0140B RFXSensor addr:00F0/240 Temp:20 ºC
02F23EED RFXSensor addr:02F2/754 Battery Voltage:5.03
02F23EED RFXSensor addr:02F2/754 Battery Voltage:5.03
02F23EED RFXSensor addr:02F2/754 Battery Voltage:5.03
01F1088E RFXSensor addr:01F1/497 RH:-4% Barometer:256hPa Voltage:0.68
01F1088E RFXSensor addr:01F1/497 RH:-4% Barometer:256hPa Voltage:0.68
01F1088E RFXSensor addr:01F1/497 RH:-4% Barometer:256hPa Voltage:0.68

The W800RF32, receive responce function does not see the temperature data, i.e "00F0140B", it does see all the other data, i.e. "02F23EED" and "01F1088E"

I did wonder if it was just ignoring the first packet. But this is not the case as if I do a reset(data above) the initialisation data seems to show ok before the temperature for this sensor.

This code worked fine in the previous W800 lua files. It seems to have had problems since .509 Out of interest I also tried the code in Marcels RFXCom Antenna Component and got the same results.

danward79
January 6th, 2007, 04:56 PM
I have just increment the address so that the data becomes.

52463309 Unknown data packet received
52463309 Unknown data packet received
52463309 Unknown data packet received
53454E20 Unknown data packet received
24538500 Unknown data packet received
20D014A1 RFXSensor addr:20D0/8400 Temp:20.625 ºC
20D014A1 RFXSensor addr:20D0/8400 Temp:20.625 ºC
20D014A1 RFXSensor addr:20D0/8400 Temp:20.625 ºC
22D23EED RFXSensor addr:22D2/8914 Battery Voltage:5.03
22D23EED RFXSensor addr:22D2/8914 Battery Voltage:5.03
22D23EED RFXSensor addr:22D2/8914 Battery Voltage:5.03
21D10806 RFXSensor addr:21D1/8657 RH:-5.28% Barometer:247hPa Voltage:0.64
21D10806 RFXSensor addr:21D1/8657 RH:-5.28% Barometer:247hPa Voltage:0.64
21D10806 RFXSensor addr:21D1/8657 RH:-5.28% Barometer:247hPa Voltage:0.64 Now none is lost, so if definately has a problem with
00F0140B

Rob H
January 6th, 2007, 05:05 PM
This may be the problem that Marcel had identified earlier with nul bytes in the received data. Seems that the new transport DLL can't cope with these.

Best bet is to revert to an earlier version (507 or 508) of Girder.

danward79
January 7th, 2007, 02:20 AM
Thanks Rob,

I am able to stay with this version because I chaged the sensor addresses now.