I plan to control my tv support using WiFi, and was hoping to make it work on a WeMos D1 Mini Pro ESP8266 board.
Tests were initially done using the original Espruino board, which was capable of receiving & transmitting IR codes from & to the tv support.
The wip esp8266 code used for transmitting is available at the following URL:
Now, after digging stuff ( and while I'm still digging .. ), it seems IR transmitting is not as quick as I hoped on the ESP8266 (my code currently uses 'analogWrite()' & 'digitalPulse', as in the official IR receive & send tutorials ) ..
Currently not at home ( :( .. ), I can't quite improve/test stuff out, but I'm posting here anyway, hoping it may help others in finding a way to bypass the involved limitations :)
Regarding this, the following post(s) may be of interest:
This being said, wishing yall a very nice day :)
( I'll come back as soon as I can try stuff out ;p )
I'd try specifying a massive Float32Array of bit times to digitalPulse, which includes all 38kHz pulses - it seems like it could work for you? Either that or use an external 38kHz oscillator
yup, I think it may work ( although I'd have to workout the resulting Float32Array from the signals array + 38kHz pulses ) ;)
For the second option, maybe connecting a 555 'd work ? ( but I'd truly prefer the 1st option .. )
As said above, I'll investigate more as I get back home ( where all my uCs are .. )
Nevertheless, thanks for the quick answer ;)
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem