I would like to ask if someone has same experience.
I used this schematic to connect relay to my Arduino:
When I connect circuit to pin number 2 or 3 with code:
everything is OK. Relay click and stay switched for whole time.
But when I try same circuit connect to another pin e.g. 8, relay starts click and it click in every loop section.
FYI: I need pins 2,3 for another purpose (Interrups)
I don’t know if there is something wrong with my Arduino or if there is some mistake in circuit.