Hi, please checkout the Pixy Emulation UART Examples. They show off how to parse a serial data byte stream. In particular, all the methods you need for command and control are right here in this module. http://docs.openmv.io/library/pyb.USB_VCP.html?highlight=vcp
Note that since we are a MicroPython board any knowledge about the pyboard applies. So, you can just google "MicroPython ".
One note about the above VCP port. Make sure to set the DTR line high on the application talking to the camera.
…
I understand you are having issues and are frustrated… however, given we are a smaller project than the Pi we don’t have everyone in the world providing free documentation content on how to do everything. While our goal was to make the OpenMV Cam programmable it has kinda turned into a can of worms with massive feature creep and every possible request. Given we’re a two man team with day jobs it’s quite difficult to support providing script help. In particular, I really only have the bandwidth and time to answer questions but not really to provide custom example scripts to people on the forums anymore (back when OpenMV was first started we were able to do this but not so much anymore).
If you find using the Pi cam easier for your problem that is fine. From what you’ve been posting about you’re using the OpenMV Cam in a way that we haven’t really focused on providing a lot of support for. In particular, the product was designed to provide an easy way to get object tracking working with an embedded device where all the processing and images stay on the camera. It’s not really mean to transfer images to the PC so much. While this is possible USB bandwidth doesn’t really allow for high res pictures.
Regarding the UVC support on another thread. That isn’t really yet rolled out. But, again, we’ve provided it for the OpenMV Cam H7 so that you can use the OpenMV Cam as a thermal camera with flir lepton devices.
Anyway, if you’d like to continue with the OpenMV Cam. Let’s do this, first, can you design a serial protocol you think would be good for what you need? Are you writing the program in python? What are the inputs and outputs to the program?