Pic of relay module is attached below, it has only one GND
As i want to use a separate power supply of 5V, i connected separate supply's +Ve terminal to JD-Vcc and -Ve terminal to "GND-IN1-IN2-IN3-IN4-Vcc"'s GND of relay module.... and connected Arduino's 5V to "GND-IN1-IN2-IN3-IN4-Vcc"'s Vcc... does this connection make the relay optically isolated?????
I think that diagram should be modified to make things clear.
The two VCCs (opto and jumper) need to be connected, since they are on the board.
Then the isolation barrier needs to be re-drawn throught the jumper.