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. LEDs not blinking in my Ethernet Gateway

LEDs not blinking in my Ethernet Gateway

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 1.5k 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.
  • TiasT Offline
    TiasT Offline
    Tias
    wrote on last edited by
    #1

    Hi !

    I have successfully managed to set up an Ethernet Gateway using a WizNET (W5100) Ethernet module with an Arduino Pro Mini 5V module and it communicates fine with a Sensor node and Domoticz. So it works 100% fine and now I want to us the LEDs blinking feature (WITH_LEDS_BLINKING defined).
    However, it does not matter which pins I choose, the error and TX LED's are always lit 100% of the time and the TX LED is always off.

    Since 2 of the default pins for the LED's are used by the NRF24 radio, by the I've tried :
    #define RADIO_ERROR_LED_PIN 2
    #define RADIO_RX_LED_PIN 3
    #define RADIO_TX_LED_PIN 4

    #define RADIO_ERROR_LED_PIN 7
    #define RADIO_RX_LED_PIN 8
    #define RADIO_TX_LED_PIN 9

    With the same result as mentioned above.
    Am I missing something here, or is it not possible to use the LED's in this kind of Gateway ?

    Cheers & TIA !
    /T

    T 1 Reply Last reply
    0
    • TiasT Tias

      Hi !

      I have successfully managed to set up an Ethernet Gateway using a WizNET (W5100) Ethernet module with an Arduino Pro Mini 5V module and it communicates fine with a Sensor node and Domoticz. So it works 100% fine and now I want to us the LEDs blinking feature (WITH_LEDS_BLINKING defined).
      However, it does not matter which pins I choose, the error and TX LED's are always lit 100% of the time and the TX LED is always off.

      Since 2 of the default pins for the LED's are used by the NRF24 radio, by the I've tried :
      #define RADIO_ERROR_LED_PIN 2
      #define RADIO_RX_LED_PIN 3
      #define RADIO_TX_LED_PIN 4

      #define RADIO_ERROR_LED_PIN 7
      #define RADIO_RX_LED_PIN 8
      #define RADIO_TX_LED_PIN 9

      With the same result as mentioned above.
      Am I missing something here, or is it not possible to use the LED's in this kind of Gateway ?

      Cheers & TIA !
      /T

      T Offline
      T Offline
      TheoL
      Contest Winner
      wrote on last edited by
      #2

      @Tias If you use the pins as defined in MyConfig.h it should work. At least with my Sensors 1.5. I haven't tried MySensors 2.0

      1 Reply Last reply
      0
      • TiasT Offline
        TiasT Offline
        Tias
        wrote on last edited by
        #3

        Hi !
        Well, that's my main problem, the default configuration in MyConfig.h is :
        #define DEFAULT_RX_LED_PIN 6
        // The TX LED default pin
        #define DEFAULT_TX_LED_PIN 5
        // The Error LED default pin
        #define DEFAULT_ERR_LED_PIN 4

        But the Ethernet Gateway using a WizNet (W5100) module is already occupying pin #5 and #6 as per the instructions at http://www.mysensors.org/build/ethernet_gateway

        Cheers !
        /T

        T 1 Reply Last reply
        0
        • TiasT Tias

          Hi !
          Well, that's my main problem, the default configuration in MyConfig.h is :
          #define DEFAULT_RX_LED_PIN 6
          // The TX LED default pin
          #define DEFAULT_TX_LED_PIN 5
          // The Error LED default pin
          #define DEFAULT_ERR_LED_PIN 4

          But the Ethernet Gateway using a WizNet (W5100) module is already occupying pin #5 and #6 as per the instructions at http://www.mysensors.org/build/ethernet_gateway

          Cheers !
          /T

          T Offline
          T Offline
          TheoL
          Contest Winner
          wrote on last edited by
          #4

          @Tias

          In the EThernet sketch, the leds are defined as.

          #define RADIO_ERROR_LED_PIN 7 // Error led pin
          #define RADIO_RX_LED_PIN 8 // Receive led pin
          #define RADIO_TX_LED_PIN 9 // the PCB, on board LED

          Than if you configure with blinking leds in the MyConfig.h it should work. At least it works on mine gateway.

          1 Reply Last reply
          0
          • TiasT Offline
            TiasT Offline
            Tias
            wrote on last edited by
            #5

            Hi !
            Thanks, but as I mentioned in my OP, it is not working with that configuration neither so that's why I am trying to get help figuring out why it doesn't work in my case. :)

            Cheers !
            /T

            1 Reply Last reply
            0

            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            17

            Online

            12.0k

            Users

            11.2k

            Topics

            113.4k

            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