I'm considering the possibility of making my own Power Functions-compatible sockets for a project.
I'm designing a module board for a single-board-computer with motor drivers and would like to encase the SBC and module board in a 3D-printed LEGO-compatible case. Now, my current solution for plugging PF motors to the drivers is to cut PF extension cables and use just half of them, which is expensive (~3€/cable if memory serves), a bit tricky (the wires are fickle), and damaging LEGO products really hurts my feelings.
Some projects, like the SBrick came up with their own PF-compatible socket designs and I'm wondering if there are any readily-available open-hardware socket designs (CAD files and building instructions). I couldn't find any for the moment.
If there's no such thing, I'm willing to design it myself. I think I could manage to make a working CAD model of the plasic part but I'm looking for suggestions and advice as to how to make the electrical contacts.
This project would ultimately be open-sourced for anybody to reproduce it.