RFControl icon indicating copy to clipboard operation
RFControl copied to clipboard

No data on serial console for EMOS E0204

Open jzobac opened this issue 8 years ago • 2 comments

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 avatar Dec 23 '16 00:12 jzobac

With this sketch #include <RFControl.h>

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,

jzobac avatar Dec 23 '16 00:12 jzobac

+1

robertcedwards avatar May 31 '17 03:05 robertcedwards