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. Hardware
  3. Sensor pins

Sensor pins

Scheduled Pinned Locked Moved Hardware
6 Posts 3 Posters 1.4k Views 2 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.
  • Lee GroomL Offline
    Lee GroomL Offline
    Lee Groom
    wrote on last edited by
    #1

    Is there any reason that i cannot seem to use pins D5 and D6. when i try and use these pins i seem to get very random results, if i use D7 and D8 it all works fine. I noticed that there is a white circle around the D5 and D6 pinds on the connecting diagram, does this have any meaning ??

    https://www.mysensors.org/build/connect_radio

    Thanks in advance.
    Lee

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      @Lee-Groom - what are you trying to connect, what do you plan to do and what board do you use?. It should not be any major difference, search for pinout for your board and see if there is any differnece. If you are using a pro mini 5 and 6 has PWM as extra - but it should be able to do a normal on/off just like 7 and 8.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      1
      • Lee GroomL Offline
        Lee GroomL Offline
        Lee Groom
        wrote on last edited by
        #3

        Its on a nano........ Basically I have 2 relays and 2 buttons on the following pins.

        D3 - Realy1
        D4 Button1
        D5 Relay2
        D6 Button2

        on startup D5-6 seem to go high/low a couple of times. and it randomly thinks I am pressing the button on D6. it I move to use D7/8 it all works perfectly....It could be a dodgy board but I don't have an extra spare at the moment.

        H 1 Reply Last reply
        0
        • sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #4

          @Lee-Groom - could also be the relay drawing to much current...

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          0
          • Lee GroomL Lee Groom

            Its on a nano........ Basically I have 2 relays and 2 buttons on the following pins.

            D3 - Realy1
            D4 Button1
            D5 Relay2
            D6 Button2

            on startup D5-6 seem to go high/low a couple of times. and it randomly thinks I am pressing the button on D6. it I move to use D7/8 it all works perfectly....It could be a dodgy board but I don't have an extra spare at the moment.

            H Offline
            H Offline
            HarryDutch
            wrote on last edited by
            #5

            @Lee-Groom

            Have a look at MyConfig.h. If you have "#define WITH_LEDS_BLINKING" then D4, D5 and D6 are used for blinking the status led's. Could maybe explain your problem.

            1 Reply Last reply
            2
            • Lee GroomL Offline
              Lee GroomL Offline
              Lee Groom
              wrote on last edited by
              #6

              @HarryDutch OMG your a genius, I do have LEDs on....I thought that only applied to gateways for some reason...

              Don't know why I didn't think of that :)

              Lee

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


              18

              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