<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LEGO+ and PowerFunctions]]></title><description><![CDATA[<p dir="auto">Hello all,</p>
<p dir="auto">I would like to connect (old) Lego PowerFunctions motors to the LEGO+ module.  There are a few things I need to solve for this.  But if anyone has already done so, perhaps I can save some time.  I will write up a detailed step-by-step once I get it to work.</p>
<ol>
<li>
<p dir="auto">The PowerFunctions motors are 9V.  I see that the LEGO+ module can take external power input (the yellow XT30 connector) with a nice wide range of voltages, but I also see that the pins on the ports are labeled "5V" (<a href="https://docs.m5stack.com/#/en/module/lego_plus" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/module/lego_plus</a>).  Does anyone know whether the input power Vcc is passed directly to the motor connectors?  I also read that the voltage on this external input is passed directly (i.e., unregulated) on to the M5Core itself; is it safe to put 9V on this input?</p>
</li>
<li>
<p dir="auto">The module came with a connector cable to an EV3 "telephone type" connector.  I have found descriptions of the LPF2 connectors, so I can just buy connector cables from Lego themselves (they're only a few euros each) and cut them up to make compatible connectors.  I found "compatibility cables" online, but they are not the correct PowerFunctions type.</p>
</li>
</ol>
<p dir="auto">Did anyone here try this before?  I found a YouTube video of someone who connected a PowerFunctions motor to an M5Stack, but it was just 30 seconds of a motor spinning and no details about the connection itself...</p>
<p dir="auto">Cheers,<br />
Sander</p>
]]></description><link>https://community.m5stack.com/topic/2020/lego-and-powerfunctions</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:57:05 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2020.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jun 2020 11:42:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Thu, 02 Jul 2020 19:04:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I thought I'd give you a quick update.  I ordered a bunch of pre-wired 6P 1.5 pitch connectors, and by measuring the output of the ports, I figured out the wiring.  I just got an XL motor to work.</p>
<p dir="auto"><img src="http://www.curly-brace.com/XL.jpg" alt="XL motor connected to M5Stack Fire" class=" img-fluid img-markdown" /></p>
<p dir="auto">On the LEGO+ module, the ports are labeled n V B A G M+, with "n" the number of the port, 1 - 4.</p>
<p dir="auto">The LPF connectors are wired as shown in <a href="https://freggelweb.de/bauanleitungen-nxt_pf_steckerbelegung.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://freggelweb.de/bauanleitungen-nxt_pf_steckerbelegung.html</a>; if you place the connector with the studs up and the cable towards you, then the four wires are (left to right) 0 C1 C2 +V.</p>
<p dir="auto">When making a connector, the connections should be as follows:</p>
<p dir="auto">0   &lt;--&gt; G<br />
C1 &lt;--&gt; M+<br />
C2 &lt;--&gt; n<br />
+V &lt;--&gt; V</p>
<p dir="auto">the A and B wires remain unconnected - I don't know what these are for yet.</p>
<p dir="auto">I opted to crimp simple DuPont connectors to the wires as opposed to soldering them together with heat shrink tubing because this way I can also connect everything to a breadboard (which is what I used to test the wiring in the first place).</p>
<p dir="auto">When operating directly from USB, there is obviously (exactly) 5.0V available, which means that even when using PWM=255, the motor doesn't rotate very fast.  My next plan is to make a LPF connector for the (yellow) XT30 power input on the LEGO+ board, so I can drive the whole thing from a standard LEGO battery box.</p>
<p dir="auto">I also ordered a LEGO Servo motor, but this is on backorder and hasn't arrived yet.  I know that this is operated via a rather specific PWM scheme, so once it arrives, I'll see if I can get that one to work.</p>
<p dir="auto">Kind regards,<br />
Sander (and son Ruben)</p>
]]></description><link>https://community.m5stack.com/post/9229</link><guid isPermaLink="true">https://community.m5stack.com/post/9229</guid><dc:creator><![CDATA[CurlyBrace]]></dc:creator><pubDate>Thu, 02 Jul 2020 19:04:03 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Wed, 10 Jun 2020 17:52:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/curlybrace" aria-label="Profile: curlybrace">@<bdi>curlybrace</bdi></a></p>
<p dir="auto">You can order the sockets including cable and plug here : <a href="https://de.aliexpress.com/item/32497324162.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://de.aliexpress.com/item/32497324162.html</a></p>
<p dir="auto">Unfortunately, they are only available in 20 sets and unfortunately only with a straight plug.<br />
I have searched Aliexpress and this was the only usable result.</p>
<p dir="auto">I ordered 2 sets at once</p>
<p dir="auto">Greeting Reiner</p>
]]></description><link>https://community.m5stack.com/post/8951</link><guid isPermaLink="true">https://community.m5stack.com/post/8951</guid><dc:creator><![CDATA[Skink]]></dc:creator><pubDate>Wed, 10 Jun 2020 17:52:32 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Wed, 10 Jun 2020 09:32:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/curlybrace" aria-label="Profile: curlybrace">@<bdi>curlybrace</bdi></a> 1×6P 1.5 pitch</p>
]]></description><link>https://community.m5stack.com/post/8949</link><guid isPermaLink="true">https://community.m5stack.com/post/8949</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Wed, 10 Jun 2020 09:32:03 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Tue, 09 Jun 2020 11:19:07 GMT]]></title><description><![CDATA[<p dir="auto">Does anyone know the type number of the 6-pin connectors which are on the LEGO+ board..?</p>
]]></description><link>https://community.m5stack.com/post/8944</link><guid isPermaLink="true">https://community.m5stack.com/post/8944</guid><dc:creator><![CDATA[CurlyBrace]]></dc:creator><pubDate>Tue, 09 Jun 2020 11:19:07 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Mon, 08 Jun 2020 02:56:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/curlybrace" aria-label="Profile: curlybrace">@<bdi>curlybrace</bdi></a> said in <a href="/post/8927">LEGO+ and PowerFunctions</a>:</p>
<blockquote>
<p dir="auto">Hi Skink,<br />
These were not the videos I meant, but I also saw yours. You have quite the collection of motors :)<br />
Perhaps I should have gone for the BaseX module; I picked the LEGO+ one because of its name. My son has a PowerFunctions set (only no servo motor so that’s a project for another day).  In fact, I came to M5Stack because I was googling around for MindStorms alternatives :-)<br />
My challenge is to connect the PF motors to the LEGO+ module. I think I can get this working by buying a PF extension cable and split it in two, and then putting the small 6-pin connectors on the ends which fit in the LEGO+ module. I had already found the pin outs of the LPF2 connectors online, and although I’m more of a software guy than a hardware guy, I’m sure I’ll get something to work.<br />
I’ll post back here with my results!<br />
Cheers,<br />
Sander</p>
</blockquote>
<p dir="auto">Hi Sander I am curious!</p>
<p dir="auto">Another advantage of the Base-X module is, that you can use the glide-wheel sensor from here: <a href="http://www.mindsensors.com/ev3-and-nxt/17-glidewheel-as-angle-sensor-for-nxt-or-ev3" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.mindsensors.com/ev3-and-nxt/17-glidewheel-as-angle-sensor-for-nxt-or-ev3</a><br />
You can control the power motors like the NXT or EV3 motors.<br />
So you can say how many revolutions or how many degrees they should move. You can also see it in the video.<br />
But maybe that's something for later.<br />
I am definitely curious about your projects!<br />
Greetings Skink</p>
]]></description><link>https://community.m5stack.com/post/8929</link><guid isPermaLink="true">https://community.m5stack.com/post/8929</guid><dc:creator><![CDATA[Skink]]></dc:creator><pubDate>Mon, 08 Jun 2020 02:56:18 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Sun, 07 Jun 2020 22:09:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi Skink,</p>
<p dir="auto">These were not the videos I meant, but I also saw yours. You have quite the collection of motors :)</p>
<p dir="auto">Perhaps I should have gone for the BaseX module; I picked the LEGO+ one because of its name. My son has a PowerFunctions set (only no servo motor so that’s a project for another day).  In fact, I came to M5Stack because I was googling around for MindStorms alternatives :-)</p>
<p dir="auto">My challenge is to connect the PF motors to the LEGO+ module. I think I can get this working by buying a PF extension cable and split it in two, and then putting the small 6-pin connectors on the ends which fit in the LEGO+ module. I had already found the pin outs of the LPF2 connectors online, and although I’m more of a software guy than a hardware guy, I’m sure I’ll get something to work.</p>
<p dir="auto">I’ll post back here with my results!</p>
<p dir="auto">Cheers,<br />
Sander</p>
]]></description><link>https://community.m5stack.com/post/8927</link><guid isPermaLink="true">https://community.m5stack.com/post/8927</guid><dc:creator><![CDATA[CurlyBrace]]></dc:creator><pubDate>Sun, 07 Jun 2020 22:09:37 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Sun, 07 Jun 2020 18:26:59 GMT]]></title><description><![CDATA[<p dir="auto">In the schematic diagram you can see that the 5V+ are only for the internal supply of the module, the VCC voltage before the voltage regulator also goes to the drivers, so if you connect a 9V DC power supply, the motors are also supplied with 9V via the drivers!</p>
<p dir="auto">Greeting Skink</p>
]]></description><link>https://community.m5stack.com/post/8926</link><guid isPermaLink="true">https://community.m5stack.com/post/8926</guid><dc:creator><![CDATA[Skink]]></dc:creator><pubDate>Sun, 07 Jun 2020 18:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Sun, 07 Jun 2020 18:06:52 GMT]]></title><description><![CDATA[<p dir="auto">If you want to do this with the Lego + Modul, you can also connect 6-12V direct current to the XT30 connector, see picture in the documentation !</p>
<p dir="auto">Greeting Skink</p>
<p dir="auto"><img src="/assets/uploads/files/1591553204303-unbenannt-resized.jpg" alt="0_1591553185704_Unbenannt.jpg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/8924</link><guid isPermaLink="true">https://community.m5stack.com/post/8924</guid><dc:creator><![CDATA[Skink]]></dc:creator><pubDate>Sun, 07 Jun 2020 18:06:52 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Sun, 07 Jun 2020 18:35:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/curlybrace" aria-label="Profile: curlybrace">@<bdi>curlybrace</bdi></a> said in <a href="/post/8920">LEGO+ and PowerFunctions</a>:</p>
<blockquote>
<p dir="auto">Hello all,<br />
I would like to connect (old) Lego PowerFunctions motors to the LEGO+ module.  There are a few things I need to solve for this.  But if anyone has already done so, perhaps I can save some time.  I will write up a detailed step-by-step once I get it to work.</p>
<p dir="auto">The PowerFunctions motors are 9V.  I see that the LEGO+ module can take external power input (the yellow XT30 connector) with a nice wide range of voltages, but I also see that the pins on the ports are labeled "5V" (<a href="https://docs.m5stack.com/#/en/module/lego_plus" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/module/lego_plus</a>).  Does anyone know whether the input power Vcc is passed directly to the motor connectors?  I also read that the voltage on this external input is passed directly (i.e., unregulated) on to the M5Core itself; is it safe to put 9V on this input?</p>
<p dir="auto">The module came with a connector cable to an EV3 "telephone type" connector.  I have found descriptions of the LPF2 connectors, so I can just buy connector cables from Lego themselves (they're only a few euros each) and cut them up to make compatible connectors.  I found "compatibility cables" online, but they are not the correct PowerFunctions type.</p>
<p dir="auto">Did anyone here try this before?  I found a YouTube video of someone who connected a PowerFunctions motor to an M5Stack, but it was just 30 seconds of a motor spinning and no details about the connection itself...<br />
Cheers,<br />
Sander</p>
</blockquote>
<p dir="auto">Hi, Sander,<br />
that wasn't one of those videos by any chance !?</p>
<p dir="auto">Link1: <a href="https://www.youtube.com/watch?v=W1jNzYjn_bc" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=W1jNzYjn_bc</a></p>
<p dir="auto">Link2:<a href="https://www.youtube.com/watch?v=xm5Hdaia7po" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=xm5Hdaia7po</a></p>
<p dir="auto">These two videos are from me !</p>
<p dir="auto">But I used the BASE X module (<a href="https://docs.m5stack.com/#/en/base/basex" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/base/basex</a>), there you can connect all Lego motors from Lego EV3, NXT, Power Motors L, XL and what other Lego motors are available !</p>
<p dir="auto">On the subject of connection I will add more interesting pages:</p>
<p dir="auto">Link1:<a href="https://www.philohome.com/nxt.htm" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.philohome.com/nxt.htm</a></p>
<p dir="auto">Link2:<a href="https://www.philohome.com/nxtplug/nxtplug.htm" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.philohome.com/nxtplug/nxtplug.htm</a></p>
<p dir="auto">Link3:<a href="https://freggelweb.de/bauanleitungen-nxt_pf_steckerbelegung.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://freggelweb.de/bauanleitungen-nxt_pf_steckerbelegung.html</a></p>
<p dir="auto">Link4:<a href="https://www.bartneck.de/2015/06/01/building-instructions-for-a-cable-that-connects-lego-power-functions-pf-with-mindstorms-nxtev3/" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.bartneck.de/2015/06/01/building-instructions-for-a-cable-that-connects-lego-power-functions-pf-with-mindstorms-nxtev3/</a></p>
<p dir="auto">Link5:<a href="https://freggelweb.de/technic-powerFunctions.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://freggelweb.de/technic-powerFunctions.html</a> (Go all the way down to the end of the page there you see adapters, but don't know if the adapter cables are still available )</p>
<p dir="auto">Greeting skink</p>
]]></description><link>https://community.m5stack.com/post/8923</link><guid isPermaLink="true">https://community.m5stack.com/post/8923</guid><dc:creator><![CDATA[Skink]]></dc:creator><pubDate>Sun, 07 Jun 2020 18:35:37 GMT</pubDate></item><item><title><![CDATA[Reply to LEGO+ and PowerFunctions on Sun, 07 Jun 2020 17:25:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/curlybrace" aria-label="Profile: curlybrace">@<bdi>curlybrace</bdi></a> I tried once but haven't had time to do more with the project.</p>
]]></description><link>https://community.m5stack.com/post/8922</link><guid isPermaLink="true">https://community.m5stack.com/post/8922</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sun, 07 Jun 2020 17:25:40 GMT</pubDate></item></channel></rss>