Vex v5 SD CARD- Download a program to sd card and play on robot

Many of our robots have damaged USB Ports.

We are trying to download a program to an sd card, insert the SD CARD to the vex v5 brain (as we hope this is a capability) and play the program from the sd card since the usb port is no longer there.

Is there an easy way to do this? {Please Help}

program execution from the SD Card is not supported.
You can download programs to the V5 brain wirelessly via the V5 controller.

5 Likes

if your controller is linked via vexnet, you can plug in the usb to your controller and send the program from the controller to the brain via the vexnet

If you use the controller with the app, (not web version) you can upload from the controller

+1 - would be nice if it is possible as I personally have a broken brain with a broken port but not a remote controller - would be nice if this is possible with PROS as well - then I can use it to test the UI - many thanks

Yes, there is a way to do this… sort of.

If you use a python program, and have all of your motors and sensors (and the competition) in a simple program, if you import the file on the SD card (a python file with the .py extension) then you can call functions from that file, even giving that function all of your motors and sensors.

so, this only works if you set up a regular program downloaded to the brain to act as the “boilerplate” code for the file(s) on the SD card.

In theory, once you set up your boilerplate program and download it, you never have to touch it again unless you need to change motors or sensors.

A question for @jpearman, can you declare motor and/or sensor objects on a python program on the SD card? (if so, this would make their problem way easier to solve)

2 Likes

That may work, never tried, probably better than 50% chance.

6 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.