Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No data on serial console for EMOS E0204 #17

Open
jzobac opened this issue Dec 23, 2016 · 2 comments
Open

No data on serial console for EMOS E0204 #17

jzobac opened this issue Dec 23, 2016 · 2 comments

Comments

@jzobac
Copy link

jzobac commented Dec 23, 2016

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
Copy link
Author

jzobac commented Dec 23, 2016

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,

@robertcedwards
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants