The Sparkfun Battery Holder 2xAA w/ Cover & Switch - JST Connector provides a refined solution for battery-powered projects. It includes a removable sliding cover secured by a Phillips head screw and an ON/OFF switch for power control. The leads are approximately 150mm long and terminate with a JST-XH connector.
Note: This battery holder is NOT compatible with the micro:bit, Arduino Pro, and other boards that use a JST-PH connector.