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. RelayWithButtonActuator Example with touch sensor

RelayWithButtonActuator Example with touch sensor

Scheduled Pinned Locked Moved Troubleshooting
relay
7 Posts 3 Posters 3.2k 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.
  • C Offline
    C Offline
    C.r.a.z.y.
    wrote on last edited by
    #1

    I tried RelayWithButtonActuator Example with touch sensor but didnt work.
    When i touch serial prints 111111111.... but relay state doesnt change.
    After 3-5 secs touching it stops printing like this;

    1
    1
    1
    1
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    send: 0-0-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1

    B 1 Reply Last reply
    0
    • C C.r.a.z.y.

      I tried RelayWithButtonActuator Example with touch sensor but didnt work.
      When i touch serial prints 111111111.... but relay state doesnt change.
      After 3-5 secs touching it stops printing like this;

      1
      1
      1
      1
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      0
      send: 0-0-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1

      B Offline
      B Offline
      BulldogLowell
      Contest Winner
      wrote on last edited by
      #2

      @C.r.a.z.y.

      Looks like the sensor may need de-bouncing.

      What are you using to check that? A simple sketch that toggles the on- board led on pin 13 would be easiest.

      C 1 Reply Last reply
      0
      • H Offline
        H Offline
        hek
        Admin
        wrote on last edited by
        #3

        Are you powering the relay separately?

        1 Reply Last reply
        0
        • B BulldogLowell

          @C.r.a.z.y.

          Looks like the sensor may need de-bouncing.

          What are you using to check that? A simple sketch that toggles the on- board led on pin 13 would be easiest.

          C Offline
          C Offline
          C.r.a.z.y.
          wrote on last edited by C.r.a.z.y.
          #4

          @BulldogLowell I am using original sketch didnt make any change.

          @hek Only touch sensor was powered separately.

          Same power source for touch and relay result;
          It stopped working after getting 2 touch at the end of 2 rows print.

          repeater started, id 0
          send: 0-0-0-0 s=255,c=0,t=18,pt=0,l=5,st=fail:1.4.1
          send: 0-0-0-0 s=255,c=3,t=6,pt=1,l=1,st=fail:0
          send: 0-0-0-0 s=255,c=3,t=11,pt=0,l=14,st=fail:Relay & Button
          send: 0-0-0-0 s=255,c=3,t=12,pt=0,l=3,st=fail:1.0
          send: 0-0-0-0 s=1,c=0,t=3,pt=0,l=5,st=fail:1.4.1
          send: 0-0-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
          send: 0-0-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1

          B 1 Reply Last reply
          0
          • C C.r.a.z.y.

            @BulldogLowell I am using original sketch didnt make any change.

            @hek Only touch sensor was powered separately.

            Same power source for touch and relay result;
            It stopped working after getting 2 touch at the end of 2 rows print.

            repeater started, id 0
            send: 0-0-0-0 s=255,c=0,t=18,pt=0,l=5,st=fail:1.4.1
            send: 0-0-0-0 s=255,c=3,t=6,pt=1,l=1,st=fail:0
            send: 0-0-0-0 s=255,c=3,t=11,pt=0,l=14,st=fail:Relay & Button
            send: 0-0-0-0 s=255,c=3,t=12,pt=0,l=3,st=fail:1.0
            send: 0-0-0-0 s=1,c=0,t=3,pt=0,l=5,st=fail:1.4.1
            send: 0-0-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
            send: 0-0-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1

            B Offline
            B Offline
            BulldogLowell
            Contest Winner
            wrote on last edited by
            #5

            @C.r.a.z.y.

            what kind of touch sensor do you have?

            C 1 Reply Last reply
            0
            • B BulldogLowell

              @C.r.a.z.y.

              what kind of touch sensor do you have?

              C Offline
              C Offline
              C.r.a.z.y.
              wrote on last edited by
              #6

              @BulldogLowell http://www.dx.com/p/catalex-digital-capacitive-touch-sensor-switch-module-for-arduino-blue-black-230867#.VJWV4sgM

              catalex

              B 1 Reply Last reply
              0
              • C C.r.a.z.y.

                @BulldogLowell http://www.dx.com/p/catalex-digital-capacitive-touch-sensor-switch-module-for-arduino-blue-black-230867#.VJWV4sgM

                catalex

                B Offline
                B Offline
                BulldogLowell
                Contest Winner
                wrote on last edited by
                #7

                @C.r.a.z.y.

                yeah.... those are VERY bouncy.

                are you interrupt triggering or just using a state change?

                post your code, let's make sure you have it de-bounced enough.

                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


                65

                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