<< return to Pixycam.com

Lego spike prime python uart

Hi
I’m trying to connect pixy and lego spike prime.
But, unfortunately, spike prime use only uart connection.
So, now I’m wondering that pixy uart connection script is exist? in python?

Hello,
There doesn’t seem to be a straightforward way to do this currently (sorry). We have Python support for the EV3, but it uses I2C. Still, much of the code could be repurposed for UART communication. The protocol documentation can also be helpful.

Hope this helps :slight_smile:

Edward .

Thanks for your reply :slight_smile:
and i read the protocol documentation.
but i only found uart things that arduino library.
is threr any python things? :sob: :sob:

Hello,
I found some sources in the previous message that can get someone with programming knowledge started on implementing code to talk to the Spike controller, but there isn’t any Python code that’s ready to use for talking to the LEGO Spike (sorry).

Edward