Blogger

Delete comment from: Ken Shirriff's blog

c2 said...

I see several options. I think you are correct that I could put a relay on one of the IR LED lines to cut it in or out. Or I could use a second Arduino to drive each IR LED separately and use a pot connected to both Arduinos' analog port and use switches to control the configurations. What I thought would be the more elegant solution would be to have one Arduino and IR LEDs connected to 2 PWM ports. The signals on those 2 ports would have the Pulse Width Modulation signals, and in my application either the same PWM signal goes to both or only one receives PWM signal, avoiding having more than one clocking signal. But I am having trouble looking through the IR library for where the PWM port is identified. Part of the problem is I am using Leonardo, which seems to have odd port assignments. I suppose I could use a transistor to act as a relay, another possibility.

May 28, 2013, 11:17:00 AM


Posted to A Multi-Protocol Infrared Remote Library for the Arduino

Google apps
Main menu