1. Introduction
The TENSTAR RP2040 Pro Micro Development Board is a compact and powerful microcontroller board based on the Raspberry Pi RP2040 chip. It features a dual-core ARM Cortex M0+ processor, offering high performance for various embedded applications. This board is designed for ease of use, supporting MicroPython and the Raspberry Pi Pico SDK, making it an excellent choice for both beginners and experienced developers. Available in 4MB and 16MB Flash memory variants, it provides ample storage for your projects.

2. Product Overview
Key Features
- Dual-Core Processor: Powered by a dual-core ARM Cortex M0+ processor, clocked up to 133MHz.
- Memory: 264KB of SRAM and 4MB or 16MB of on-board Flash memory.
- MicroPython Compatibility: Easily programmable with MicroPython for rapid development.
- Raspberry Pi Pico SDK Support: Fully compatible with the official Raspberry Pi Pico C/C++ SDK.
- Connectivity: USB-C connector for power and data, supporting drag-and-drop programming.
- GPIO: 26 multi-function GPIO pins.
- Peripherals: 2 SPI, 2 I2C, 2 UART, 3 12-bit ADC, 16 controllable PWM channels.
- Additional Features: Accurate on-chip clock and timer, temperature sensor, 8 programmable I/O (PIO) state machines for custom peripheral support.
Board Components and Pinout
The RP2040 Pro Micro board features a compact design with clearly labeled pins for easy integration into your projects. The following diagram illustrates the dimensions and pin assignments.

Pin Function Legend:
- GPIO.PIO and PWM: General Purpose Input/Output, Programmable I/O, and Pulse Width Modulation.
- SPI: Serial Peripheral Interface.
- UART/Default: Universal Asynchronous Receiver-Transmitter.
- I2C: Inter-Integrated Circuit.
- Power: Power supply pins (e.g., 3V3, 5V).
- BOOT: Boot select button.
- Ground: Ground connection.
- Touch Sensor Input Channel: Specific pins for touch sensing.

