![Kandinsky music lab](https://cdn1.cdnme.se/5447227/9-3/22_64e61dfde087c31b3e70ff43.png)
![raspberry pi zero camera setup raspberry pi zero camera setup](https://www.the-diy-life.com/wp-content/uploads/2020/09/Raspberry-Pi-Zero-W-1024x576.jpg)
With a few commands we can make the Raspberyy Pi aware of it and instruct it to use the time according to the RTC.
![raspberry pi zero camera setup raspberry pi zero camera setup](http://www.transceptor.cam/wp-content/uploads/2020/05/IMG_0412-1536x1152.jpg)
The RTC we'll be using is just a very small component powered by a tiny lithium coin cell that plugs directly into our Raspberry Pi's GPIO. Here's where our real time clock (RTC) comes in. However, I want to use my trail cam in locations out of range of a WiFi connection and I want to be able to tell when the footage was being recorded.
![raspberry pi zero camera setup raspberry pi zero camera setup](https://www.sossolutions.nl/media/catalog/product/cache/5df5c040ed8cd3972c59a8e190e44350/n/a/naamloos-4.jpg)
Raspberry Pis automatically set the time when they are powered on and have an internet connection so if you're using your trail camera in range of a WiFi network then you needn't bother with this step. Laptops, cameras and other devices that keep the time often contain a coin battery that supplies power to a clock so that even when the main power supply or battery for the device is disconnected, when it's reconnected the device still knows the correct (real) time. This means it has no way of keeping track of time during the time it's powered off. When switched off, our Raspberry Pi has no powered supplied to it at all. If you're struggling, leave a comment and I'll see if I can help. Joining us here? Make sure you've got your Raspberry Pi's hardware up and running as described in part three of this how-to guide.
![Kandinsky music lab](https://cdn1.cdnme.se/5447227/9-3/22_64e61dfde087c31b3e70ff43.png)