Introduction: Change LEGO Power Functions Motor Wiring - Arduino

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

Comments

author
angelacyc (author)2015-05-03

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

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

author
nauer (author)angelacyc2016-04-02

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/

author
script_coded (author)nauer2016-04-02

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 ;)

author
script_coded (author)angelacyc2015-05-03

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 :)

author
DaisyM17 (author)2016-04-03

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?

author
DaisyM17 (author)2016-04-03

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?

author
DaisyM17 (author)2016-04-03

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?

author
EngineerJakit (author)2014-01-17

Note to Self- Get some of these motors

author
script_coded (author)2013-12-22

And and?

author
astral_mage (author)2013-12-20

and?

About This Instructable

22,620views

17favorites

License:

Bio: 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 ... More »
More by script_coded:Change LEGO Power Functions motor wiring - Arduino
Add instructable to: