I'm currently working on an app, to be installed on a spare iOS device, that one can set up to take pictures with either motion detection or at a timed interval (or both!) The idea is you can fire this up in a remote location to monitor whatever. In my case a storage unit. It uploads pictures to the cloud as it takes them.
Not sure if I will release the app, however. I don't see a big user base for it.
From my forthcoming book, 101 Uses For Your Old iPhone, I present a simple dash cam solution.
STEP 1: Install a dash cam app on your iPhone. I use one called Car Camera DVR which allows you to control the size of the video output and also does loop recording. I can set it to record video chunks of 30 minutes and if I capture anything interesting, save off that chunk.
You will want to mount the dash mat on your dashboard such that the iPhone camera will have a good view of the road ahead. Usually this means mounting closer to the window than not. This is why it's important to use an old iPhone -- you don't want calls and texts and other riff-raff to interrupt your dash cam video. You shouldn't have any reason to access your dash cam iPhone during your drive.
Some video taken from a quadcopter built with LEGOs. The special parts needed to make all this work - 3D printed motor mounts and a 3D printed camera mount - come from http://www.brickdrones.com. I sourced my own LEGO bricks to build the frame, following plans from BrickDrones. It is fun to build and fun to fly!