DIY Solar Powered Long Duration Time Lapse GoPro Camera Setup



About: Paul Illsley




DIY Solar Powered Long Duration Time Lapse GoPro Camera Setup

and Automatic Image Upload To The Cloud




I wanted to come up with a simple system that would allow me to mount my GoPro camera at a location for a long period of time (weeks, months or a year) and have it record an image at Noon (12:00) for the duration of that period. I knew a simple GoPro with its internal battery wouldn’t be capable of doing long duration image capture so I did a bit of research to figure out how I could cobble together a simple DIY setup that could.

I wanted to see if I could do it without going through the hassle of creating a large weatherproof housing for the camera, and just rely on the waterproof capabilities of the GoPro camera itself (rated to 10m underwater without a housing). This is not the normal method of deploying a time lapse camera but I wanted to see if it would work (and it worked well).

The image above shows the solar panel, GoPro camera and waterproof box containing the battery mounted on a stationary wooden post.


Parts I used:

    Camera: GoPro Hero10 Black
    Camera Power Cable: GoPro CONTACTO Power Kit
    Waterproof Case: NANUK 903 (any waterproof case will do)
    Solar Panel: Voltaic ETFE 10 Watt 6 Volt Solar Panel
    Solar Panel Bracket: Voltaic Large Solar Panel Bracket
    Power Cable: Voltaic 10 Foot 3.5x1.1mm Extension Cable
    Power Cable/Battery Adaptor: Voltaic Female 3.5x1.1mm - USB-C
    Battery Pack: Voltaic V50
    Miscellaneous Hardware

    NOTE: This is not a sponsored product promotion. I purchased all items with my own money.



Voltaic V50 Battery Pack Inside Waterproof Case


I needed a battery pack with enough power to run the GoPro camera (5 volts at 2 amps) and one that wouldn't shut off when the camera wasn’t drawing power. Most USB power banks will shut off when power isn’t required for a period of time, and then won’t wake up when power is required. The battery also needed to have "Pass Through Charging Capabilities" which allows it to be charged, and also deliver power at the same time (most don't have this capability). I did some research and found the Voltaic V50 battery pack (13,400mAh) would do the trick. They do make smaller (V25) and larger (V75) battery packs but this one seemed to be a good size for my project.

I attached the battery to the bottom of a NANUK 903 waterproof case with a piece of adhesive Velcro to keep it from moving around during transport and deployment. I drilled a hole in the side of the case and used a weatherproof pass-through fitting for the solar and camera cables.

IMPORTANT: According to information from a Voltaic technician, only use the USB-A ports for GoPro power, the USB-C port is not designed to reliably deliver “Always On” power. I used a USB-A to USB-C adaptor to connect the GoPro CONTACTO cable.

NOTE: GoPro’s internal clock battery will only last a few hours after it's main battery or USB power is removed. Make sure you have enough solar power and battery capacity to last during long cloudy or snowy periods (snow can build up on the solar panel and prevent the battery from being recharged).



Mount for Battery Case


I decided to make a simple mounting system that consisted of a large screw hook to hold the handle of the case and a pair of screw in eye bolts (one above and one below the case) which were used to attach bungee cords to keep the case in place. I screwed the hook into the post far enough so that the case would hang from its handle loosely against the post, and then used the two heavy bungee cords to secure the case to the post using the two eye bolts.



GoPro CONTACTO Waterproof Magnetic Connector


I needed a way to get power into the camera and I figured I had two choices; the first a pass-through power door that would let me connect to the USB-C connector in the camera and the second a dedicated waterproof solution from GoPro (CONTACTO) that relies on magnets to connect to a custom battery compartment door.

Both options had pros and cons. The pass-through door would work fine but I was concerned it wouldn’t be waterproof enough during intense rain storms, and the CONTACTO system would retain the camera’s waterproof rating but there was a chance it could get removed (by wind or animals) or the contacts might become corroded over time. Eventually I decided to go with the CONTACTO to see how well it would work.

If I was in a remote location and couldn’t inspect the camera frequently, I would either make a bracket to help keep the CONTACTO connector attached to the camera or use the pass-through door option and add a bit of silicone to the connector to help increase its weather proofing capabilities.

I took out GoPro’s removable battery so that it wouldn’t overheat.

NOTE: GoPro cameras do not use a separate battery to power their internal clocks so the camera will lose its time setting if power is removed for an extended period of time. Check the clock setting after you attach the USB power to make sure it is set correctly.



Camera Mount


I decided to go with a really simple method for mounting the GoPro camera. I purchased a cheap ball head and attached it to a 3-inch corner bracket that was screwed into the post. I had a base on my GoPro camera that would accept a 1/4 - 20 thread tripod screw, but you may need to attach the camera using a GoPro quick release plate.

Having the camera mounted separate from the battery case allows me to inspect the battery and connect to the camera (using the USB-C connector) without moving the camera.



Solar Panel


Now I needed a way to charge the battery. I used a Voltaic ETFE 10 Watt 6 Volt Solar Panel to charge the battery. This is a tough all-weather solar panel that is capable of delivering more than enough power for this project. I mounted it using a dedicated mounting plate and added 10 feet of power cable in case I wanted to position the camera away from the solar panel. I also needed to add a USB-C cable adaptor to connect the power cable to the V50 battery.




GoPro Labs Software


Now that I have the hardware in place I needed to determine the best way to trigger the camera to record images.

All GoPro cameras have time lapse settings but most don’t turn the camera off between images which in this case will deplete the battery before all of the images are recorded. I needed a different way to set up the recording schedule.

Fortunately, GoPro has developed a simple method of programming the cameras to preform advanced functions that aren’t normally available on standard camera setups. It’s called GoPro Labs and it’s really easy to use.

All you need to do is install a small software update (created by GoPro) into your camera that opens a number of features you can trigger by showing the camera a simple QR code. These QR codes can be created with GoPro’s online QR code creator or you can use one that has already been created by someone else. This is how you install GoPro Labs.

First: Make sure you have the latest firmware installed in your camera. https://gopro.com/en/us/update

Second: Go to GoPro’s official GoPro Labs website and download the GoPro Labs software for your model of GoPro on to a Micro SD card. https://gopro.github.io/labs/

Third: Turn off your GoPro camera and make sure you have a well charged battery in the camera.

Fourth: Insert the Micro SD card (containing the GoPro Labs software) into your camera and turn on the camera. The software will automatically install as soon as the camera is turned on. This may take a couple minutes, and the camera will turn on and off a couple times but you will soon see a confirmation notice on the screen when the installation is completed.

That’s it, you have just installed GoPro Labs on your GoPro camera.




Creating your own QR Code


Go to GoPro’s QR code creator https://gopro.github.io/labs/control/custom/ and create a custom QR code. You can also paste a custom code in the “Additional Comments” box near the bottom of that page (this will also change the QR code). Turn your camera on and point it at the new QR code, your camera will start the new sequence.



Section for Custom QR Code Creator Page


When you scroll down the Custom QR Code Creator page you will see the many options available when generating QR Codes. This program is really quite powerful.

Here's a full list of QR Code commands https://gopro.github.io/labs/control/tech/ .


Additional QR Codes



Trust USB Power QR Code


Some GoPro cameras won’t accept USB battery packs because the camera doesn’t think the battery has enough power (when it actually does). To get around this issue, this code will tell GoPro to trust the USB power source (the code is "tusb").



Reset QR Code


If you want to remove stored QR commands (not the GoPro Labs software) from your GoPro you can use this reset QR code (!RESET!10).




Automatic Image Upload Setup


If you want to have the camera automatically upload your time lapse images to the GoPro Media Library, this is how you do it.

You need to subscribe to GoPro’s Cloud storage program ($50.00 / year) https://gopro.com/en/us/shop/subscriptions and also download the GoPro Quick app on your phone https://gopro.com/en/ca/shop/quik-app-video-photo-editor .

You need a stable Wi-Fi network available to the camera. If you are in a remote area you could set up a mobile Wi-Fi hotspot with a dedicated cell phone.

Make sure you turn on your camera’s Wi-Fi.

Insert a clean SD card and format it in the camera.

Connect your camera to the GoPro Quick app on your phone and click on Cloud Auto Upload (supply the Wi-Fi information for the network you want to use).

After you receive confirmation the camera was connected to the Wi-Fi network, you can close the Quick app (you don’t need to use the Quick app again). You are now ready to automatically upload your time lapse images to the cloud.

When you make your QR code you will need to add “!U” to tell the camera to upload the image before it turns itself off.




Viewing Your Uploaded Images

When you have logged into your GoPro account and open the GoPro Media Library page https://gopro.com/media-library/ you will see your uploaded images. You can download them to your computer, share them with someone else or delete then if you like. When you delete an image it is deleted from the cloud but it remains on the camera.




QR Code I Used


The QR code shown below will record an image and upload it to the GoPro Media Library when the camera is turned on (to verify the capture and upload sequence is working properly), then the camera will sleep until 11:49. At 12:00 the camera will repeat the program again (record an image and upload it) and will repeat recording images at 12:00 until the power is removed. When the power is restored, the camera will record an image and automatically start the process again.

If you want to use this recording schedule you simply need to point the camera at this QR code and the camera will start the sequence.

Don't forget to set the camera's clock and desired photo settings like, Exposure, ISO, White Balance, RAW/JPG format,... before starting the time lapse.



Time Lapse QR Code


This QR Code records a photo at 12:00 every day and uploads the image to GoPro Media Library
NOTE: Remove "!U" if you just want the image to be recorded to the camera's internal SD card


mP!S!2N!U!11:59N!12:00R


Explanation:

mP - Switches the camera to Photo Mode.

!S - Starts image capture (in this case it takes a photo).

!U - Uploads the image to GoPro Media Library (remove this section if you just want the image to be recorded to the camera's internal SD card)

!11:59N - Camera sleeps until 11:59

!12:00R - Repeat at 12:00, ensuring the script runs every day at 12:00.




Correcting Your Image's EXIF Time and Date Information

You might notice the .jpg and .gpr image record dates and times get changed to the download date and time when they are downloaded. If you want the original date of capture you need to look at the “Date/Time Original” entry in the image’s EXIF metadata (you might need a tool like EXIFTools https://exiftool.org/ to read and correct this information).

This is a exiftool Fix_GoPro_Dates.bat file I used to correct the date and time in your .GPR images.



ExifTool Fix_GoPro_Dates.bat file I used

Download: Fix_GoPro_Dates.txt

Here’s a .txt file containing the Fix_GoPro_Dates.bat information. You can download the file and change the .txt extension to .bat (some computers won’t let you download a .bat file).


Download the ExifTool software and UnZip it in the same folder as the .GPR images

If the exiftool.exe file says anything but exiftool.exe, rename it (it might have some extra letters in the file name), but don’t remove the .exe extension.

Place the Fix_GoPro_Dates.bat file in the same folder as the original .GPR images and exiftool.exe file.

Double click on the Fix_GoPro_Dates.bat file and you should see a new set of images appear in the same folder with “date_corrected” attached to the file name. The original images won’t be altered.



Return to Paul Illsley's home page