<< return to Pixycam.com

UART communication

Yesterday, i received my pixy. This is really a nice piece of hardware. I want to use it via UART. The pixy sends the recognized objects as expected.
Now i forked the repository and had a look in the code. The progblobs.cpp (the default program) also reads incoming commands to set the servos.
I set the Data out port at Interface to 2. But the pixy ignores all commands. Then i looked in uart.cpp an found the empty receive() function.
What is the development status here? Sadly i cannot compile the firmware on my own.
Later it is planned to use the pixy on a multirotor for object tracking. It were much easier to use the pixy via USART.

regards
ernieift

PS: It was easy to add the missing functionality in src/device/libpixy/uart.cpp. Now i can set the Servos via UART. Is there are possibility to merge my changes to master? I forked the master at https://github.com/ernieift/pixy

Hi Joerg,

You can submit your pull request and it will be reviewed. Glad to hear you want to contribute!

Scott

PR is out;).

Here you can see the UART servos are working:
[[https://vimeo.com/111930766]]