Wire it, paste the helper, pick the mode
mVision only sends 10 numbers, laid out differently in each mode, so paste the "decode helper" first: the first lines (CamData, structs) at the top, the functions at the bottom.
- Wiring: plug the camera into the Mini R4 serial port for the mVision camera (Serial1, 115200). Green hub name on the camera screen = connected.
- In the Arduino IDE install "Arduino UNO R4 Boards" and the "MatrixMiniR4" library, and pick the Arduino UNO R4 WiFi board.
- Paste the program marked ① on the right (the helper is at the bottom; "Show helper" shows it all; "Copy program" always copies everything). The helper is also in MBC_UniCam_v1_Host_Libraries.zip (matrix folder).
- Pick the camera mode: choose it in the camera's MODE menu, and click the same mode number below.