Pages: [1]   Go Down
Author Topic: codes for IRremote  (Read 661 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Does anyone know how to find the codes for IR remote controls. I have tried using the IRremote library, but only one of my remote controls are compatible. How do I add/find code for my others?
Logged

Tacoma, Washington, USA
Offline Offline
Newbie
*
Karma: 0
Posts: 23
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the IRremote library, try the IRrecvDemo in the examples.  It will tell you what type of remote code you're generating with your remote.

Bob
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8821
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you trying to emulate an existing remote?  If so you could record and send the raw pulse lengths.

The IRrecord example shows how to record raw signals.

irsend.sendRaw(rawbuf, rawlen, frequency); will play back the signal.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 45
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The demo program gives the same result a my code. No matter what button I press on one remote, I get 0 and other remotes give nothing. From looking at the library it seems that the remote isn't one of the types in the library. I would like to add it, but I don't know where to get the parameters.
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8821
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The demo program gives the same result a my code. No matter what button I press on one remote, I get 0 and other remotes give nothing. From looking at the library it seems that the remote isn't one of the types in the library. I would like to add it, but I don't know where to get the parameters.
The IRtest example should display the raw data.  If it does not your remote may be using a carrier frequency outside the range of your receiver.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Pages: [1]   Go Up
Jump to: