Lego + Arduino : Classic 9V Technic Motors

Lego have produced many styles of motors over the years (including clockwork ones!) but one of the most popular old style motors was the 9V Technic one, used in many builds. Many of you may still have these motors hanging about. In the video below we look at how to connect these up to an Arduino so that you can breath new life into these old motors by giving them the control of a “Brain” (our Arduino). This makes them almost like the “Power Functions” motors (without the remote control aspect). Below the video you will find the simple test code used in the video.

The Code

In the next article I’ll present a full fairground ride with opening gates and smooth start up and slow down of the ride.