Most of the TV remote controls use InfraRed. You could build an IR receiver as part of one of your Arduinos and then pass the message to the other Arduino using the nRF24s. There are Arduino libraries for receiving signals from remote-control units.
Most of the TV remote controls use InfraRed. You could build an IR receiver as part of one of your Arduinos and then pass the message to the other Arduino using the nRF24s. There are Arduino libraries for receiving signals from remote-control units.
bmg1234:
Thank you robin i was thinking the same. but my receiver will be inside the aluminum box. if i place ir sensor inside the aluminum box will it work?
i am expecting to get range for 5 meters
You won't be able to receive or transmit nRF24 signals from inside a metal box. The antenna MUST be outside the box, probably perpendicular to the metal surface.
And the face of the IR sensor (perhaps a TSOP48xx) will also need to be outside the box (or viewing through a window) so it can see the IR signal.
Could you use a plastic box? I think you can get some which have an IR transparent panel.