v2.4.2
_What steps did you do and what should it have done?_
Tried to extract the raw data from my samung tv AC controler:
No response on the console
_What can we do to (pref. reliably) repeat what is happening?_
Happens all the time
_Link to an image of the circuit diagram used. Part number of the IR receiver module etc._
Identical to the one on the git page.
No
_More information is always welcome. Be verbose._
* IRrecvDemo is working just fine!
* IRrecvDump is generating an excpetion upon RST (which can only be seen when using 74880 as the baud rate) however when pressing the remote keys the data apears on the console!
** IRrecvDumpV2 is generating an excpetion upon RST (which can only be seen when using 74880 as the baud rate) and nothing on screen when pressing the remote keys
@dindan100 I'm afraid you probably got a dodgy nodemcu board. I suggest getting another one from a different seller. See this comment: https://github.com/markszabo/IRremoteESP8266/issues/415#issuecomment-366595184
Closed due to duplicate of Issue #415
Dear David,
Thanks for taking the time in trying to assit! much appricated!
It seems that this board is working just fine with all other skecthes i tried (including web server) unlike the one in #415 however there is nothing like expreince and so i will offcourse trying to find another board from another seller, check it and update this case to let everyone in the future searching for such issues know what went wrong.
Thanks again!
BTW: will it work on ESP32? (i can try ofcourse but i am not sure it is supported if it fails)
No idea if it will work on the ESP32, I haven't tried it. Worth a try though. I expect it won't work without some hackery.
Good luck with another board. Personally, I've been lucky with every nodemcu and wemos mini I've purchased, so I don't have first hand experience with this particular problem. At least these boards are cheap.
FYI, you should get startup text at 115200 Baud when running IRrecvDumpV2.ino. e.g. https://github.com/markszabo/IRremoteESP8266/blob/master/examples/IRrecvDumpV2/IRrecvDumpV2.ino#L170
If you are not, then something is VERY wrong.
Hi David,
I have checked 3 diffrnet esp models on the same computer with the same issue happening all of them which lead me to think that the problem is not a faulty nodemcu but something with the computer arduino software itself (altought the upload seems to be working just fine for this sketch or any sketch for that matter :)
Anyhow i have borrowed another laptop from my sister and walla! all skecthes including this one is working just fine! so in other words no code problem here :)
Still havent got it whats wrong with my computer as i reinstaled arduino software and i am using the same cables as for my laptop but at least we know now who's to blame.
Have a great weekdend!
Very interesting. That explains the difference from the previous case/issues where WIFI didn't work either and this one. Might be the USB drivers perhaps?
If you find out what the cause is, please let me know and I'll add it to the FAQ.
Hi David,
Nope it's not the USB drivers as both computers use the same adapter with the same driver version and date.
It's something in the Arduino app which caused this which I cannot really explain what (I suspect its related to leftovers on the ESP which this code cannot replacedelete during the buildupload as the code worked only when uploading using tools->erase flash-> erase all content from the Arduino UI)
However those are the steps I have taken to solve this issue (which is now working just fine :)
@dindan100 As of v2.6.2 this library now supports the ESP32.
Most helpful comment
Hi David,
Nope it's not the USB drivers as both computers use the same adapter with the same driver version and date.
It's something in the Arduino app which caused this which I cannot really explain what (I suspect its related to leftovers on the ESP which this code cannot replacedelete during the buildupload as the code worked only when uploading using tools->erase flash-> erase all content from the Arduino UI)
However those are the steps I have taken to solve this issue (which is now working just fine :)
6, Open Arduino app than choose File -> preference and set your preferred sketchbook location and set the following: http://arduino.esp8266.com/stable/package_esp8266com_index.json to your additional boards Manger url.