Thanks!
Which file(s) from the ESPimatic GitHub repository do I have to upload to the ESP?
Just ESPimatic.ino?
IR remote
Thanks!
Which file(s) from the ESPimatic GitHub repository do I have to upload to the ESP?
Just ESPimatic.ino?
@TheOnlyNexus said in IR remote:
Thanks!
Which file(s) from the ESPimatic GitHub repository do I have to upload to the ESP?
Just ESPimatic.ino?
Yeah, the .ino is the project code. It has a libraries folder, you have to place that into the arduino folder, im not sure but i think it was /mydocument/Arduino/.
Also, if a arduino project mentions that you need to use for example Arduino 1.6.5, dont use any other version for that sketch. Likely you would get errors.
Its realy simple. If you have the hardware, try it and report back to us
Thank you, will certainly do!
Could you provide me the code you used to receive the IR signals, as I am only receiving HEX codes and I am unsure if this is the right format for ESPimatic?
@TheOnlyNexus said in IR remote:
Could you provide me the code you used to receive the IR signals, as I am only receiving HEX codes and I am unsure if this is the right format for ESPimatic?
Ah im sorry i think i’ve given the wrong git. I’ll have access to my laptop in half an hour, BRB
@TheOnlyNexus said in IR remote:
Could you provide me the code you used to receive the IR signals, as I am only receiving HEX codes and I am unsure if this is the right format for ESPimatic?
Which .ino did you try?
Could you try the /examples/IRRecvDumpv2.ino ?
I have so many things in my library and im not sure anymore which one i used hehe
Should output something like this:
Encoding : NEC<br>Code : 8E76897 (32 bits)
Timing[67]:
+8900, -4450 + 600, - 450 + 600, - 550 + 550, - 550
+ 550, - 550 + 550, -1700 + 550, - 550 + 550, - 600
+ 500, - 550 + 550, -1700 + 500, -1700 + 550, -1700
+ 600, - 500 + 550, - 600 + 550, -1600 + 650, -1600
+ 550, -1650 + 600, - 500 + 550, -1700 + 600, -1600
+ 650, - 450 + 650, -1600 + 550, - 550 + 600, - 500
+ 650, - 450 + 650, -1600 + 550, - 550 + 650, - 450
+ 650, -1550 + 600, - 550 + 600, -1600 + 650, -1600
+ 600, -1600 + 600
unsigned int rawData[67] = {8900,4450, 600,450, 600,550, 550,550, 550,550, 550,1700, 550,550, 550,600, 500,550, 550,1700, 500,1700, 550,1700, 600,500, 550,600, 550,1600, 650,1600, 550,1650, 600,500, 550,1700, 600,1600, 650,450, 650,1600, 550,550, 600,500, 650,450, 650,1600, 550,550, 650,450, 650,1550, 600,550, 600,1600, 650,1600, 600,1600, 600}; // NEC 8E76897
unsigned int data = 0x8E76897;
I also tried this one, but everytime the upload is complete, my ESP seems to disconnect as there is no output on the console. How can I fix this?
@TheOnlyNexus said in IR remote:
I also tried this one, but everytime the upload is complete, my ESP seems to disconnect as there is no output on the console. How can I fix this?
Do you have the correct baudrate in the serial monitor (bottom right)?
Set to 115200 and reset the esp
Yes I hav got the correct baud rate
@TheOnlyNexus said in IR remote:
Yes I hav got the correct baud rate
Uhh thats weird.
Open the serial monitor before uploading the code and post a screenshot after the upload?