Hello.
My first post here, so bear over with me.
Now, my problem.
I use a Arduino Uno with a 74HC595 Shift Register and a 5v relayboard with integrated optocouplers.
The problem i face, is that as soon as there is load on the relay, the shift register goes haywire.
I'm aware of that it's caused by noise, but i strugle to figure out how to wire the relay / shift register to remove that noise.
I found following threads with solutions, but i find the schematics confusing:
http://forum.allaboutcircuits.com/showthread.php?t=73735
http://hstech.ro/HC595/595.html
Right now the shift register is wired directly to the arduino and the relay. No rectifier, resistor or capacitor is mounted anywhere.
My questions is:
How should i wire it "properly" to remove all the noise / problems I'm facing.
I know this maybe a "simple" problem to solve, but i just can't see the solution. Maybe I'm stupid? hehe..
Thanks in advance
My first post here, so bear over with me.
Now, my problem.
I use a Arduino Uno with a 74HC595 Shift Register and a 5v relayboard with integrated optocouplers.
The problem i face, is that as soon as there is load on the relay, the shift register goes haywire.
I'm aware of that it's caused by noise, but i strugle to figure out how to wire the relay / shift register to remove that noise.
I found following threads with solutions, but i find the schematics confusing:
http://forum.allaboutcircuits.com/showthread.php?t=73735
http://hstech.ro/HC595/595.html
Right now the shift register is wired directly to the arduino and the relay. No rectifier, resistor or capacitor is mounted anywhere.
My questions is:
How should i wire it "properly" to remove all the noise / problems I'm facing.
I know this maybe a "simple" problem to solve, but i just can't see the solution. Maybe I'm stupid? hehe..
Thanks in advance