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.2k 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

    TheoLT 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

      TheoLT Offline
      TheoLT 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

        TheoLT 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

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


            19

            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