Answers.Body: <p>I make a print (with silicon) of the Lego PF socket, in 2 halves.</p>
  
  <p>I just need the C1 and C2 electrical contacts, so I'm just dealing with them, but you can go for the 4 contacts.</p>
  
  <p>So in the bottom half, I insert two small pins from a DIP socket (for integrated circuits) in 2 tiny cuts I do with  a kind of bistoury and insert the 2 pins in those two slots.</p>
  
  <p>After that I pour some acrylic  resin (red for that case) in the silicon mold, including the 2 pins.</p>
  
  <p>The bad point is that it only deal with one half.</p>
  
  <p>The other one could be done the same way, and maybe, if they are thin enough, you can join both.</p>
  
  <p>On the pictures, the top face of the resin PF socket would need a kind of grounding, to make it flat and nice.</p>
  
  <p>To connect it to a NXT brick, I pick up a RJ12 socket on a old electronic device and solder it with both electric wire (+some resistors)</p>
  
  <p><a href="https://i.sstatic.net/oPHgJ.jpg" rel="noreferrer"><img src="https://i.sstatic.net/oPHgJ.jpg" alt="Silicon print 1"></a>
  <a href="https://i.sstatic.net/6w7Cz.jpg" rel="noreferrer"><img src="https://i.sstatic.net/6w7Cz.jpg" alt="Silicon print 2"></a>
  <a href="https://i.sstatic.net/f8I3T.jpg" rel="noreferrer"><img src="https://i.sstatic.net/f8I3T.jpg" alt="Silicon print 3"></a>
  <a href="https://i.sstatic.net/a48RF.jpg" rel="noreferrer"><img src="https://i.sstatic.net/a48RF.jpg" alt="Silicon print 4"></a>
  <a href="https://i.sstatic.net/nbEpx.jpg" rel="noreferrer"><img src="https://i.sstatic.net/nbEpx.jpg" alt="Silicon print 5"></a>
  <a href="https://i.sstatic.net/Bgp9V.jpg" rel="noreferrer"><img src="https://i.sstatic.net/Bgp9V.jpg" alt="Silicon print 6"></a>
  <a href="https://i.sstatic.net/fiRpW.jpg" rel="noreferrer"><img src="https://i.sstatic.net/fiRpW.jpg" alt="Silicon print 7"></a>
  <a href="https://i.sstatic.net/3Xsan.jpg" rel="noreferrer"><img src="https://i.sstatic.net/3Xsan.jpg" alt="Silicon print 8"></a>
  <a href="https://i.sstatic.net/O9Pb5.jpg" rel="noreferrer"><img src="https://i.sstatic.net/O9Pb5.jpg" alt="Silicon print 9"></a>
  <a href="https://i.sstatic.net/LVws5.jpg" rel="noreferrer"><img src="https://i.sstatic.net/LVws5.jpg" alt="Silicon print 10"></a>
  <a href="https://i.sstatic.net/YWFI0.jpg" rel="noreferrer"><img src="https://i.sstatic.net/YWFI0.jpg" alt="Silicon print 11"></a>
  <a href="https://i.sstatic.net/ZpKFX.jpg" rel="noreferrer"><img src="https://i.sstatic.net/ZpKFX.jpg" alt="Silicon print 12"></a>
  <a href="https://i.sstatic.net/leOES.jpg" rel="noreferrer"><img src="https://i.sstatic.net/leOES.jpg" alt="Silicon print 13"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-15T07:17:25.980Z
