ARDUINO UNO // TIMELAPSE SHIELD

An Arduino UNO compatible shield with motor driver, EPU and a small motor on board.

Core functions are, that it can be run on 5V and can be powered with mobile battery-packs that output USB to charge phones. 

 The more Ah the better of course. 

But as its from an RC car, you can use any powersource from 4.5-18V with most of them.

IMG_3064

IMG_3063

IMG_3056

IMG_3057

The small white clamps are vor VIn, in my case i connected a USB plug, as the whole system runs on 5V. But as i stated earlier, you can use voltages from 4.5 to 18V on mine.   The other core component in this project is the gearbox motor. Its a cheap 280 class motor with an attached 380:1 gearbox and its mounted to the shield via the motormount of a TREX450 clone.
Also from the heli are all blue colored metal parts, and the block with the bearing of the main axle.

I saw they are available as spare parts in aluminium for 14€ per piece. Just look up “main axle bearing trex 450”.

IMG_3059

IMG_3054

The GoPro itself is mounted to an original GoPro bracket. I pushed an M6 nut in it, that really sits extremely firm, so i used that to tighten the whole system.

The white nylon wheel has a 7mm hole, and the TREX450 clone, had a small metal pipe that has 6mm inner diameter and 7mm outer diameter.

I used that and a block with a 6mm ball bearing to build the main axle.

IMG_3055

IMG_3053

What i also built for this project is a USB plug and a batterypack for the GoPro, as the rubberband is to elastic for the GoPro beeing driven by a powercord. I tested it once, but even the slightest resistance because of the GoPros powercord, makes the footage jumpey because the camera is beeing held back by the cord all the time.

The backpacked battery pack eliminates that problem. Didnt test the milage though.

IMG_3048

IMG_3049   I will upload a fritzing of how to connect everything at a later point of time.

And a simple testscript, assuming you have the ESCs data pin connected to PN6(PWM).

IMG_3047

A possible extension would be to add a pot to the circuit. 

Connect one outer pin to ground, one to 5V and the middle one to an open analo in and you can map that value to a servo value with:

map val(0, 1023, 0, 180);

So it maps the 1024 steps to a value between 0 and 180. Assuming the variable is called val, you can use val in the next line to be the value for writing the servo item ROTORHEAD:

write ROTORHEAD(val);

easy as that and you can control the spreed of the motor.

Use val instead of the 90ms break after powering the motor and you can set the lenght of the powercycle.

Time is another obvious usage for an input pot.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s