Go to Post The difference between a robotics kid and a generic nerd. Both use their calculators for statistical analysis. One keeps it a closely guarded secret, the other brags about it on Chief Delphi! - Kevin Leonard [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 22-11-2016, 18:52
414cnewq 414cnewq is offline
Registered User
FRC #3844 (Kentucky Wildbots)
Team Role: Alumni
 
Join Date: Jul 2014
Rookie Year: 2014
Location: KY
Posts: 86
414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of414cnewq has much to be proud of
How to use the Pixy

My team is thinking about buying a PixyCam for the SteamWorks Season and was wondering how to hook up the PixyCam and how to use it. Are there any tutorials? Would prefer direct connection to roboRio

Last edited by 414cnewq : 22-11-2016 at 18:57.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-11-2016, 19:00
Harrison.Smith Harrison.Smith is offline
Business, CAD, Mechanical
no team
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2013
Location: Texas
Posts: 117
Harrison.Smith will become famous soon enough
Re: How to use the Pixy

http://www.cmucam.org/projects/cmucam5/wiki Has a ton of info regarding how to setup, connect, etc with the pixy.
__________________
“Rest and be thankful.” — William Wadsworth

Team 1296: 2014 - 2016
Reply With Quote
  #3   Spotlight this post!  
Unread 22-11-2016, 19:01
AlexanderLuke's Avatar
AlexanderLuke AlexanderLuke is online now
Do More. Less Time.
FRC #0696 (The Circuit Breakers)
Team Role: Leadership
 
Join Date: Apr 2014
Rookie Year: 2013
Location: La Crescenta
Posts: 58
AlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to beholdAlexanderLuke is a splendid one to behold
Re: How to use the Pixy

This recent thread about the Pixy Camera may also be helpful to you:

https://www.chiefdelphi.com/forums/s...highlight=pixy
__________________
2014-Present ~ Team 696: The Circuit Breakers - Student Leader and President, Drive Coach, Mechanical Designer
Reply With Quote
  #4   Spotlight this post!  
Unread 22-11-2016, 19:01
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,383
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: How to use the Pixy

According to the information on the AndyMark web site, the PixieCam does both the acquisition and the processing of the image.
Quote:
Pixy CMUcam5 Image Sensor is a fast vision sensor you can quickly "teach" to find objects. It connects directly to Arduino and other controllers. Pixy pairs a powerful dedicated processor and image sensor. Pixy processes images from the image sensor and only sends the useful information (e.g. purple dinosaur detected at x=54, y=103) to your microcontroller. The information is available through one of several interfaces: UART serial, SPI, I2C, USB, or digital/analog output so your Arduino or other microcontroller can talk easily with Pixy and still have plenty of CPU available for other tasks.
This means it will indeed connect directly to the RoboRio, but only send target location information.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2017, 09:49
Coach Seb's Avatar
Coach Seb Coach Seb is offline
Registered User
AKA: Sebastien Cournoyer
FRC #5860 (Full Metal Muskrats)
Team Role: Coach
 
Join Date: Sep 2015
Rookie Year: 2015
Location: Algonac, MI
Posts: 112
Coach Seb is an unknown quantity at this point
Re: How to use the Pixy

Any detail on how it connects to the RoboRio and what data should we expect ?
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2017, 13:41
chesterm chesterm is offline
Registered User
AKA: Chester Marshall
FRC #6055 (6055 and 5721)
Team Role: Mentor
 
Join Date: Mar 2016
Rookie Year: 2016
Location: Batesville, AR
Posts: 2
chesterm is an unknown quantity at this point
Re: How to use the Pixy

We will be using a Pixy this year connecting via I2C and using C++. X, Y, Width, and Height are the values normally used. X = 0-319 pixels and Y = 0-200 pixels from the Pixy's field of view (0,0 is bottom left). The Pixy will send data for every object it detects, but this can be controlled to a certain number via the Pixymon setup application (connect via usb cable to windows pc). Exposure and other settings are done via the Pixymon program.
Reply With Quote
  #7   Spotlight this post!  
Unread 28-01-2017, 09:29
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
Re: How to use the Pixy

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.
Reply With Quote
  #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
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 23:52.

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