Здравсткуйте! Подскажите, как отправить команду ON/OFF. Не могу понять… Вот инфа по протоколу:
Transmission format of LCD projector operation key:
NEC Format (single command / command pipelining mode)
И как реагирует проектор?
Кстати, перенеси код из loop() в setup(), или увеличь задержку до 5-10 секунд. Может быть он команды принимает, но просто не успевает реагировать на них?))
Адрес и команда передаются дважды для исключения ошибки
И вообще протокол NEC специфический.
Попробуй библиотеку именно под него заточеную:
Работает в паре с:
Как я понял из перевода:
How is this different from regular IR?
An IR remote typically sends out pulses that are modulated at 38khz. These pulses are received by an IR receiver (like the TSOP devices). An IR receiver is an IR photodiode and circuitry that filters out the 38khz carrier wave. The output of this receiver is the unmodulated IR signal that was received by the remote.
The receiving device expects an unmodulated signal on the data line.
This library cannot be used to control an IR LED directly, since there modulation is required. There are multiple libraries out there that can be used to control IR LEDs from Arduino: