RelayWithButtonActuator Example with touch sensor
-
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
-
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.
-
Are you powering the relay separately?
-
@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
-
what kind of touch sensor do you have?
-
@BulldogLowell http://www.dx.com/p/catalex-digital-capacitive-touch-sensor-switch-module-for-arduino-blue-black-230867#.VJWV4sgM
catalex
-
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.
Suggested Topics
-
💬 Mini Relay Box
OpenHardware.io • 15 Dec 2016, 18:39 • openhardware.io 23 May 2018, 17:58 -
💬 SPDT 12VDC 10A Relay Module
OpenHardware.io • 21 Mar 2020, 08:02 • openhardware.io 21 Mar 2020, 08:02 -
Openhab 2 Mysensors smart chicken coop
My Project • 1 Mar 2017, 02:08 • Ticupolu 8 Mar 2017, 15:48 -
Sensor reading incorrect data from the controller
Bug Reports • 27 Feb 2016, 10:07 • Brian Fernando 27 Feb 2016, 10:07 -
💬 Wireless Touch Switch: Triac Model - (For Livolo crystals)
OpenHardware.io • 30 Jan 2018, 21:04 • openhardware.io 3 Mar 2018, 17:03 -
Can I have too many relaying (repeater) nodes?
Development • 2 Jun 2014, 19:47 • petewill 3 Jun 2014, 13:35 -
💬 Roller Shutter Node
OpenHardware.io • 27 Jan 2016, 08:41 • openhardware.io 21 Feb 2019, 12:06 -
💬 MySensors InCan double light switch
OpenHardware.io • 13 Feb 2019, 12:50 • openhardware.io 4 days ago