-->
Page 1 of 2

IR support

PostPosted: Wed Apr 01, 2015 7:27 am
by alon24
Does the ESP8266 Arduino suport IR (infra red)?

I want to do a menu system for my project or just use an ir remote, to control the functions, so I need for it to learn commands, and repeat them.

Is that supported yet?

Re: IR support

PostPosted: Wed Apr 01, 2015 12:46 pm
by igrr
https://github.com/esp8266/Arduino/issues/6

IRLib doesn't compile, there's a lot of AVR-specific stuff inside. Patches for this lib are welcome.

Re: IR support

PostPosted: Wed Apr 01, 2015 6:17 pm
by Ribeiro Santos
Don't know if it helps, but I found someone (not me) that uses IR and ESP here to control the AC . Link of code at bottom of article.

Re: IR support

PostPosted: Wed Apr 01, 2015 7:23 pm
by unreality
IR generally requires a 36-38khz signal, and without PWM support, i don't think its achievable using only the esp8266 at the moment? Maybe via bit-banging and delayMicroseconds() you could hack something together.

Or use a separate 555 timer (or even AVR) to generate the 36-38khz signal and turn it on/off to send data. Receiving is probably easier though.