Skip to content

Photon Vision on the Raspberry Pi

Pi Setup Steps

  1. Download the Raspberry Pi Imager software
  2. Go to File Explorer and find your downloads
  3. Open the Raspberry Pi Imager software and install it
  4. Choose the Raspberry Pi 4 and the 64-bit Raspberry Pi OS
  5. When prompted click edit options and use these

Alt text

  1. Use a tool like Pingtools to find the IP address of the Pi
  2. Use and SSH tool like PuTTy to connect to the Pi
  3. Run system update commands
  4. sudo apt update
  5. sudo apt dist-upgrade -y
  6. Install Java Development Kit
  7. sudo apt install -y openjdk-17-jdk-headless

PhotonVision Setup Steps

  1. Go to this website (https://docs.photonvision.org/en/latest/docs/getting-started/installation/sw_install/other-coprocessors.html) and follow insructions there

Setting up Camera

  1. Find IP address that the Pi is using.
  2. To do that, you can use Angry IP Scanner and change the IP range to 10.17.47.0 - 10.17.46.255
  3. After that, press start and wait for it to finish finding the different IP addresses.
  4. Once it finishes, press the Port button at the top and then press "Sort Port Directions", then it'll tell you exactly what IP address the Pi is on.

  5. Go into a browser window and start typing "HTTP://" and then the IP address that came up on Angry IP Scanner.

  6. Calibrate the camera using the Photonvision website.

  7. Go into the Camera tab and make sure it's the correct camera and set the resolution to 1280 x 800.
  8. Download the target and print it out, or use the one from the notebook.
  9. use the checkerboard-looking page to test the camera and to calibrate it
  10. take at least 12 shots of the page and then finish the calibration
  11. go into the Dashboard tab and create an April Tag in the type of Pipeline and set it to 3D mode