Google Chat: zj734465502@gmail.com
+86-0755-88291180
sales01@spotpear.com
dragon_manager@163.com
services01@spotpear.com
manager01@spotpear.com
WhatsApp:13246739196
RP2350-PiZero is a high-performance and cost-effective microcontroller board designed by Waveshare. It features a DVI interface, TF card slot and PIO-USB port, and brings out a 40PIN GPIO port compatible with Raspberry Pi. It also reserves one PSRAM pad for easy development and integration into products.
In order to facilitate the development of Pico/Pico2 boards using MicroPython on a computer, it is recommended to download the Thonny IDE
【MicroPython】 machine.Pin class function details
【MicroPython】machine.PWM class function details
【MicroPython】machine.ADC class function details
【MicroPython】machine.UART class function details
【MicroPython】machine.I2C class function details
【MicroPython】machine.SPI class function details
【MicroPython】rp2.StateMachine class function details
For C/C++, it is recommended to use Pico VSCode for development. This is a Microsoft Visual Studio Code extension designed to make it easier for you to create, develop, and debug projects for the Raspberry Pi Pico series development boards. No matter if you are a beginner or an experienced professional, this tool can assist you in developing Pico with confidence and ease. Here's how to install and use the extension.
Cmake Path: ${HOME}/.pico-sdk/cmake/v3.28.6/bin/cmake.exe Git Path: ${HOME}/.pico-sdk/git/cmd/git.exe Ninja Path: ${HOME}/.pico-sdk/ninja/v1.12.1/ninja.exe Python3 Path: ${HOME}/.pico-sdk/python/3.12.1/python.exe
Here are two methods for flashing firmware
1. Press and hold the Boot button 2. Connect the development board to the computer 3. Then the computer will recognize the development board as a USB device. 4. Copy the .uf2 file to the USB drive, and the device will automatically restart, indicating successful program flashing.
set(PICO_BOARD pico CACHE STRING "Board type")
https://github.com/earlephilhower/arduino-pico/releases/download/4.5.2/package_rp2040_index.json
Note: If you already have an ESP32 board URL, you can use a comma to separate the URLs as follows:
https://dl.espressif.com/dl/package_esp32_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/4.5.2/package_rp2040_index.json
MircoPython video demo (github)
MicroPython firmware/Blink demos (C)
Raspberry Pi official C/C++ demo (github)
Raspberry Pi official micropython demo (github)
Arduino official C/C++ demo (github)
>
setrtc <DD> <MM> <YY> <hh> <mm> <ss>: Set Real Time Clock Parameters: new date (DD MM YY) new time in 24-hour format (hh mm ss) e.g.:setrtc 16 3 21 0 4 0 date: Print current date and time lliot <drive#>: !DESTRUCTIVE! Low Level I/O Driver Test e.g.: lliot 1 format [<drive#:>]: Creates an FAT/exFAT volume on the logical drive. e.g.: format 0: mount [<drive#:>]: Register the work area of the volume e.g.: mount 0: unmount <drive#:>: Unregister the work area of the volume chdrive <drive#:>: Changes the current directory of the logical drive. <path> Specifies the directory to be set as current directory. e.g.: chdrive 1: getfree [<drive#:>]: Print the free space on drive cd <path>: Changes the current directory of the logical drive. <path> Specifies the directory to be set as current directory. e.g.: cd 1:/dir1 mkdir <path>: Make a new directory. <path> Specifies the name of the directory to be created. e.g.: mkdir /dir1 ls: List directory cat <filename>: Type file contents simple: Run simple FS tests big_file_test <pathname> <size in bytes> <seed>: Writes random data to file <pathname>. <size in bytes> must be multiple of 512. e.g.: big_file_test bf 1048576 1 or: big_file_test big3G-3 0xC0000000 3 cdef: Create Disk and Example Files Expects card to be already formatted and mounted start_logger: Start Data Log Demo stop_logger: Stop Data Log Demo
This demo should be used with the Pico PIO USB library, the specific installation steps are shown below:
Core1 setup to run TinyUSB host with pio-usb Device attached, address = 1 Device 1: ID 05ac:0256 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 0110 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x05ac idProduct 0x0256 bcdDevice 0310 iManufacturer 1 CX iProduct 2 2.4G Wireless Receiver iSerialNumber 0 bNumConfigurations 1 TinyUSB Dual Device Info Example
Hello, world! V2-Version Card R3/R7: 0x1aa R3/R7: 0x40ff8000 R3/R7: 0xc0ff8000 Card Initialized: High Capacity Card SD card initialized SDHC/SDXC Card: hc_c_size: 30475 Sectors: 31207424 Capacity: 15238 MB Goodbye, world!
You can refer to the RP2350-E9 section in the RP2350 Datasheet
Monday-Friday (9:30-6:30) Saturday (9:30-5:30)
Email: services01@spotpear.com