pimatic / RFControl

433mhz rf sniffer and receiver
GNU General Public License v3.0
117 stars 34 forks source link

No data on serial console for EMOS E0204 #17

Open jzobac opened 7 years ago

jzobac commented 7 years ago

Hi, I have not receive any data (even if I connect outer sensor directly with wire to pin 2 on Mega2560).

RFlink works good (over wire and over air).

Meteostation is EMOS E0204. RFlink recognizes protocol as Cresta. https://exasoft.cz/emos-e0204_d64130.html

Debug from Rflink 20;0D;DEBUG;Pulses=106;Pulses(uSec)=990,750,900,780,870,330,420,330,420,840,420,360,420,360,420,360,900,390,390,870,390,390,870,390,390,870,390,390,870,390,390,870,390,390,390,390,870,900,390,390,840,900,840,900,870,390,360,900,870,900,360,420,360,420,360,420,840,420,360,420,360,900,360,420,360,420,360,420,840,420,360,420,360,420,360,420,360,900,840,900,840,900,360,420,840,420,360,420,360,900,840,900,840,900,360,420,840,450,330,930,330,420,360,420,330,420; 20;0E;Cresta;ID=5402;TEMP=00f8;BAT=OK;

Please help me, with best regards Radius

jzobac commented 7 years ago

With this sketch

include

void setup() { Serial.begin(115200); RFControl::startReceiving(0); }

void loop() { // put your main code here, to run repeatedly: if(RFControl::existNewDuration()){ Serial.print(RFControl::getLastDuration() * RFControl::getPulseLengthDivider()); Serial.print(", "); static byte line=0; line++; if(line>=16){ line=0; Serial.write('\n'); } } }

I get this over wire

55948, 1000, 968, 968, 972, 968, 484, 484, 488, 484, 968, 484, 484, 484, 488, 968, 968, 484, 484, 972, 484, 484, 968, 484, 488, 484, 484, 484, 484, 968, 488, 484, 968, 484, 476, 488, 484, 968, 968, 488, 484, 968, 968, 972, 968, 968, 484, 484, 972, 484, 484, 484, 484, 972, 484, 484, 484, 484, 484, 484, 972, 484, 484, 968, 488, 484, 968, 484, 484, 972, 484, 484, 484, 484, 484, 484, 488, 484, 968, 968, 972, 484, 484, 484, 484, 484, 488, 484, 484, 968, 484, 484, 972, 484, 484, 484, 488, 484, 484, 968, 484, 484, 484, 488, 968, 968, 484, 484, 964, 484, 484, 112, 54492, 1000, 968, 968, 972, 968, 484, 484, 488, 484, 968, 484, 484, 484, 488, 968, 968, 484, 484, 972, 484, 484, 968, 488, 484, 484, 484, 484, 484, 972, 484, 484, 960, 484, 488, 484, 484, 968, 968, 488, 484, 968, 968, 972, 968, 968, 484, 488, 484, 484, 968, 484, 484, 972, 484, 484, 484, 484, 488, 488, 964, 484, 484, 972, 484, 484, 968, 484, 484, 972, 484, 484, 484, 484, 488, 484, 484, 484, 968, 972, 968, 484, 484, 484, 488, 484, 484, 484, 484, 968, 488, 484, 484, 484, 968, 484, 488, 484, 484, 968, 972, 960, 968, 972, 968, 484, 484, 484, 484, 112, 54128, 1000, 972, 968, 968, 968, 488, 484, 484, 484, 968, 484, 488, 484, 484, 968, 972, 484, 484, 968, 488, 480, 972, 484, 484, 484, 484, 484, 488, 968, 484, 484, 964, 484, 484, 484, 484, 972, 968, 484, 484, 968, 972, 968, 968, 972, 484, 484, 968, 972, 968, 968, 484, 484, 488, 484, 484, 484, 968, 488, 484, 968, 484, 484, 972, 484, 484, 968, 484, 488, 484, 484, 484, 484, 484, 484, 972, 968, 968, 484, 488, 484, 484, 484, 484, 484, 488, 968, 484, 484, 968, 972, 968, 484, 480, 968, 484, 484, 968, 972, 968, 484, 484, 484, 488, 484, 484, 112,

robertcedwards commented 7 years ago

+1