LC-MK-2040-DEV

From LCWIKI
Jump to: navigation, search

Product name

LCPI RP2040 development board 32Mbit FLASH RP2040 dual-core processor Micropython


Overview

LC LCPI RP2040 development board adopts Lctech RP2040 high-end microprocessor chip, TPS63000 high-current DCDC chip, and 4MB onboard FLASH. MicroPython can be used for programming in software development, and there are rich extension libraries available, which are very friendly to developers. Powerful performance and high cost performance.



Function

  • It adopts LCPI RP2040 chip, has a rich expansion library, and has stronger playability.
  • Dual-core ARM CortexM0+ processor running at up to 133MHz.
  • The onboard high-current step-down chip TPS63000 has higher conversion efficiency and more stable power supply, and the maximum current can reach 1.8A.
  • Onboard 32Mbit large-capacity FLASH chip.
  • The debugging program can be downloaded via USB, and MicroPython programming is supported.
  • On-chip temperature sensor.
  • The pin definition is the same as that of Raspberry Pi Pico.
  • With 2 SPIs, 2 IICs, 2 UARTs, 4 12-bit ADCs and other interfaces, it is powerful.



Description

Configure the development board MicroPython environment
First press and hold the BOOT button of the development board, and then plug in the USB cable. At this time, the computer will display an additional drive letter:
MK-2040-DEV-1.png

Open the U disk, drag in the UF2 file "rp2-pico-20220618-v1.19.1.uf2", after the file is written, the U disk will disappear, open the device manager, and you will find a new port
MK-2040-DEV-2.png

At this point, the board can support MicroPython programming. If you need other programming methods, you need to drag in different UF2 files in the boot mode. For details, please refer to the LCtech WIKI.


Configure the MicroPython environment
Unzip "Thonny-3.3.3.zip" in the "Development Tools" directory, and double-click to run the program. Click "NEXT" all the way to install.
MK-2040-DEV-3.png

After the installation is complete, open the software, in "Tools" - "Settings", select the device as PICO, and the port as the port of the development board. In this way, the development board can be downloaded and debugged online.
MK-2040-DEV-4.png

Write programs through MicroPython
Please refer to "Raspberry Pi Pico MicroPython Demo Code.zip" under the "Development Tools" directory.
By default, the development board will not run the program when it is powered on. If you need to power on and run the program, you need to save the program on the development board when Tonny saves the code, and name it "main.py".