deading a section of track befor a bascile bridge?

I am building a layout with side by side lift bridges and need to deaden some track both in front and behind the bridges so the model train will not run into the abyss. I need to know the wireing from arduino to breadboard and acc. and how to setup my commands.

It sounds like an interesting project and I like model trains. But you have given very little information from which to help you.

One solution would be to have a relay to switch ON power to the dead sections when the bridge is in position. That could be accomplished without any Arduino if the bridge triggers a microswitch that allows power to flow in the relay coil.

Assuming you have some other idea in mind you need to tell us about it.

What experience do you have with Arduinos?