<< return to Pixycam.com

Sending Camera Commands to Pixy from Arduino (and receiving get data back)

I would like to be able to set/get the camera settings thru Arduino.
Is there a way to do this (example cam_getWBV)

it would be nice if we could do something like the following.

int whitebal = pixy.cam_getWBV;
Serial.println(whitebal);

Also, if there is a way, does the Camera have to be stopped to change the settings like it does in Pixymon?

Regards,
Dan

Hi Dan,

The Arduino library doesn’t have this capability yet. We will likely implement it soon, as I’m sure many people will want this feature.

Thanks.

Scott

Hi!

Any news since?

Hi Rei,

Sorry, still haven’t added this. We’re still looking for feedback on the Pixy libraries, so if you have any suggestions we’d love to hear them.

Thanks!

Scott

I’m using the Pixy mainly on the I²C bus with a specific address.

Unfortunately, interface selection, I²C address and signatures are lost. when I power off the camera — see “Signature data being lost”:http://www.cmucam.org/boards/8/topics/4056 thread

Here are some suggestions:

  • interface selection
  • address definition
  • signature download and upload
  • command to memorise a colour —same as menu Action > Set signature…
  • command to define colour codes —same as menu Action > Set CC signature…
  • download signatures definitions
  • upload signatures definitions
  • configure parameters —same as menu PixyMon > Preferences

Another feature to consider:

  • Memorise and recognise shapes