Relay switching issue between 2 sources

raschemmel:
You made my point exactly.

duh = "obviously" (if you find it offensive then ignore it. I don't think there's any thing wrong with using it when it is appropriate and this is one of those times)

If you know what the OP is trying to do then go ahead and solve the post. Otherwise , ask the OP what he is trying to do so we can figure out what the problem is.

The OP needs to forget the schematic and simply tell us exactly WHAT he is trying to do. That should be obvious. I don't know what your problem is but it is pointless to discuss a schematic if you don't know what the DESIGN CRITERIA is. So far, that is unknown. You admit yourself you are making assumptions. I am not being an ass. I am being practical. Maybe you should find out what the OP is trying to do before calling someone an ass.

The only way for a newbie to learn what mistakes are obvious is to simply tell them straight out that it is obvious you cannot do something. How else are they going to learn that ?
Obvously you can't switch a relay that is being used to do the switching. The OP said it didn't work when he connected the battery. We don't know what that means , yet.

@OP ,
Thank you for the explanation . Can you please explain the problem ?
From what I can see, the idea is that when the 5V adaptor is NOT present, the arduino is powered through the N.C. contacts and when the adaptor IS powered, the arduino is powered through the N.O. contacts.
I am still not clear on what the problem is . Can you please explain the problem ?
Also, do you have a DMM (digital multimeter ? Please measure all the voltages and post them. Also, please post a link for the relay.

Please state the problem you are having.

yes i expect a working as you said.. when powering with adapter get supply through normally open (connected to adapter) and when adapter off get supply through normally closed point(connected to battery).. but my problem is that, when i switch on adapter relay switches to NO and when i power off the adapter the relay do not switch back to NC.. and on that i get a 2.7v across the coil( i dont know from where it coming) and when i check the continuity i gey COM,NC,No are short for some moments.... but if i disconnect the battery then relay switch perfectly to NO and NC ....