Go to Post Without fail, judges always come by when the spokespeople are in the bathroom, so others should be able to cover until they're back. - Jacob Bendicksen [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2017, 12:43
rockinthespecs's Avatar
rockinthespecs rockinthespecs is offline
Registered User
AKA: Kaitlyn
FRC #2067 (Apple Pi)
Team Role: Tactician
 
Join Date: Dec 2015
Rookie Year: 2016
Location: CT
Posts: 14
rockinthespecs is an unknown quantity at this point
Pixy LabVIEW and I2C

Hi Everyone!

Our team bought a pixyCam this year to try out and see if it is easier to use than the kangaroo set up.

I was able to get my PixyCam up and running with PixyMon using this guide

I found some resources that explained the difference between plugging it into the analog X and analog Y port where you receive a voltage from the port and can program the robot accordingly, but only get either the x or y value.

I also learned that by plugging it into the I2C port, you can obtain both the x and y values. I found some examples of pixyCam and labview (pics attached) but I am not quite sure what data I am pulling from the camera and how to use it. I assume the 8 data points I am getting are the different objects I "taught" the pixyCam but I am not sure.

If anyone has any example code for the PixyCam with labVIEW or knows of a comprehensive guide that would be fantastic.

Thanks in advance!
Attached Thumbnails
Click image for larger version

Name:	PixyTele.png
Views:	52
Size:	7.5 KB
ID:	21600  Click image for larger version

Name:	Pixy_Begin.png
Views:	43
Size:	2.5 KB
ID:	21601  

Last edited by rockinthespecs : 23-01-2017 at 13:56.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2017, 19:24
JamesBrown JamesBrown is online now
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,284
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Pixy LabVIEW and I2C

This should give you some insight into the data you are getting. Check out the "Serial Protocol" section.

http://www.cmucam.org/projects/cmuca.../Porting_Guide
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi