Search found 4 matches

by lladam
Thu Jan 20, 2022 12:48 am
Forum: IR Protocols & Codes
Topic: about IR LED and sensors
Replies: 7
Views: 6869

Re: about IR LED and sensors

the purpose is to test if I can send that? seems not possible? Why not test with a real signal? actually, that is what my question is, does the real signal just included the three lines as topic? is it possible to send any data to? Would you please recommend me an one Arduino + IR LED emitter and I...
by lladam
Wed Jan 19, 2022 8:58 pm
Forum: IR Protocols & Codes
Topic: about IR LED and sensors
Replies: 7
Views: 6869

Re: about IR LED and sensors

The link you provided uses the IRremote library. The code you posted uses the IRLIB2 library. If you had everything working....then the first issue I see in your original code is: uint16_t rawData[RAW_DATA_LEN] = { 2406, 1000}; This is not a complete signal and will only send 1 mark pulse of 2406 u...
by lladam
Wed Jan 19, 2022 7:13 pm
Forum: IR Protocols & Codes
Topic: about IR LED and sensors
Replies: 7
Views: 6869

Re: about IR LED and sensors

I suggest you take a step back and start with the examples provided with the library. first get the rawRecv example working with a tv remote and only then move on to getting the rawSend example working (using the output from the rawRecv for your remote) you should be able to control your TV easily ...
by lladam
Wed Jan 19, 2022 6:33 pm
Forum: IR Protocols & Codes
Topic: about IR LED and sensors
Replies: 7
Views: 6869

about IR LED and sensors

Hi, I am testing IR LED as a sender pin3, and IR module as receiver pin2, and used codes as below, question are: 1. the receive data seems lot of noise; 2. I checked the send code mostly like this: mySender.send(rawData, RAW_DATA_LEN, 2) mySender.send(SONY,0xa8bca, 20); IrSender.sendNEC(0x0102, 0x34...