ask
ask copied to clipboard
cant receive data
hello i tried your code and watched your youtube video. I couldn't get any data. can you please help me?
Hello. Do you get external interrupt? Watch by set breakpoint
Hello ,which interrupt should be set? rising edge falling edge or both? Thank you very much!
Hello. Both
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
@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: |---------|_