I have one strange problem ,I write a code to drive two relays ,one if tmp. higher and one if temperature lower... and thats work fine ,a use dallas sensor... and I add ethernet shield with sd card slot to mu arduino uno ... Than I edit my code to make logs to sd card.... I try code and everything works fine, arduino write logs. but when I disconnect pc from arduino and use power supply both relays start to blink together... and I connect computer again than everything work fine ... than I disconnect Ethernet shield and relays work fine...
relays use 5,6 digital pins ..... one wire use pin 9 ....
maybe someone have some problem