Switching DC barrel jack?

Greetings!

Does SparkFun carry a switching DC barrel jack, such that when I plug an adapter into it, the 9V battery in my project is disconnected and the adapter is engaged? Something like this? https://www.sparkfun.com/products/119 The data sheet looks similar to, say, a normally closed switched 1/4" phono jack, but I’m not sure if the same concept applies to a barrel jack. Thank you!

Hi G.

Yep, [PRT-00119 is what you’re after. Your battery would connect to the switched contact and then when you insert a power plug, the switch opens and disconnects the battery.

The drawing below shows how everything would work together.

](https://www.sparkfun.com/products/119)