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. Led strip flashes when off

Led strip flashes when off

Scheduled Pinned Locked Moved Hardware
6 Posts 3 Posters 1.8k Views 3 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.
  • M Offline
    M Offline
    moskovskiy82
    wrote on last edited by
    #1

    I've built the LED dimmer with the scheme on mysensors page. The only difference - i have 3 dimmers on pins D3,5,6 + MQ7 (A5) and DHT11 (D8).
    Everything is working fine. But one of the led strips (not the longest one) flashes once in a while while switched off. 4-6 flashes of with different frequency and light power. Quite fast. Why is this happening? And how can this be fixed? Maybe some resistance to be added on the pin?

    1 Reply Last reply
    0
    • mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Could you share how you have wired everything and post your sketch? What does the debug output look like?

      1 Reply Last reply
      0
      • M Offline
        M Offline
        moskovskiy82
        wrote on last edited by
        #3

        It goes off like it should. But than after 10 minutes or even more several flashes occur. Wiring is like on the mysensors page. The only thing under question should i interconnect the ground before the 12 to 5v converter and after? Or maybe add a resistor between the digital pin and mosfet

        alt text

        1 Reply Last reply
        0
        • T Offline
          T Offline
          TimO
          Hero Member
          wrote on last edited by
          #4

          Are you using the development version?

          In that case look for MY_LEDS_BLINKING_FEATURE, the LEDS are configured on pin 4/5/6.
          Just define another pin (like A0).

          Drove me crazy too. :-)

          1 Reply Last reply
          1
          • M Offline
            M Offline
            moskovskiy82
            wrote on last edited by
            #5

            No it's the stable one downloaded from the "API & Download" page. So i guess it's 1.5.4
            In my sketch i found the
            #define MY_LEDS_BLINKING_FEATURE

            Is there a way to disable this completely or shall i define all 3 to the same unused pin?
            //#define MY_DEFAULT_ERR_LED x
            //#define MY_DEFAULT_TX_LED x
            //#define MY_DEFAULT_RX_LED x

            1 Reply Last reply
            0
            • T Offline
              T Offline
              TimO
              Hero Member
              wrote on last edited by
              #6

              Well, uncomment the #define MY_LEDS_BLINKING_FEATURE and to be sure define all 3 LEDS to one (unused) pin. So you will make sure that is/is not the reason for the wrong behaviour.

              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


              9

              Online

              11.9k

              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