Printing the values as HEX would likely be more useful.
Posting a link to the AC technical manual/datasheet would help all helpers that haven' done this on exactly the same AC as the one You have.
What arduino board you use?
Do you need to decode it or could you just send it raw?
Anyway, few things to be aware of. That IR "module" is just a LED with resistor, the transmitting range can be very low, well under 1meter.
Also your raw code is 132bits, which is not whole bytes and this, while possible, make me wonder if you received the whole signal. Did you set raw_buffer_length on your receiver code?
Hi! Thanks for the response. I'm using a mega 2560 board. I don't need to decode it, though that would be useful eventually; for now sending the raw data is fine.
I have tried the IR module very close to the AC and still no response. Should I connect the receiver I bought to the AC instead of the factory one?
Hmm, I didn't set raw_buffer_length- that may be the problem? I will keep trying getting better data with the receiver and sending differing data from the transmitter.
Hi, I was assuming the AC unit inside would be able to receive the data sent? But perhaps not? I can wire in the receiver I bought and see if that makes a difference I suppose!
Below is the code I am using to send it, I've tried writing several differing programs to send the data, but have resorted to some chatGPT code while trying differing data to be sent.. Here it is: #include <IRremote.h>
Thanks Tom! I've been trying to send the raw codes I used the receiver and AC remote to get. I've tried the examples that come with the IRremote library.
You are using very old library/code.
Update your library to new version 4.41 and use the example code from that with buffer length set:
define RAW_BUFFER_LENGTH 730;