Change LEGO Power Functions Motor Wiring - Arduino

25,772

20

10

Introduction: Change LEGO Power Functions Motor Wiring - Arduino

About: I'm a young electronics nerd from Sweden. I love programming and building things and spend most of my spare time programming my Arduinos and Raspberry. - And Swedish meatlessballs are awesome!

In this Instructable i will show you how to open up a LEGO Power Functions Motor and change the wiring to fit a Arduino or any other micro controller.

Parts:
1x LEGO Power Functions Motor
1x Soldering iron
A small screwdriver
2x Small wires

Step 1: Remove the Small Screw Under the Motor

Step 2: Use a Small Screwdriver to Remove the Lightgray Cover

Step 3: Remove the Yellow Capacitor (optional)

As mentioned in the comments, this step is not necessary.

Quote from the comment section:

"What is the impact of removing capacitor and not putting it back?"

"Simply because when you use it with a microcontroller or something similar you may not want the capacitor. If you do you can just use an external one. It wont probably make no difference, you can keep it if you want to. The reason for the capacitor being there in the first place is to even out the current going through the motor so that the battery pack feel a bit better. It will also reduce noise in the magnetic field in the motor so that it doesn't harm delicate components in the proximity of the magnetic field."

If you want to keep the capacitor you need to solder it directly in parallel with the motor pins.

Step 4: Remove the Gray Plastic Part and the Black Cable

Step 5: Solder the Wires to the Two Leads and Attach the Gray Plastic Part

Step 6: Attach the Lightgray Cover

Step 7: Attach the White and Orange Part

Step 8: Attach the Darkgray Cover and Replace the Screw

Be the First to Share

    Recommendations

    • Pocket-Sized Speed Challenge

      Pocket-Sized Speed Challenge
    • Audio Challenge 2020

      Audio Challenge 2020
    • Maps Challenge

      Maps Challenge

    10 Discussions

    0
    angelacyc
    angelacyc

    5 years ago on Introduction

    Thanks for the sharing. I was able to make it work :-)

    What is the impact of removing capacitor and not putting it back?

    0
    nauer
    nauer

    Reply 4 years ago

    Sorry, this part is not a capacitor. This part is PTC (Positive Temperature Coefficient). If the motor overheats, PTC turns the motor off before it causes a defect to the motor or the battery pack.

    A capacitor is not connected in series.

    See http://www.resistorguide.com/ptc-thermistor/

    0
    script_coded
    script_coded

    Reply 4 years ago

    Looking back at these images I realize you're completely right :) That's definitely not a capacitor :) It would be in parallel. Although, I didn't know it was a PTC. Thank for the info, I'll change it ;)

    0
    script_coded
    script_coded

    Reply 5 years ago on Introduction

    Simply because when you use it with a microcontroller or something similar you may not want the capacitor. If you do you can just use an external one. It wont probably make no difference, you can keep it if you want to. The reason for the capacitor being there in the first place is to even out the current going through the motor so that the battery pack feel a bit better. It will also reduce noise in the magnetic field in the motor so that it doesn't harm delicate components in the proximity of the magnetic field.

    Glad you liked it :)

    0
    DaisyM17
    DaisyM17

    4 years ago

    Thanks for this

    I'm planning on using it to create a moving model of a flight simulator with lego actuators powered by motors controlled by unity via arduino. Is there a way that I can attach the cables so I can reverse the current and therefore make the actuator go the other way?

    0
    DaisyM17
    DaisyM17

    4 years ago

    Thanks for this

    I'm planning on using it to create a moving model of a flight simulator with lego actuators powered by motors controlled by unity via arduino. Is there a way that I can attach the cables so I can reverse the current and therefore make the actuator go the other way?

    0
    DaisyM17
    DaisyM17

    4 years ago

    Thanks for this

    I'm planning on using it to create a moving model of a flight simulator with lego actuators powered by motors controlled by unity via arduino. Is there a way that I can attach the cables so I can reverse the current and therefore make the actuator go the other way?