Answers.Text: @Cyril, fixed your answer to include all pictures.
Answers.UserDisplayName: Shadocko
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-15T07:26:53.827Z
Answers.Text: Nice work with your mold! Scavenging the pins from a DIP socket is a clever solution. I have yet to check that this will work with the other side of the connector.
Answers.UserDisplayName: Shadocko
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-15T08:32:26.127Z
Answers.Text: @chicks  : the site doesn't let me post more than 2 pictures for each answer.Now i can't post anymore pictures (i have some more of the finished thing)
Answers.UserDisplayName: Cyril
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-15T10:38:24.977Z
Answers.Text: @Shadocko , if you could post you CAD file, it would be nice
Answers.UserDisplayName: Cyril
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-15T12:26:35.827Z
Answers.Text: @Cyril If you create a composite picture of 4 or 6 of your individual pictures together, you can put 2 composite pictures in one single answer (ideally the one that already has upvotes). The remaining answers can then be deleted. A little more work, but it'll make the answer much cleaner.
Answers.UserDisplayName: Phil B.
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-15T12:39:42.383Z
Answers.Text: @Cyril, I will post the file when I have some time at home
Answers.UserDisplayName: Shadocko
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-18T07:30:00.123Z
Answers.Text: @Shadocko , there are  no reasons  you couldn't apply this trick to reproduce the other side of the connector. Even with 4 electrical contacts if you wish.The toughest point would be to do both sides.Tough but not impossible to my mind, by molding the two halves independently , soldering electrical junctions together, and cleanely  joining the 2 halves with resin or glue.
Answers.UserDisplayName: Cyril
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-14T16:52:28.387Z
Answers.LastActivityDate: 2015-10-15T20:01:53.703Z
Answers.LastEditDate: 2015-10-15T20:01:53.703Z
Answers.UserDisplayName: Cyril
Answers.Body: <p>I eventually made my design available for download over at <a href="http://shpws.me/KAhj" rel="nofollow noreferrer">Shapeways</a> with a CC BY-NC-SA license (login is required in order to download the STL file).</p>
  
  <p>I tested it at my local maker space in PLA on a µDelta 3D printer.</p>
  
  <p>For the electrical contacts, I tried with pins scavenged from a DIP IC socket like Cyril suggested but the pins were a bit fickle and easily broke. I ended up cutting a sheet of conductive metal I had handy (iron alloy?) in thin bands with a paper cutter, folding the bands in two then using that as the base for the electrical contacts. Paper clips should also work.</p>
  
  <p>The holes in the 3D-printed socket might have to be enlarged a bit, especially in the first layers of the print, with a needle heated with a ligher or dipped in acetone.</p>
  
  <p>The resulting socket works nicely. Only time will tell how good they fare in the long run.</p>
  
  <p>Cutting the metal sheet:
  <a href="https://i.sstatic.net/IiQYH.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IiQYH.jpg" alt="cutting the metal sheet"></a></p>
  
  <p>Resulting thin metal band:
  <a href="https://i.sstatic.net/WE8tp.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/WE8tp.jpg" alt="metal band"></a></p>
  
  <p>The metal band is folded in two:
  <a href="https://i.sstatic.net/1aSVt.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1aSVt.jpg" alt="folding the metal band"></a></p>
  
  <p>The folded band is inserted through one of the holes, folded again, then through the opposite hole:
  <a href="https://i.sstatic.net/5t4mR.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/5t4mR.jpg" alt="inserting the contact"></a></p>
  
  <p>Once the electrical contacts are in place, they are secured with hot glue on the back of the socket:
  <a href="https://i.sstatic.net/lBuwU.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lBuwU.jpg" alt="hot glue"></a></p>
  
  <p>End result:
  <a href="https://i.sstatic.net/j8PXe.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/j8PXe.jpg" alt="end result"></a></p>
  
  <p>Snap!
  <a href="https://i.sstatic.net/p8dwS.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/p8dwS.jpg" alt="snap"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-29T23:06:30.893Z
Answers.LastActivityDate: 2017-04-28T07:52:31.853Z
Answers.LastEditDate: 2017-04-28T07:52:31.853Z
Answers.UserDisplayName: Shadocko
Body: <p>I'm considering the possibility of making my own Power Functions-compatible sockets for a project.</p>
  
  <p>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.</p>
  
  <p>Some projects, like the <a href="http://www.sbrick.com/" rel="noreferrer">SBrick</a> 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.</p>
  
  <p>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.</p>
  
  <p>This project would ultimately be open-sourced for anybody to reproduce it.</p>
  
  <p>Regards,</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-01T12:28:30.417Z
Comments.Text: I'm looking into the same, but not yet far enough advanced to have done a lot of research. One thought I had is to see if it is easier to make a connection with the old 9V connector present at the bottom of [this official conversion cable](http://shop.lego.com/en-US/LEGO-Power-Functions-Extension-Wire-8886). Did you consider this as an option?
Comments.UserDisplayName: Phil B.
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-01T12:49:54.950Z
Comments.Text: I haven't really started to look at how I could do it myself either, just searched for existing solutions. The old 9V connectors might indeed be easier but then extension cables would still be needed for modern PF motors and there would be no way of controlling a PF servo which needs all four lines. I guess I will start making experiments at my local hackerspace with pins inserted in a 3D printed socket.
Comments.UserDisplayName: Shadocko
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-12T08:07:43.307Z
Comments.Text: I've got a working CAD file for the socket. I 3D-printed it with PLA filament and the connector snaps in nicely. The next step is to put actual electrical contacts in there. Still looking for options as to how to make durable contacts. Will share the model when I have some time.
Comments.UserDisplayName: Shadocko
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-10-12T15:27:07.183Z
Comments.Text: When you share - make sure to put it somewhere easily accessible (if you're willing to do so) and post the link (plus a short description) as an answer to this question - as it is truly an answer to your own question.
Comments.UserDisplayName: Phil B.
Tags: <technic><power-functions><cad><electronics><diy>
Title: Custom Power Functions plug design
UserDisplayName: Shadocko
ThreadText: # Custom Power Functions plug design
  
  (Asked by: username_0 on 2015-10-01)
  
  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](http://www.sbrick.com/) 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.
  
  Regards,
  
  **Tags:** technic, power-functions, cad, electronics, diy
  > **Comments:**
  > **username_1**: I'm looking into the same, but not yet far enough advanced to have done a lot of research. One thought I had is to see if it is easier to make a connection with the old 9V connector present at the bottom of [this official conversion cable](http://shop.lego.com/en-US/LEGO-Power-Functions-Extension-Wire-8886). Did you consider this as an option?  
  > **username_0**: I haven't really started to look at how I could do it myself either, just searched for existing solutions. The old 9V connectors might indeed be easier but then extension cables would still be needed for modern PF motors and there would be no way of controlling a PF servo which needs all four lines. I guess I will start making experiments at my local hackerspace with pins inserted in a 3D printed socket.  
  > **username_0**: I've got a working CAD file for the socket. I 3D-printed it with PLA filament and the connector snaps in nicely. The next step is to put actual electrical contacts in there. Still looking for options as to how to make durable contacts. Will share the model when I have some time.  
  > **username_1**: When you share - make sure to put it somewhere easily accessible (if you're willing to do so) and post the link (plus a short description) as an answer to this question - as it is truly an answer to your own question.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2015-10-29. Score: 9 | Accepted answer
  
  I eventually made my design available for download over at [Shapeways](http://shpws.me/KAhj) with a CC BY-NC-SA license (login is required in order to download the STL file).
  
  I tested it at my local maker space in PLA on a µDelta 3D printer.
  
  For the electrical contacts, I tried with pins scavenged from a DIP IC socket like Cyril suggested but the pins were a bit fickle and easily broke. I ended up cutting a sheet of conductive metal I had handy (iron alloy?) in thin bands with a paper cutter, folding the bands in two then using that as the base for the electrical contacts. Paper clips should also work.
  
  The holes in the 3D-printed socket might have to be enlarged a bit, especially in the first layers of the print, with a needle heated with a ligher or dipped in acetone.
  
  The resulting socket works nicely. Only time will tell how good they fare in the long run.
  
  Cutting the metal sheet:
  [![cutting the metal sheet](https://i.sstatic.net/IiQYH.jpg)](https://i.sstatic.net/IiQYH.jpg)
  
  Resulting thin metal band:
  [![metal band](https://i.sstatic.net/WE8tp.jpg)](https://i.sstatic.net/WE8tp.jpg)
  
  The metal band is folded in two:
  [![folding the metal band](https://i.sstatic.net/1aSVt.jpg)](https://i.sstatic.net/1aSVt.jpg)
  
  The folded band is inserted through one of the holes, folded again, then through the opposite hole:
  [![inserting the contact](https://i.sstatic.net/5t4mR.jpg)](https://i.sstatic.net/5t4mR.jpg)
  
  Once the electrical contacts are in place, they are secured with hot glue on the back of the socket:
  [![hot glue](https://i.sstatic.net/lBuwU.jpg)](https://i.sstatic.net/lBuwU.jpg)
  
  End result:
  [![end result](https://i.sstatic.net/j8PXe.jpg)](https://i.sstatic.net/j8PXe.jpg)
  
  Snap!
  [![snap](https://i.sstatic.net/p8dwS.jpg)](https://i.sstatic.net/p8dwS.jpg)
  
  
  ---
  
  ### Answer by username_2 on 2015-10-14. Score: 7
  
  I make a print (with silicon) of the Lego PF socket, in 2 halves.
  
  I just need the C1 and C2 electrical contacts, so I'm just dealing with them, but you can go for the 4 contacts.
  
  So in the bottom half, I insert two small pins from a DIP socket (for integrated circuits) in 2 tiny cuts I do with a kind of bistoury and insert the 2 pins in those two slots.
  
  After that I pour some acrylic resin (red for that case) in the silicon mold, including the 2 pins.
  
  The bad point is that it only deal with one half.
  
  The other one could be done the same way, and maybe, if they are thin enough, you can join both.
  
  On the pictures, the top face of the resin PF socket would need a kind of grounding, to make it flat and nice.
  
  To connect it to a NXT brick, I pick up a RJ12 socket on a old electronic device and solder it with both electric wire (+some resistors)
  
  [![Silicon print 1](https://i.sstatic.net/oPHgJ.jpg)](https://i.sstatic.net/oPHgJ.jpg)
  [![Silicon print 2](https://i.sstatic.net/6w7Cz.jpg)](https://i.sstatic.net/6w7Cz.jpg)
  [![Silicon print 3](https://i.sstatic.net/f8I3T.jpg)](https://i.sstatic.net/f8I3T.jpg)
  [![Silicon print 4](https://i.sstatic.net/a48RF.jpg)](https://i.sstatic.net/a48RF.jpg)
  [![Silicon print 5](https://i.sstatic.net/nbEpx.jpg)](https://i.sstatic.net/nbEpx.jpg)
  [![Silicon print 6](https://i.sstatic.net/Bgp9V.jpg)](https://i.sstatic.net/Bgp9V.jpg)
  [![Silicon print 7](https://i.sstatic.net/fiRpW.jpg)](https://i.sstatic.net/fiRpW.jpg)
  [![Silicon print 8](https://i.sstatic.net/3Xsan.jpg)](https://i.sstatic.net/3Xsan.jpg)
  [![Silicon print 9](https://i.sstatic.net/O9Pb5.jpg)](https://i.sstatic.net/O9Pb5.jpg)
  [![Silicon print 10](https://i.sstatic.net/LVws5.jpg)](https://i.sstatic.net/LVws5.jpg)
  [![Silicon print 11](https://i.sstatic.net/YWFI0.jpg)](https://i.sstatic.net/YWFI0.jpg)
  [![Silicon print 12](https://i.sstatic.net/ZpKFX.jpg)](https://i.sstatic.net/ZpKFX.jpg)
  [![Silicon print 13](https://i.sstatic.net/leOES.jpg)](https://i.sstatic.net/leOES.jpg)
  
  > **Comments:**
  > **username_0**: @Cyril, fixed your answer to include all pictures.  
  > **username_0**: Nice work with your mold! Scavenging the pins from a DIP socket is a clever solution. I have yet to check that this will work with the other side of the connector.  
  > **username_2**: @chicks  : the site doesn't let me post more than 2 pictures for each answer.Now i can't post anymore pictures (i have some more of the finished thing)  
  > **username_2**: @Shadocko , if you could post you CAD file, it would be nice  
  > **username_1**: @Cyril If you create a composite picture of 4 or 6 of your individual pictures together, you can put 2 composite pictures in one single answer (ideally the one that already has upvotes). The remaining answers can then be deleted. A little more work, but it'll make the answer much cleaner.  
  > **username_0**: @Cyril, I will post the file when I have some time at home  
  > **username_2**: @Shadocko , there are  no reasons  you couldn't apply this trick to reproduce the other side of the connector. Even with 4 electrical contacts if you wish.The toughest point would be to do both sides.Tough but not impossible to my mind, by molding the two halves independently , soldering electrical junctions together, and cleanely  joining the 2 halves with resin or glue.  
  
  ---
  
  