theovassiliou / WTLMReceiver

An arduino library for capturing and decoding 433 MHz signal from a TS-FT 002 water level sensor
11 stars 2 forks source link

?not working for XC0331 #1

Open mlava opened 5 years ago

mlava commented 5 years ago

Hi @theovassiliou Thanks for creating this script. I have a 433 receiver connected to my arduino. Have an XC0331 transmitting. Here is the serial output using the example sketch:

CRC: OK (0x0) Temperature: 6549.6 Depth: 0 cm Device: 0x0 with Serial: 0x0 LowBattery: NO (0x0) Transmit Interval: 180 sec.

CRC: OK (0x0) Temperature: 6549.6 Depth: 0 cm Device: 0x0 with Serial: 0x0 LowBattery: NO (0x0) Transmit Interval: 180 sec.

Any suggestions?

theovassiliou commented 5 years ago

From what I see I would guess that you receive only "zeros". Could you dump the received message? Typically this type of problem occurs, if the distance is too far, or if there is problem with the 433 MHz receiver. Are you using a arduino or an ESP? Any additional information could be helfpful.

mlava commented 5 years ago

Hi @theovassiliou Thanks. I have a 433 receiver with an arduino uno. It receives fine for a few 433 temp/humidity sensors and a WS2355 weather station. I had the transmitter in the same room as my 433 receiver for testing. The tank depth sensor display was reading correct data (as in, it was giving some data including depth in cm) so there seems to be some data being transmitted. I will try to get a data dump and see what it looks like. Cheers!

mlava commented 5 years ago

Hi @theovassiliou . I'm struggling to get you some data. I tried with rcswitch but it isn't showing any data. Can you give me an idea of how you got your initial data that you then analysed? Cheers :-)

PS- to confirm, I have 433 signals from two different projects working well. I can press a 433 remote while running rcswitch and it gets the data. I'm just not getting anything from my water depth sensor.

theovassiliou commented 5 years ago

Hi @mlava, thank you for your feedback. I will try to compile some "test code" over the days now. I am sure that we will get it going soon!

Greetings, Theo

mlava commented 5 years ago

Hey Theo. Happy new year! How are things going? Any progress? Mark

theovassiliou commented 5 years ago

Happy new year also to you. Some good news, and some bad. First of all, I got 4 new sensors, to test. This is the good news. The bad news is, that I can reproduce your problem. For some reason, I can't receive from any of the new transmiters, anything. Nevertheless I can receive messages from the previous one, I already had before.

So I have to go back and start more or less from the beginning.

I also tested this with two different RF modules, and different platform, in particular one ESP32 and an Arduino Uno. The same results on every platform with every receiver.

Nevertheless I also fixed some bugs. So perhaps you could pull nevertheless the latest version, and let me know if anything changes.

BTW: I have also received sporadically messages like you have received. But most of time I do not see any signal. :-( So sorry, for having no good news at this point in time. But I am working on it, now where I can reproduce the problem.

mlava commented 5 years ago

Hi Theo. How are you going? Have you made any progress? Cheers! Mark

Cakrabirawa369 commented 1 year ago

Hi @theovassiliou, I'm wondering if it's possible to inject the 'signal' i.e: 01110000.... into the code and if so which parameters? Thanks.

theovassiliou commented 1 year ago

Hello @Cakrabirawa369 , sorry but I do not really get what you are aming for. Is your question whether you could simulate the reception of a signal?

If your goal would be to send the signal I can not confirm that this is possible nor planned.

Cakrabirawa369 commented 1 year ago

Thanks Theo, if i could simulate the reception of a signal without needing the XC0331 as the Transmitter and the 433 Receiver.

For example: input_string = "010111110001110010001000001000000101000001110000111001000000000000101111"

Best regards,

eightminutes0 commented 1 year ago

any progress? I am facing same issue. it reads depth as zero