Answers.Body: <p>What you describe is indeed the most common way to GBC modules, but it's worth noting that one adaptor+regulator can typically power more modules (it depends on the modules), sometimes only one end of the extension cable is used, when placed on the regulator, it effectively provides a power functions "plug", and if you want to power more modules, the wiring can get a little easier to handle, when every module is essentially connected to a regulator.</p>
  
  <p>Another option is an NXT with the official rechargable battery mounted and an adaptor plugged in, and then of course NXT cables to an NXT motor (I don't remember if NXT->PF cables exists, but NXT->9V cables does and you have mentioned that the PF extension cables can attach to 9V). I have also seen modules with an RCX, I think that has a plug for an adaptor directly, but I'm not sure, I don't think I've seen GBC modules powered by EV3's yet, but there's probably a solution. - Probably more expensive, but having an NXT in a module allows other possibilities, especially if you also put in some sensors.</p>
  
  <p>As Mr. Shiny and New 安宇 mentions the rechargable battery box is a third solution.</p>
  
  <p>All of these solutions have the advantage that they only use official unmodified LEGO parts.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-10T16:07:46.287Z
Answers.LastActivityDate: 2016-08-10T16:07:46.287Z
Answers.UserDisplayName: Henrik supports the community
Answers.Body: <p>I just happened to finish a homemade solution to this problem a few days ago — so while I can say this works, it isn't exactly long-tested. I made <strong>an adapter to connect a 9V power source to the battery contacts in a regular Power Functions battery box.</strong></p>
  
  <ul>
  <li><p>The trickiest part is making the connection to the positive terminal of the battery box (which is a recessed flat contact as opposed to a spring). There are lots of ways the details of this could be handled, depending on the materials and tools available. I used two AAA-to-AA battery size adapters that I had on hand — for this purpose, they're just battery-shaped plastic objects with contacts on the ends. One of them has only the negative end connected, and the other has only the positive end.</p>
  
  <p>(Perhaps there are LEGO parts that could be used instead? 2×2 cylinder bricks are a bit too large…)</p></li>
  <li><p>Hook up these two “dummy batteries” to your power adapter. (If your power adapter has a barrel plug and you don't want to chop it off, that may be the because you need a matching jack. I just bought a surplus adapter and cut the plug off.)</p></li>
  <li><p>The two “batteries” go into the “endmost” slots in the battery box — these are the two that are closest to (negative end) and farthest from (positive end) the switch, paying attention to the zigzag shape of the two sides of the box. These are the two slots that are actually wired to the switch and output; the rest are just to make connections between six separate cells, which we don't need.</p></li>
  </ul>
  
  <p><a href="https://i.sstatic.net/Tplxi.jpg" rel="noreferrer"><img src="https://i.sstatic.net/Tplxi.jpg" alt="Positive battery connection"></a>
  <a href="https://i.sstatic.net/XI93W.jpg" rel="noreferrer"><img src="https://i.sstatic.net/XI93W.jpg" alt="Negative battery connection"></a>
  <a href="https://i.sstatic.net/PHJFE.jpg" rel="noreferrer"><img src="https://i.sstatic.net/PHJFE.jpg" alt="Dummy batteries"></a></p>
  
  <p>Materials used in this particular build:</p>
  
  <ul>
  <li>Two AAA-to-AA adapters, with holes made in the sides for the wire.</li>
  <li>Wooden dowel, to fill out the interior space, with a groove cut in the side to make room for the wire.</li>
  <li>Spring, at non-contact end.</li>
  <li>Ordinary brass thumbtack, pressed into the contact end of the dowel.</li>
  <li>Wire, soldered to the inside of the tack.</li>
  </ul>
  
  <p>There are surely much less complicated ways to do this, such as not bothering with the plastic adapter, though then you need to be more precise about making things the right size.</p>
  
  <p>Pros of this method:</p>
  
  <ul>
  <li>Cheap if you have the right materials on hand.</li>
  <li>You get the reverse/off switch and overload protection circuit that's in the battery box (unlike, say, cutting a Power Functions wire to make direct connections, which would also <em>work</em>).</li>
  <li>No bulky speed control box if you don't need it.</li>
  <li>The same adapter can power an old-style 9V battery box, a Mindstorms brick, or anything else taking 6 AAs.</li>
  </ul>
  
  <p>Cons of this method:</p>
  
  <ul>
  <li>Not an official LEGO power adapter.</li>
  <li>Might be stressing the battery box due to long-term higher voltage than AA batteries under load.</li>
  <li>You get no speed control (if that's something you care about).</li>
  <li>Ugly; you have a battery box with the covers taken off.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-10T01:23:41.093Z
Answers.LastActivityDate: 2016-08-10T01:23:41.093Z
Answers.UserDisplayName: Kevin Reid
Answers.Body: <p>I've heard that the <a href="http://shop.lego.com/en-CA/LEGO-Power-Functions-Rechargeable-Battery-Box-8878" rel="nofollow">rechargeable battery box</a> sold by LEGO can power a motor while it is plugged in and charging. If your motor is in a stationary position, this could be sufficient.</p>
  
  <p>I've also read, in <a href="http://shop.lego.com/en-CA/LEGO-Power-Functions-Extension-Wire-20-8871" rel="nofollow">customer reviews on the LEGO website</a>, that it is possible to daisy-chain power-function devices to the old 9V motors, however, I'm not quite sure what is required for that.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-09T11:50:01.150Z
Answers.Text: Thanks for your answer. The rechargeable battery box is really expensive, the [2868b](http://www.bricklink.com/v2/catalog/catalogitem.page?P=2868b) regulator and [2840c02](http://www.bricklink.com/v2/catalog/catalogitem.page?P=2840c02) are 30 and 5 times cheaper, so I found them more interesting. About daisy-chaining, I asked a question about this: http://bricks.stackexchange.com/questions/7939/does-the-lego-power-functions-extension-wire-8886-work-in-both-directions-be If it works for old 9V battery boxes, it should work with the big regulators too.
Answers.UserDisplayName: A.L
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-09T01:13:00.283Z
Answers.LastActivityDate: 2016-08-11T12:13:18.140Z
Answers.LastEditDate: 2016-08-11T12:13:18.140Z
Answers.UserDisplayName: Mr. Shiny and New 安宇
Body: <p>In <a href="https://www.youtube.com/watch?v=Ignp87Wd4js&amp;t=1m35s" rel="nofollow noreferrer">this video showing an example of Great Ball Contraption (GBC)</a>, we can see (at 1:35) that some train's powers are used to run <em>Power Functions (PF)</em> motors:</p>
  <blockquote>
  <p><a href="https://i.sstatic.net/F05To.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/F05Tol.jpg" alt="Video screenshot @ 1m35s" /></a></p>
  </blockquote>
  <p>That must be more convenient than having to change batteries after several hours.</p>
  <hr />
  <p><strong>What parts are involved, from the electric wall plug to the final motor?</strong></p>
  <p>I guess that the following parts are used:</p>
  <ol>
  <li><strong>Power Adaptor</strong> (<a href="http://www.bricklink.com/v2/catalog/catalogitem.page?P=70931&amp;C=11#T=S&amp;C=11&amp;O=%7B%22color%22:11%7D" rel="nofollow noreferrer">70931</a>) plugged on wall plug, that provides current through a wire connected to…<br><a href="https://i.sstatic.net/I0ZdX.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/I0ZdXt.png" alt="Power Adaptor" /></a></li>
  <li><strong>Train Speed Regulator 9V</strong> (<a href="http://www.bricklink.com/v2/catalog/catalogitem.page?P=2868b" rel="nofollow noreferrer">2868b</a>) that outputs current through 9V plugs<br><a href="https://i.sstatic.net/kiSSKt.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/kiSSKt.png" alt="Train Speed Regulator 9V" /></a></li>
  <li>a <strong>Power Functions Extension Wire</strong> connected on 9V plug that provide a <em>Power Functions</em>-specific plug (<a href="http://www.bricklink.com/v2/catalog/catalogitem.page?S=8886-1" rel="nofollow noreferrer">8886</a>)<br><a href="https://i.sstatic.net/zMSt1.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zMSt1t.png" alt="8886" /></a></li>
  <li><em>any Power Functions</em> motor in the module, e.g <strong>L motor</strong>:<br><a href="https://i.sstatic.net/fXrD1.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/fXrD1t.png" alt="L motor" /></a></li>
  </ol>
  <p>Are my guesses correct?</p>
  <p>If I remember correctly, I have already seen in some videos that the <em>Technic Control Center II</em> (<a href="http://www.bricklink.com/v2/catalog/catalogitem.page?P=2840c02" rel="nofollow noreferrer">2840c02</a>) was used in place of the Train Speed Regulator. Does it work too?</p>
  <p>The <em>Train Speed Regulator 9V</em> are <em>Technic Control Center II</em> are incredibly cheap, are they the cheaper way to power devices from an electric wall plug? The <em>Power Adaptor</em> is relatively expensive, but it's probably possible to find a cheaper and compatible adaptor.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-09T13:09:52.943Z
Comments.Text: Hopefully somebody will be brave enough to try it.
Comments.UserDisplayName: chicks
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-09T13:48:39.397Z
Comments.Text: @chicks We have a better view of the wires in [this video](https://www.youtube.com/watch?v=gJbx52ytuLo&t=24s), I'm 99% sure that I identified the parts in my question. A confirmation would be nice though.
Comments.UserDisplayName: A.L
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-03-23T21:46:14.917Z
Comments.Text: It is pretty much the most used setup in Europe for GBC. Side note: if you need to power specific PF electronics such as the step motor or an IR receiver, the conversion cable won't be enough as it  only provides power to PF C1/C2, not 0V/9V. You can however add an empty battery box to power these too provided it's setup correctly - see https://www.youtube.com/watch?v=0j8QXHI6EaY for example for explanations
Comments.UserDisplayName: Joubarc
Tags: <technic><motor><power-functions><electronics><gbc>
Title: How to run "Power Functions" devices from an electric wall plug?
UserDisplayName: A.L
ThreadText: # How to run "Power Functions" devices from an electric wall plug?
  
  (Asked by: username_0 on 2016-08-08)
  
  In [this video showing an example of Great Ball Contraption (GBC)](https://www.youtube.com/watch?v=Ignp87Wd4js&t=1m35s), we can see (at 1:35) that some train's powers are used to run *Power Functions (PF)* motors:
  
  > [![Video screenshot @ 1m35s](https://i.sstatic.net/F05Tol.jpg)](https://i.sstatic.net/F05To.jpg)
  
  That must be more convenient than having to change batteries after several hours.
  
  ---
  
  **What parts are involved, from the electric wall plug to the final motor?**
  
  I guess that the following parts are used:
  
  1. **Power Adaptor** ([70931](http://www.bricklink.com/v2/catalog/catalogitem.page?P=70931&C=11#T=S&C=11&O=%7B%22color%22:11%7D)) plugged on wall plug, that provides current through a wire connected to…  
     [![Power Adaptor](https://i.sstatic.net/I0ZdXt.png)](https://i.sstatic.net/I0ZdX.png)
  2. **Train Speed Regulator 9V** ([2868b](http://www.bricklink.com/v2/catalog/catalogitem.page?P=2868b)) that outputs current through 9V plugs  
     [![Train Speed Regulator 9V](https://i.sstatic.net/kiSSKt.png)](https://i.sstatic.net/kiSSKt.png)
  3. a **Power Functions Extension Wire** connected on 9V plug that provide a *Power Functions*-specific plug ([8886](http://www.bricklink.com/v2/catalog/catalogitem.page?S=8886-1))  
     [![8886](https://i.sstatic.net/zMSt1t.png)](https://i.sstatic.net/zMSt1.png)
  4. *any Power Functions* motor in the module, e.g **L motor**:  
     [![L motor](https://i.sstatic.net/fXrD1t.png)](https://i.sstatic.net/fXrD1.png)
  
  Are my guesses correct?
  
  If I remember correctly, I have already seen in some videos that the *Technic Control Center II* ([2840c02](http://www.bricklink.com/v2/catalog/catalogitem.page?P=2840c02)) was used in place of the Train Speed Regulator. Does it work too?
  
  The *Train Speed Regulator 9V* are *Technic Control Center II* are incredibly cheap, are they the cheaper way to power devices from an electric wall plug? The *Power Adaptor* is relatively expensive, but it's probably possible to find a cheaper and compatible adaptor.
  
  **Tags:** technic, motor, power-functions, electronics, gbc
  > **Comments:**
  > **username_1**: Hopefully somebody will be brave enough to try it.  
  > **username_0**: @chicks We have a better view of the wires in [this video](https://www.youtube.com/watch?v=gJbx52ytuLo&t=24s), I'm 99% sure that I identified the parts in my question. A confirmation would be nice though.  
  > **username_2**: It is pretty much the most used setup in Europe for GBC. Side note: if you need to power specific PF electronics such as the step motor or an IR receiver, the conversion cable won't be enough as it  only provides power to PF C1/C2, not 0V/9V. You can however add an empty battery box to power these too provided it's setup correctly - see https://www.youtube.com/watch?v=0j8QXHI6EaY for example for explanations  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_3 on 2016-08-10. Score: 6 | Accepted answer
  
  What you describe is indeed the most common way to GBC modules, but it's worth noting that one adaptor+regulator can typically power more modules (it depends on the modules), sometimes only one end of the extension cable is used, when placed on the regulator, it effectively provides a power functions "plug", and if you want to power more modules, the wiring can get a little easier to handle, when every module is essentially connected to a regulator.
  
  Another option is an NXT with the official rechargable battery mounted and an adaptor plugged in, and then of course NXT cables to an NXT motor (I don't remember if NXT->PF cables exists, but NXT->9V cables does and you have mentioned that the PF extension cables can attach to 9V). I have also seen modules with an RCX, I think that has a plug for an adaptor directly, but I'm not sure, I don't think I've seen GBC modules powered by EV3's yet, but there's probably a solution. - Probably more expensive, but having an NXT in a module allows other possibilities, especially if you also put in some sensors.
  
  As Mr. Shiny and New 安宇 mentions the rechargable battery box is a third solution.
  
  All of these solutions have the advantage that they only use official unmodified LEGO parts.
  
  
  ---
  
  ### Answer by username_4 on 2016-08-10. Score: 6
  
  I just happened to finish a homemade solution to this problem a few days ago — so while I can say this works, it isn't exactly long-tested. I made **an adapter to connect a 9V power source to the battery contacts in a regular Power Functions battery box.**
  
  * The trickiest part is making the connection to the positive terminal of the battery box (which is a recessed flat contact as opposed to a spring). There are lots of ways the details of this could be handled, depending on the materials and tools available. I used two AAA-to-AA battery size adapters that I had on hand — for this purpose, they're just battery-shaped plastic objects with contacts on the ends. One of them has only the negative end connected, and the other has only the positive end.
  
    (Perhaps there are LEGO parts that could be used instead? 2×2 cylinder bricks are a bit too large…)
  * Hook up these two “dummy batteries” to your power adapter. (If your power adapter has a barrel plug and you don't want to chop it off, that may be the because you need a matching jack. I just bought a surplus adapter and cut the plug off.)
  * The two “batteries” go into the “endmost” slots in the battery box — these are the two that are closest to (negative end) and farthest from (positive end) the switch, paying attention to the zigzag shape of the two sides of the box. These are the two slots that are actually wired to the switch and output; the rest are just to make connections between six separate cells, which we don't need.
  
  [![Positive battery connection](https://i.sstatic.net/Tplxi.jpg)](https://i.sstatic.net/Tplxi.jpg)
  [![Negative battery connection](https://i.sstatic.net/XI93W.jpg)](https://i.sstatic.net/XI93W.jpg)
  [![Dummy batteries](https://i.sstatic.net/PHJFE.jpg)](https://i.sstatic.net/PHJFE.jpg)
  
  Materials used in this particular build:
  
  * Two AAA-to-AA adapters, with holes made in the sides for the wire.
  * Wooden dowel, to fill out the interior space, with a groove cut in the side to make room for the wire.
  * Spring, at non-contact end.
  * Ordinary brass thumbtack, pressed into the contact end of the dowel.
  * Wire, soldered to the inside of the tack.
  
  There are surely much less complicated ways to do this, such as not bothering with the plastic adapter, though then you need to be more precise about making things the right size.
  
  Pros of this method:
  
  * Cheap if you have the right materials on hand.
  * You get the reverse/off switch and overload protection circuit that's in the battery box (unlike, say, cutting a Power Functions wire to make direct connections, which would also *work*).
  * No bulky speed control box if you don't need it.
  * The same adapter can power an old-style 9V battery box, a Mindstorms brick, or anything else taking 6 AAs.
  
  Cons of this method:
  
  * Not an official LEGO power adapter.
  * Might be stressing the battery box due to long-term higher voltage than AA batteries under load.
  * You get no speed control (if that's something you care about).
  * Ugly; you have a battery box with the covers taken off.
  
  
  ---
  
  ### Answer by username_5 on 2016-08-09. Score: 2
  
  I've heard that the [rechargeable battery box](http://shop.lego.com/en-CA/LEGO-Power-Functions-Rechargeable-Battery-Box-8878) sold by LEGO can power a motor while it is plugged in and charging. If your motor is in a stationary position, this could be sufficient.
  
  I've also read, in [customer reviews on the LEGO website](http://shop.lego.com/en-CA/LEGO-Power-Functions-Extension-Wire-20-8871), that it is possible to daisy-chain power-function devices to the old 9V motors, however, I'm not quite sure what is required for that.
  
  > **Comments:**
  > **username_0**: Thanks for your answer. The rechargeable battery box is really expensive, the [2868b](http://www.bricklink.com/v2/catalog/catalogitem.page?P=2868b) regulator and [2840c02](http://www.bricklink.com/v2/catalog/catalogitem.page?P=2840c02) are 30 and 5 times cheaper, so I found them more interesting. About daisy-chaining, I asked a question about this: http://bricks.stackexchange.com/questions/7939/does-the-lego-power-functions-extension-wire-8886-work-in-both-directions-be If it works for old 9V battery boxes, it should work with the big regulators too.  
  
  ---
  
  