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

cant receive data #3

Open
leventsumaksau opened this issue Dec 28, 2020 · 5 comments
Open

cant receive data #3

leventsumaksau opened this issue Dec 28, 2020 · 5 comments

Comments

@leventsumaksau
Copy link

hello
i tried your code and watched your youtube video.
I couldn't get any data.
can you please help me?

@nimaltd
Copy link
Owner

nimaltd commented Dec 29, 2020

Hello. Do you get external interrupt? Watch by set breakpoint

@luweiqi
Copy link

luweiqi commented Feb 5, 2023

Hello ,which interrupt should be set? rising edge falling edge or both? Thank you very much!

@nimaltd
Copy link
Owner

nimaltd commented Feb 5, 2023

Hello. Both

@JohnboyK
Copy link

Hi, at first thank you to the author to join this library.
I tried out the example to receive data on an ESP32 from an EV1527 433MHz-button and was NOT able to receive any data. Due to compiling-problems with double definitions with the esp32_hal. The code have not many comments so it was hard to understand whats going wrong.
So I decided to copy all the code from header-files and ask.c into my code of example usage, cleared all double definitions and removed the indirect calls to ESP32 fitting procedure calls. This reduces the portability to other processor types, but for ESP32 and ESP8266 on Arduino it should work.
NOW it works for me and I RECEIVE Data successful from my EV1527 button.
My suggestion to the author of this library: Please prepare a full functional example for ESP32 send and receive.
In addition I would appreciate if you join your knowledge HOW you detect the the frame-timing and differentiate between '0' and '1' bit. I tried to reverse engineering this part, but was not successful to understand what the code do...
Thank you and greetings from Vienna / Austria / Europe

@nimaltd
Copy link
Owner

nimaltd commented Apr 26, 2024

@JohnboyK Hello. it is weird, I have tried ESP32-Arduino without any problem.
detecting start of frame: stay more than 5 ms in low.
after that, store any change with time stamp into a buffer.
then, check all buffer and recognizing data.
for example
0: |----|______
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

4 participants