Basic Motorised Timelapse Camera Colly, Based on Lego Train

by kurt-beheydt in Circuits > Arduino

1024 Views, 4 Favorites, 0 Comments

Basic Motorised Timelapse Camera Colly, Based on Lego Train

Photo on 02-04-2018 at 13.40.jpg

I wanted a dolly to record a timelapse movie with an automatically controlled motor for my iphone gorillapod, so I took the legotrain from my kids, measured the input voltage, added an arduino and mosfet and programmed the train to move one millimiter every five seconds.

Hacking the Legotrainconnector

2018-04-02 14.14.11.jpg

I measured the voltage for the trainmotor, it works from 3-6v. Perfect for the 5v output of the arduino.

Use the topside, so if you want to give it back to your kids, you can easily remove the wires and rebuild it.

Wireing the Arduino

2018-04-02 13.56.22.jpg

It is possible to use an h-bridge to make the train go in two directions, but I was merely intrested in a quick sollutions, so ...

  • I used a tip120 mosfet (I guess this is ampère overkill, but anyway), connected as base via a 1K resistor to arduino port 2.
  • A led (+220Ohm) as control-light. (you can skip it)
  • 5v from the arduino to the train and the gnd of the train via the collector pin of the mosfet.
  • Finally the emitter side connected to the gnd of the arduino.

Arduino Code

Super easy.

#define motorPort 2

void setup() {
  pinMode(motorPort, OUTPUT);
}

void loop() {
  digitalWrite(motorPort, HIGH);
  delay(20); // giving just enough power to move 1mm)
  digitalWrite(motorPort, LOW);
  delay(5000); // wait 5 seconds
}

Adding Some Blocks and ... Finished!

2018-04-02 13.50.37.jpg
2018-04-02 13.50.47.jpg
2018-04-02 13.56.03.jpg

I know there are a lot of improvements possible

  • add an h-bridge to make the train go back
  • adding a contactswitch to automatically detect the end of the track and return
  • 3D desing a holder for other camera's (go-pro ...)

But I wanted to keep it simple.

Good luck building your own ;)

Testing in the Backyard

first test with my automated lego timelapse dolly
Photo on 02-04-2018 at 15.40.jpg
Photo on 02-04-2018 at 17.14 #2.jpg

The result from the backyard (on a windy afternoon)

view result: https://www.youtube.com/watch?v=uoYO8cOVrSo