nrf24l01+

hi everyone, well im thinking of doing a project on controlling appliances wirelessly using nrf24l01+, i need a master (arduino nano) and a slave (arduino uno). the slave will b connected to relay, do i need to write the code for the relay only on the slave or on both master/slave arduino?

The code for controlling the relay only needs to be on the Arduino that the relay is attached to. The other Arduino will just send a message - perhaps as simple as 'N' for ON and 'F' for OFF.

This Simple nRF24L01+ Tutorial may be helpful.

...R

ok thanks...so if i am using voice recognition module on the master slave, for example i say "lights on", i define it as command "A" on master and then mayB pin 9 "high" on slave? thats it?

keshav_singh:
ok thanks...so if i am using voice recognition module on the master slave, for example i say "lights on", i define it as command "A" on master and then mayB pin 9 "high" on slave? thats it?

Probably.

But the devil is in the detail :slight_smile:

...R