The question to you is ....... with the 'new' relay channel being used..... is it very much cooler than the previous channel used? In other words...... not as hot?
Works excellent is one thing. The big question is .... with the new channel being used .... is it much cooler when compared with the 'other' channel that was used before?
Can't discount the possibility that the channel you used (originally) may have failed due to some kind of manufacturing defect. Hard to say right now. That's why you got to focus on the temperature of this new channel. If it stays much cooler than the other one.... then it might be good news.
By working excellent I meant it’s controlling everything as required; sorry if you got confused.
For the relay channel temperature, ..well, it still becomes hot when the relay is connected. Now thanks to regular switch-offs it has time to cool down regularly. But my concern is for cases of extra heat loss like overnights which cause keeping relay connected for longer times. Could I be sure the relay is safe in those cases? In other words, can we say “welding” won’t happen for it?
hosseinzr:
For the relay channel temperature, ..well, it still becomes hot when the relay is connected.
That's exactly what we needed to know. If that relay is very hot to touch, and if you've done the measurements on applied input voltage, and input current....and coil resistance measurement, and you're confident that you've done everything correctly ...... then it could be time for an upgrade and get some beefier relay that can handle the situation better.
If you get a multimeter and measure the applied input voltage.... and if it's 5V DC, then that's good. If the measured input current conforms to specs, then that's good too. If everything is as it should be, and if you get this heating issue, then you could consider trying those other kinds of relays --- even ones with heat-sinks on them.
In your diagram, the arduino is not even connected up. So it's impossible to guess what's going on.