I have the following :
- Output Pin 17 (wiringPi pin number 0) to a relay module -> a LOW means the relay will let current pass.
- 5V pin to power the relay module
- Input Pin 22 (wiringPi pin number 3) pull-up and waiting for interrupt on failling edge connected to a push button which is also connected to GND (using WiringPiISR function).
Some times (1 in 3 tries), when I put the output pin 17 to LOW (echo 0 > /sys/class/gpio/gpio17/value) my interrupt function is called and I never touched the button...
Is this normal ? It would seems that when the pin 17 goes LOW, it also puts the pin 22 to LOW for a brief moment, thus triggering the interrupt...
NOTE: I'm connected with a power supply 5V-2A, I also have a USB Wifi and a usb jack 3.5 adapter for mic and speaker.
EDIT: To clarify, I'm using the internal pull-up for input pin 22.
Since, I'm new to all this, would you guys need more info to help me ?