3. Specifications
| Attribute | Value |
|---|---|
| Brand Name | TENSTAR ROBOT |
| Model Number | RP2040 |
| Origin | Mainland China |
| Condition | New |
| Type | Module |
| Application | Computer |
| Supply Voltage | 5V |
| Dissipation Power | 1 |
| Operating Temperature | 1 |
| Package | SMD |
| is_customized | Yes |
| High-concerned chemical | None |
| Flash Memory | 4MB or 16MB (variant dependent) |
4. Setup Guide
4.1 Initial Connection
- Connect to Computer: Use a USB-C cable to connect the RP2040 Pro Micro board to your computer. The board will typically appear as a mass storage device (RPI-RP2) if it's in bootloader mode.
- Install Drivers (if necessary): For some operating systems, you might need to install specific USB drivers. Refer to the official Raspberry Pi Pico documentation for detailed instructions.
4.2 Software Setup
The RP2040 Pro Micro supports two primary development environments: MicroPython and the Raspberry Pi Pico C/C++ SDK.
MicroPython Setup:
- Download MicroPython UF2: Obtain the latest MicroPython UF2 firmware file for Raspberry Pi Pico from the official MicroPython website.
- Enter Bootloader Mode: Press and hold the 'BOOT' button on the board while plugging it into your computer via USB-C. Release the 'BOOT' button once connected. The board should appear as a removable drive named 'RPI-RP2'.
- Drag-and-Drop Firmware: Drag the downloaded MicroPython UF2 file onto the 'RPI-RP2' drive. The board will automatically reboot, and MicroPython will be installed.
- Install Thonny IDE: Thonny is a user-friendly Python IDE recommended for MicroPython development. Download and install it from the official Thonny website.
- Configure Thonny: In Thonny, go to 'Tools' > 'Options' > 'Interpreter' and select 'MicroPython (Raspberry Pi Pico)' as the interpreter. Choose the correct COM port for your board.
Raspberry Pi Pico C/C++ SDK Setup:
For C/C++ development, refer to the official Raspberry Pi Pico SDK documentation. This typically involves setting up a GCC toolchain, CMake, and Visual Studio Code with the appropriate extensions.
5. Operating Instructions
5.1 Basic Programming with MicroPython
- Write Code: Open Thonny IDE and write your MicroPython code (e.g., a simple LED blink program).
- Save to Board: Click 'File' > 'Save as...' > 'Raspberry Pi Pico' and save your script as
main.py. This file will run automatically when the board powers on. - Run Script: You can also run scripts directly from Thonny by clicking the 'Run' button.
5.2 Using GPIO Pins
The 26 GPIO pins can be configured as inputs or outputs to interact with external components. Refer to the pinout diagram (Figure 2) for pin numbering.
Example (MicroPython):
from machine import Pin
import time
led = Pin(25, Pin.OUT) # Assuming an onboard LED on GPIO25
while True:
led.value(1) # Turn LED on
time.sleep(0.5)
led.value(0) # Turn LED off
time.sleep(0.5)5.3 Advanced Peripherals
The RP2040 supports various communication protocols and analog functions:
- SPI, I2C, UART: Use these for communicating with sensors, displays, and other microcontrollers.
- ADC: The Analog-to-Digital Converters allow reading analog sensor values.
- PWM: Pulse Width Modulation can be used for controlling motor speed, LED brightness, etc.
- PIO: Programmable I/O state machines offer highly flexible and precise control over custom hardware interfaces.
Detailed usage examples for these peripherals can be found in the official Raspberry Pi Pico documentation and MicroPython tutorials.
6. User Tips
- USB-C Connection: The board uses a USB-C port for power and data, ensuring modern and reversible connectivity.
- Firmware Updates: To update or change firmware (e.g., from MicroPython to C/C++ SDK), always enter bootloader mode by holding the 'BOOT' button while connecting the USB-C cable.
- Power Supply: Ensure a stable 5V power supply when operating the board, especially when connecting multiple peripherals.
- Pin Headers: The board typically comes with unpopulated pin headers. Soldering these headers allows for easy breadboard prototyping.
7. Troubleshooting
7.1 Board Not Recognized by Computer
- Check USB Cable: Ensure the USB-C cable is functional and properly connected. Try a different cable.
- Bootloader Mode: Make sure the board is in bootloader mode (hold BOOT button while plugging in) if you are trying to flash new firmware.
- Drivers: Verify that necessary USB drivers are installed on your operating system.
- Port Conflict: Check Device Manager (Windows) or
ls /dev/tty*(Linux/macOS) for port conflicts or incorrect port selection in your IDE.
7.2 Code Not Running
- Syntax Errors: Review your code for any syntax errors.
- Correct Firmware: Ensure the correct firmware (MicroPython or C/C++ compiled binary) is flashed to the board.
- File Name: For MicroPython, ensure your main script is saved as
main.pyon the board to run automatically. - Power Supply: Insufficient power can cause erratic behavior. Ensure your 5V supply is adequate.
- Pin Connections: Double-check all external wiring and pin connections.
8. Maintenance
- Handle with Care: Avoid dropping or applying excessive force to the board.
- Keep Dry: Protect the board from moisture and liquids to prevent short circuits and corrosion.
- Static Discharge: Always handle the board in an ESD-safe environment or take precautions to avoid static discharge, which can damage sensitive electronic components.
- Cleanliness: Keep the board free from dust and debris. Use a soft, dry brush or compressed air for cleaning if necessary.
9. Warranty and Support
For technical support, programming resources, and detailed documentation, please refer to the official Raspberry Pi Pico documentation and community forums. While specific warranty details are not provided, TENSTAR ROBOT products are generally supported by the manufacturer for defects in materials and workmanship. Please contact your retailer or TENSTAR ROBOT directly for any warranty claims or further assistance. Source · https://manuals.plus/ae/1005006967374887