Hi everyone....I want to make a remote control to turn two different objects on and off. The problem I've discovered is both remotes I'm cloning are operating on different frequencies. One is on 433 Mhz, and the other is on 38 KHz. Is there any way to do this with one arduino board?
Is this really a infrared? The freq is more suitable for RF transmitter
Perhaps that is the problem I'm having. It probably is, and I just assumed it was an IR remote.
Thanks for the insight!
Not probably. It is. You will struggle with timer conflicts between IR and radio libraries... sometimes soluble by changing the timer assignments in the library code.
It might challenge the OP, but I do not see that combing an IR remote sketch with an RF remote sketch woukd present any particular difficulties.
Imma bet that @anon57585045 could do it whilst sleeping,
Just sayin'.
Although you do indict the libraries, which I tend to not use so much as to be certain that this would be asking for trouble.
a7
I've run across that myself a few times, and it comes up on the forum from time to time. It's not common to see this particular combination, RF and IR, usually it's one of those with some library that does high speed output like Stepper code, or with native stuff like tone().
Some libraries that use timers are considerate, and allow you to change timers by just commenting out one or another #define in the .h file in the library code. Others, not so much.
One thought I had, in this specific instance the requirement seems to be transmit only. So continuous operation of both devices is not necessary. But alternate use of the same timer might still pose a problem even if it's possible, if the libraries don't support it.
It rests on the particular libraries so we need to know which ones they are.
I think my best bet is to continue using my Arduino as an IR remote. It is for a NEC projector.
I will just use the other remote for my remote control switch to turn a bluetooth speaker (used for sound for the projector.) I was hoping to make it easier to use (1 remote), but two remotes aren't too difficult to manage!
Thanks everyone for your input and advice!
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.