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

Constant interrupts #21

Open
swiergot opened this issue Jun 4, 2020 · 3 comments
Open

Constant interrupts #21

swiergot opened this issue Jun 4, 2020 · 3 comments

Comments

@swiergot
Copy link

swiergot commented Jun 4, 2020

Hi,

I'm trying to get this library working on my D1 mini (esp8266). I've tried with RXB6 and MX-RM-5V. While I don't have Digoo DG-R8H yet, I was hoping to make some progress with an EMOS temperature sensor.

But the issue I'm having is that interrupts are being generated constantly, regardless of whether it's RXB6 or MX-RM-5V. There doesn't seem to be any packet validation, so the serial console keeps displaying nonsense:

image

If I get it right, interrupts should be generated only when the pin changes from 0 to 1 or from 1 to 0. The fact that interrupts are generated constantly suggests that something is transmitting all the time which I think is simply impossible.

Any ideas what my problem is?

Thank you.

@dgomes
Copy link
Owner

dgomes commented Jun 4, 2020

Hi

If the radio you used is very sensitive it will pickup all sorts of noise from the environment and this can surely happen.

@swiergot
Copy link
Author

swiergot commented Jun 4, 2020

Thank you for reply. What can I do in such case? Try to search for some patterns? What radio do you use?

@dgomes
Copy link
Owner

dgomes commented Jun 4, 2020

Play around with basic filters: https://www.arrow.com/en/research-and-events/articles/using-capacitors-to-filter-electrical-noise

I use a cheap radio bought on aliexpress, some times they are good some time they are rubbish 🤷‍♂️

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