Serial Comunication Vex5

Hi all,

I’m trying to figure out serial communication with the V5. I aim to develop code that interprets serial communication using Python for controlling the VEX motor and to receive signals from the V5 brain, allowing me to implement control strategies. I found a video on YouTube (https://www.youtube.com/watch?v=xardjeuyUcE) of someone doing exactly what I’m aiming to accomplish. Does anyone have any ideas on how this can be done?

I was able to program the VEX brain using the VSCode extension. However, I couldn’t find proper documentation. I discovered the VEX 5 Python API (VEX V5 Python API: Main Page), but when I try to program my VEX brain using the classes, I found that the program does not recognize the serial class from the API. Any help in figuring out how to make this project work would be greatly appreciated.

Best,
RobotGentlemen

The API you found is not the VEXcode API, while it’s similar, it was for a product called RobotMesh studio, a now discontinued and obsolete alternative programming environment.

See this topic, serial comms from python was discussed recently. EXP has pretty much the same APis as V5.

1 Like