Go Down

Topic: IR Remote that can receive and send IR signal at the same time with Mega? (Read 380 times) previous topic - next topic

bosslee

Hi there

I understand that there are several timers on Arduino Mega.
I'm wondering if it is possible to leverage on that to building a IR Remote that can receive and send IR signal at the same time?

Mega has the following:
timer 0 for pin 13 and 4
timer 1 for pin 12 and 11
timer 2 for pin 10 and 9
timer 3 for pin 5 and 3 and 2
timer 4 for pin 8 and 7 and 6

I'm using the IR Lib from
https://github.com/z3t0/Arduino-IRremote

The IR sending is via Pin 5
While the IR Receiving is via pin 11
But when I try to have the board receive and send at the time, the IR signal goes haywire?

New to electronics, so I could be missing something.
It would be great if anyone could point me to the correct direction.

Thank you very much :D

Whandall

Are you trying to use a shared medium (IR Level) to send and receive at the same time?
Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of. (D.Adams)

Go Up