V
V
Vadim Belkin2014-12-28 20:45:17
Arduino
Vadim Belkin, 2014-12-28 20:45:17

How to set the frequency of IR pulse transmission?

How to set the pulse frequency on the transmitter's IR diode? To transmit a signal at a frequency of 56kHz for example.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eddy_Em, 2014-12-28
@Eddy_Em

The easiest way is to hang the IR on the UART. And if not, then use a timer with DMA (of course, choose the right microcontroller).
But still, UART is the easiest: we hook DMA there and it sends itself everything that is needed by analogy with 1-wire.

A
Alexander, 2014-12-28
@NeiroNx

The most precise way to set the frequency is with the timer interrupt library TimerOne. the minimum interval is 1 microsecond (the maximum frequency is 1,000,000 Hz).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question