View Single Post
  #8   Spotlight this post!  
Unread 28-01-2017, 17:45
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 171
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: How to use the Pixy

Quote:
Originally Posted by rockinthespecs View Post
Does anyone have code for connecting to the pixy through labVIEW? I have gotten the camera set up with pixyMon, and I have tried to set it up through the SPI port but it has not been successful.
We have it working with labview, but we are connecting using the analog/digital connection. I'd have to check with my programming team to be sure, but I know were not getting all the info other teams are through other forms of connections like SPI or I2C.

For the most part, were getting a voltage between 0-3.3V, if the object is on the left edge of the screen, the pixy outputs a voltage closer to 0, and if its on the right edge of the screen, it outputs a value of 3.3v. Therefore, if the object is centered, you should get a voltage of around 1.65v.

I believe they converted the voltage to degrees and are using that to track the target. I'm not sure a gyro is even necessary to make this work, they have our robot tracking with no gyro on board currently.
Reply With Quote