I'm new so please forgive my ignorance. HELP
-
I have 2 arduinos with nrf24l01+ radios attached to each arduino. I uploaded the "relay with button" sketches onto each arduino. on arduino1 I have wired a momentary on button to pin 3 through switch to ground. on arduino2 I have a relay attached to pin 4. I have made no changes to code and everything is wired correctly. whenever i push the button on arduino1 the state of arduino2 pin 4 never changes. Am i missing something here? Thank you in advance.
-
I have 2 arduinos with nrf24l01+ radios attached to each arduino. I uploaded the "relay with button" sketches onto each arduino. on arduino1 I have wired a momentary on button to pin 3 through switch to ground. on arduino2 I have a relay attached to pin 4. I have made no changes to code and everything is wired correctly. whenever i push the button on arduino1 the state of arduino2 pin 4 never changes. Am i missing something here? Thank you in advance.
@youngst123 MySensors is designed to work with a gateway and central controller. I believe it's possible for direct sensor node to sensor node communications, but does not work that way by default.
http://www.mysensors.org/build/select_gateway
http://www.mysensors.org/controller/Cheers
Al -
OK thank you for replying. so for this to work i wound need to purchase some sort of controller like a "middle man"
-
OK thank you for replying. so for this to work i wound need to purchase some sort of controller like a "middle man"
@youngst123 You don't need to purchase one as there are a number of free ones available, but all need some type of hardware to run on. The gateway is simply another Arduino with NRF radio and a sketch specific for it.
Cheers
Al -
@youngst123 MySensors is designed to work with a gateway and central controller. I believe it's possible for direct sensor node to sensor node communications, but does not work that way by default.
http://www.mysensors.org/build/select_gateway
http://www.mysensors.org/controller/Cheers
Al@Sparkman I think i was supposed to use the reply. Sorry. so for this to work i wound need to purchase some sort of controller like a "middle man"
-
@youngst123 You don't need to purchase one as there are a number of free ones available, but all need some type of hardware to run on. The gateway is simply another Arduino with NRF radio and a sketch specific for it.
Cheers
Al@Sparkman ok i have another arduino what sketch do you recommend i use on it?
-
@Sparkman ok i have another arduino what sketch do you recommend i use on it?
@youngst123 The easiest is the serial gateway sketch: http://www.mysensors.org/build/serial_gateway#upload-the-serialusb-gateway-sketch. For an easy controller to test things with, try MysController: http://www.mysensors.org/controller/myscontroller. You will need a Windows PC for it.
Cheers
Al -
@youngst123 The easiest is the serial gateway sketch: http://www.mysensors.org/build/serial_gateway#upload-the-serialusb-gateway-sketch. For an easy controller to test things with, try MysController: http://www.mysensors.org/controller/myscontroller. You will need a Windows PC for it.
Cheers
Al@Sparkman ok i think its starting to sink in thanks for your help..
-
@Sparkman ok i think its starting to sink in thanks for your help..
@youngst123 No problem. Let us know how you make out.
Cheers
Al
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login