From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FIRST Robotics Competition Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Example VIs for using a PIXY Camera with the roboRIO

Overview

The attached LabVIEW VIs show how you interface your roboRIO with a PIXY camera.

Description

This example shows how to communicate with the PIXY using either the I2C or SPI protocols. You will have to configure the PIXY using PixyMon before running these examples. Wiring instructions between the camera and roboRIO are included on the Front Panels of the Pixy I2C and Pixy SPI VIs.

Hardware and Software Requirements

PIXY (CMUcam5) Camera and PixyMon

roboRIO with installed LabVIEW for FRC software

Steps to Implement or Execute Code

1. Configure the PIXY to communicate using either I2C or SPI.

2. Open the corresponding example VI and follow the wiring instructions on the Front Panel.

3. Configure the SPI or I2C controls on the VI Front Panel.

4. Run the example.

Additional Information or References

These examples are intended to demonstrate the capabilities of the roboRIO. These examples are not officially supported by NI and the FRC support staff.

Comments
Richard1991
Member
Member
on

Can you put it more precisely? I found I could not connect Roborio when I run.