<< return to Pixycam.com

Digital output and SPI

Hi, and thanks for a great product.

Question:
Is there a way to have both SPI and digital output?
I want to make my application, that when an oblect is detected, the output goes high and then I will read the information via SPI.
Is that possible?

Regards Poul

Hello,
Unfortunately, you can’t use the digital/analog output and SPI interfaces simultaneously.

You might consider using an Arduino to read Pixy’s data (through SPI) and use 1 or more of the Arduinos I/O ports to provide the output(s) you want.

Edward

Hello Edwards,
thanks for your answer.
My application needs 2 pixycam, so I need another solution than serial.
Can I change the firmware? Do I have access to the code and compiler?

Thanks in advance

Poul

Hello,
If you need 2 Pixys, you might consider i2C or SPI which allow for multiple devices.

It’s possible to modify the firmware, although it can be challenging.
https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:building_pixy_firmware

Hope this helps.

Edward