Raspberry Pi Dash Cam using Motion

One of the most useful features of the Black Box Pi is hooking different sensors to it, like a dash cam. I left this feature out initially as I was focused on GPS and OBDII data. However, you can easily plug in a webcam and set it up on the Pi to record. Motion is the most popular program in Linux to do this. The trick is getting the configuration just right to optimize the recording as a dash camera.

I’ve setup a Pi with Motion and had it running for a couple of weeks now non-stop as a stress test. As before, the Pi tends to crash after a few days of recording. It’s good to have this as a baseline. For our purposes, this won’t be an issue as the Pi will only be running while your car is; no more than an hour at a time or whatever your commute normally is.

The key is the Motion config file. I’ll post this up soon as well as install instructions.