Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By mumin50
#24914 +1
I'm also busy to do some ir send and receiver with 56kHz tsop
I was able to send 56kHz RAW codes what is exactly what i need.
Now it is time to receive...if possible also in RAW format . Did someone already managed to do...
Or can direct where is some description how to.

Ok i'm editing my post to say that is easy :mrgreen: to get it in RAW
I was reading something about interrupts and found this topic about an issue:
https://github.com/esp8266/Arduino/issues/21

What it does it measures time between 2 interrupts and because tsop output is normal high that is all i was needing, measure time between falling and rising edges . Small filtering of data and it outputs it to serial console. Now i need to make it to go to array and make sure that i recived 32bit (size of my ir code) in max 25 ms and it will be perfect...
User avatar
By Sev D
#29159
mumin50 wrote:+1
I'm also busy to do some ir send and receiver with 56kHz tsop
I was able to send 56kHz RAW codes what is exactly what i need.
Now it is time to receive...if possible also in RAW format . Did someone already managed to do...
Or can direct where is some description how to.

Ok i'm editing my post to say that is easy :mrgreen: to get it in RAW
I was reading something about interrupts and found this topic about an issue:
https://github.com/esp8266/Arduino/issues/21

What it does it measures time between 2 interrupts and because tsop output is normal high that is all i was needing, measure time between falling and rising edges . Small filtering of data and it outputs it to serial console. Now i need to make it to go to array and make sure that i recived 32bit (size of my ir code) in max 25 ms and it will be perfect...


Did you make it work from there? Would you be so kind and post what you got so far?