
Time of Flight (ToF) Camera
for Raspberry Pi
Getting Started
Published in August 2022
by ARDUCAM TECHNOLOGY CO., LIMITED
www.arducam.com

Installation
ToF Camera
2-Pin Power Cable
Ribbon Cable
ToF Camera
RPi
1
Arducam ToF Camera for Raspberry Pi

Installation
1. Find the camera connector, gently pull the plastic catch up.
2. Insert the ribbon cable with pins facing away from the catch.
2
Arducam ToF Camera for Raspberry Pi

Installation
3. Push the catch back in.
4. Connect the camera to Raspberry Pi, with pins facing away from the catch.
3
Arducam ToF Camera for Raspberry Pi

Installation
5. Connect the 2-pin power cable.
Red
Black
6. Connect the 2-pin cable to Raspberry Pi’s GPIO (5V & GND).
Black
Red
5V
GND
4
Arducam ToF Camera for Raspberry Pi

Operating The Camera
Before You Start
Make sure you are running a newer version of Raspberry Pi OS. (04/04/2022 or later releases)
A fresh install is highly recommended.
Step 1. Pull the repository.
git clone https://github.com/ArduCAM/Arducam_tof_camera.git
Step 2. Change the directory to Arducam_tof_camera
cd Arducam_tof_camera
Step 3. Install dependencies
./Install_dependencies.sh
Whenyouseetherebootprompt,entery.
Step 4. compile & run
./compile.sh
Once it's successfully complied, live previews of the camera will automatically pop up.
For more information, please visit:
https://www.arducam.com/docs/cameras-for-raspberry-pi/tof-camera-for-raspberry-pi/
5
Arducam ToF Camera for Raspberry Pi

Instructions for Safe Use
To properly use the Arudcam ToF Camera, kindly note:
Before connecting, you should always power the Raspberry Pi o and remove the power
supply rst.
Make sure the cable on the camera board is locked in place.
Make sure the cable is correctly inserted in the Raspberry Pi board’s MIPI CSI-2 connec-
tor.
Avoid high temperatures.
Avoid water, moisture, or conductive surfaces while in operation.
Avoid folding, or straining the ex cable.
Avoid cross-threading with tripods.
Gently push/pull the connector to avoid damaging the printed circuit board.
Avoid moving or handling the printed circuit board excessively while it’s in operation.
Handle by the edges to avoid damages from electrostatic discharge.
Where the camera board is stored should be cool and as dry as possible.
Sudden temperature/humidity changes can cause dampness in the lens and aect the
image/video quality.
6
Arducam ToF Camera for Raspberry Pi

Raspberry Pi and the Raspberry Pi logo are
trademarks of the Raspberry Pi Foundation
www.arducam.com