Irremoteesp8266: How to send unmodulated signal?

Created on 2 Feb 2019  路  3Comments  路  Source: crankyoldgit/IRremoteESP8266

Hello, could you please help me with my problem?

I鈥檓 trying to send signal to my SONY projector by using a simple code:

irsend.sendSony(0X542a, 15,2);

But I need to send the signal without 40kHz modulation because I want to do it without using IR emitter/receiver, but via direct wiring.

What should I change in the code of library to be able to send unmodulated signal?

Thank you in advance.
Andrey

question

Most helpful comment

See https://github.com/markszabo/IRremoteESP8266/blob/master/src/IRsend.cpp#L32

e.g.

IRsend irsend(
    PIN_YOU_WANT_TO_USE,  // GPIO to send the messages on.
    false,  // Don't use an inverted signal.
    false  // Don't use modulation.
);

That, in theory should do what you're asking.

All 3 comments

See https://github.com/markszabo/IRremoteESP8266/blob/master/src/IRsend.cpp#L32

e.g.

IRsend irsend(
    PIN_YOU_WANT_TO_USE,  // GPIO to send the messages on.
    false,  // Don't use an inverted signal.
    false  // Don't use modulation.
);

That, in theory should do what you're asking.

You may also need to change 33 to 100 at https://github.com/markszabo/IRremoteESP8266/blob/master/src/IRsend.cpp#L32 too if that doesn't work.

Thank you a lot! It works perfectly. Just in my case it should be also reverted signal, so I used IRsend irsend (pin, true, false);
Thank you once again for you help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bilkosem picture bilkosem  路  5Comments

crankyoldgit picture crankyoldgit  路  3Comments

direk picture direk  路  6Comments

wahibmichael picture wahibmichael  路  4Comments

NewUser9 picture NewUser9  路  6Comments