Yapay zekâ tarafından English dilinden çevrildi ·
Sorun diyottaydı. Vanaya bir 1N4007 taktım ve röleyi kendi 5 V besleme kaynağına aldım. COM portu iki gündür bir kez bile düşmedi ve vana anahtarlandığında okuma 405-415 civarında kalıyor. Bir de bir saniyelik bekleme ekledim. Teşekkürler!
It was the diode. Put a 1N4007 on the valve and moved the relay to its own 5 V supply. The COM port hasn’t dropped once in two days and the reading stays around 405-415 when the valve switches. Also added the one second pause. Thanks!

