- Tue May 17, 2016 5:51 pm
#189842
Hey all,
I am trying to figure out how I can have 2 Arduino Nano's paired with 2 NRF24L01's and have one arduino have up to the maximum amount of inputs (for this case it'll be reed switches to start and likely motion sensors afterwards) which through the NRF24L01 will send commands to a remote arduino to write the corresponding pins high (like virtualwire, but I don't understand VW) which will control relays on the remote side.
I can't find any example code with more than 1 relay setup.
Here is an example of what I am looking for:
http://www.14core.com/wiring-the-nrf24l ... switching/
but with multiple inputs on the transmitting arduino and corresponding outputs on the receiving arduino.
As it stands right now, i have 5 arduino Nano's and 10 of the RF24L01 modules, so I am ready to try just about anything to make this work!
I am trying to figure out how I can have 2 Arduino Nano's paired with 2 NRF24L01's and have one arduino have up to the maximum amount of inputs (for this case it'll be reed switches to start and likely motion sensors afterwards) which through the NRF24L01 will send commands to a remote arduino to write the corresponding pins high (like virtualwire, but I don't understand VW) which will control relays on the remote side.
I can't find any example code with more than 1 relay setup.
Here is an example of what I am looking for:
http://www.14core.com/wiring-the-nrf24l ... switching/
but with multiple inputs on the transmitting arduino and corresponding outputs on the receiving arduino.
As it stands right now, i have 5 arduino Nano's and 10 of the RF24L01 modules, so I am ready to try just about anything to make this work!