Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. I'm new so please forgive my ignorance. HELP

I'm new so please forgive my ignorance. HELP

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    youngst123
    wrote on last edited by
    #1

    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.

    SparkmanS 1 Reply Last reply
    0
    • Y youngst123

      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.

      SparkmanS Offline
      SparkmanS Offline
      Sparkman
      Hero Member
      wrote on last edited by
      #2

      @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

      Y 1 Reply Last reply
      0
      • Y Offline
        Y Offline
        youngst123
        wrote on last edited by
        #3

        OK thank you for replying. so for this to work i wound need to purchase some sort of controller like a "middle man"

        SparkmanS 1 Reply Last reply
        0
        • Y youngst123

          OK thank you for replying. so for this to work i wound need to purchase some sort of controller like a "middle man"

          SparkmanS Offline
          SparkmanS Offline
          Sparkman
          Hero Member
          wrote on last edited by
          #4

          @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

          Y 1 Reply Last reply
          0
          • SparkmanS Sparkman

            @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

            Y Offline
            Y Offline
            youngst123
            wrote on last edited by
            #5

            @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"

            1 Reply Last reply
            0
            • SparkmanS Sparkman

              @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

              Y Offline
              Y Offline
              youngst123
              wrote on last edited by
              #6

              @Sparkman ok i have another arduino what sketch do you recommend i use on it?

              SparkmanS 1 Reply Last reply
              0
              • Y youngst123

                @Sparkman ok i have another arduino what sketch do you recommend i use on it?

                SparkmanS Offline
                SparkmanS Offline
                Sparkman
                Hero Member
                wrote on last edited by
                #7

                @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

                Y 1 Reply Last reply
                0
                • SparkmanS Sparkman

                  @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

                  Y Offline
                  Y Offline
                  youngst123
                  wrote on last edited by
                  #8

                  @Sparkman ok i think its starting to sink in thanks for your help..

                  SparkmanS 1 Reply Last reply
                  0
                  • Y youngst123

                    @Sparkman ok i think its starting to sink in thanks for your help..

                    SparkmanS Offline
                    SparkmanS Offline
                    Sparkman
                    Hero Member
                    wrote on last edited by
                    #9

                    @youngst123 No problem. Let us know how you make out.

                    Cheers
                    Al

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    23

                    Online

                    11.7k

                    Users

                    11.2k

                    Topics

                    113.1k

                    Posts


                    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • MySensors
                    • OpenHardware.io
                    • Categories
                    • Recent
                    • Tags
                    • Popular