A PCB footprint which adds power switching ability to a coin cell holder.
UPDATE:
Coin cell batteries can kill a child if swallowed. It is now mandatory that coin cell batteries be secured behind a secondary layer of protection. This design lacks that protection and it therefore should not be used. See Reese's Law for more information.
The Consumer Product Safety Commission regulation on this topic can be read here
More broadly, almost all simple coin cell holders lack a secondary locking mechanism, so many other products which employ them, even in a standard configuration, are in violation of 16 CFR Part 1263
I've taken down the footprint files. The rest of this repo is up as a notice to anyone who might be searching for similar ideas in the future.
This repository contained the KiCad symbol and footprint libraries for toggleSlot:
Symbol library: toggleSlot.kicad_sym
Footprint library: toggleSlot.pretty
To use these libraries in KiCad, follow these steps:
Download the repository.
Add the symbol library (toggleSlot.kicad_sym) in KiCad's Symbol Libraries manager.
Add the footprint library (toggleSlot.pretty) in KiCad's Footprint Libraries manager.
While any appropriate symbol can be used with this footprint, the suppplied symbol is pre-linked to the right footprint for convenience.
The negative or "on" pad (labeled N1 in the image above) must have a small amount of solder applied to it for the purpose of raising the surface of the pad high enough to make contact with the underside of the battery.