<< return to Pixycam.com

Taking screenshots with Arduino

Hey guys,

I am working with a Pixy connected to an Arduino Uno. Is there a way for me to get Pixy to take a little snapshot of what it sees and return it? I am looking for something like the save image function in Pixymon.

Also, should it be possible for me to connect 2 Pixys to a single Arduino?

Thanks!
Jonathan P.

Hello Jonathan,
You can’t currently capture raw images using the serial interfaces (SPI, I2C, UART) because it’s fairly slow. Are you interested in just capturing and saving to flash for later retrieval? Please describe your application.

You can connect two (or more) Pixys to an Arduino using either I2C or SPI with slave select. There is more information in the link below, but if you want to do this, it’s assumed that you’re already familiar with I2C and SPI.

http://cmucam.org/projects/cmucam5/wiki/Porting_Guide

Hope this helps!

Edward

Thanks for the response!

My application is a program set up for sending emails from the Pixy/Arduino system. Basically, I can send attachments, but I wanted to capture what Pixy sees and include it in the email. If that isn’t possible, I would just need a way to save images (raw or cooked) for access at some point in time.

Jonathan P.

Interesting! Thanks for the information. If it took a second or two to send a frame over serial, it wouldn’t be a problem, yes?

Edward

That would not be a problem. As long as it can be done!

Jonathan P

Hello Jonathan,
I’ll do some asking around. We should consider adding this.

Edward