K210-CanMV IDE development software

Introduction to interface functions

Insert image description here
Area ①Menu bar: operate files, use tools, etc.

Area ②Shortcut buttons: Shortcuts for files in area ① and some functions in editing.

Area ③ Connecting Devices: Connecting devices and program control buttons.

Area ④ Code editing area: edit the code to be run.

Area ⑤ Serial Terminal: Displays the debugging information printed by the serial port.

Area ⑥ Image preview: Displays the image preview of the camera.

Area ⑦ Firmware information: Displays the connected serial number and firmware related information.

Connect devices

Connect the K210 module to the computer USB port through a microUSB data cable.

Then click the connect button in the lower left corner of CanMV IDE

Select serial port pops up, select Insert image description here
the serial number corresponding to the K210 module. If there are multiple serial ports, please determine the corresponding serial number first and then click OK to open it.

Insert image description here

If you cannot connect, you can click Advanced Settings and select Mode-2.

A successful connection will change the icon to connected status and the gray play button to green.

temporary operation

Note: The program run in this step will be lost and not saved after disconnecting, pressing the reset button or shutting down the computer.

After the connection is complete, you can see that the connection icon in the lower left corner changes to a connected symbol.

If the routine is not open, you can open the File->Example->Basics->helloworld.py program

Insert image description here
Click the green play button to run the program. At this time, you can see the LCD displaying the camera image, and the camera image is also displayed in the upper right corner of the IDE.
The green play button icon will turn into a red stop button, click once to stop the running program.

Start the program

: The program in this step will run automatically after power on again.

While maintaining the connection, click Tools->Save the currently opened script as (main.py) to CanMV Cam

image-20230203172136714

Click Yes to save the program, after completion, disconnect or press the reset button, the program will run automatically.

If a TF card is inserted, the program will be saved to the TF card first, and the main.py file in the TF card will be run first.

image-20230306193009235

Supongo que te gusta

Origin blog.csdn.net/ai_moe/article/details/132672105
Recomendado
Clasificación