Hi.
I'm using one of the digital inputs of the PiFace to trigger the opening of my shutters.
What is happening is that two times in two week the shutters opened while nobody was even in the house.
Checking the log it's clear that both times the "pushbutton" went on-off within the same second, therefore I suspect a seldom interference which might be eliminated with a debouncing routine.
Questions:
1) Is anybody having a similar problem?
2) Is there a way to add debouncing code to the PiFace interface in Domoticz?
Thanks
Giacomo
Debouncing for PiFace Digital 2
Moderators: fantom, leecollings
- Sine
- Posts: 17
- Joined: Monday 02 February 2015 15:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Debouncing for PiFace Digital 2
Do you have long wires attached to the inputs ?
These signals are only 3.3V and VERY sensitive. I would recommend to do any filtering on the hardware side, maybe even seperate the inputs from the switches with a few optocouplers.
-sorry- just realized I'm replying to a old topic.
These signals are only 3.3V and VERY sensitive. I would recommend to do any filtering on the hardware side, maybe even seperate the inputs from the switches with a few optocouplers.
-sorry- just realized I'm replying to a old topic.
-
- Posts: 3
- Joined: Saturday 20 September 2014 15:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10213
- Location: France
- Contact:
Re: Debouncing for PiFace Digital 2
Hello gbuico, even if you probably found a solution now... I had the same issue, also with a momentary button, long wires, to open my shutter (somfy).
Now the button is connected to a relay coil and the relay contact is connected between GND and piface input...
Bye !
Now the button is connected to a relay coil and the relay contact is connected between GND and piface input...
Bye !
Raspberry 3 - Domoticz Beta | Piface v.2 + Téléinfo + RFXtrx433E + Aeon Z-Wave+GEN5
Oregon, 9 motorisations Somfy Yslo Flex 2 RTS, prises chacon, Fibaro FGD-212, FGSD002, FGFS101, Sonoff
Oregon, 9 motorisations Somfy Yslo Flex 2 RTS, prises chacon, Fibaro FGD-212, FGSD002, FGFS101, Sonoff
Who is online
Users browsing this forum: No registered users and 1 guest