T-PicoC3教程

注意

在TYPE-C中,可以通过正反访问确定当前连接是PICO还是ESP32C3。

连接时,板载led灯会根据连接的芯片进行指示(由于线缆问题,有可能指示灯与实际连接的芯片相反,甚至是两个LED同时亮起,请在两个LED同时亮起时更换另一根线缆),主要判断是串口名称中显示的是当前连接的设备。


RP2040

Arduino

  1. Open up the Arduino IDE and go to File->Preferences.
  2. Unofficial libraries are used in the Arduino examples.In the dialog that pops up, enter the following URL in the "Additional Boards Manager URLs" field:
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
  1. Go to Tools->Boards->Board Manager in the IDE
  2. Type "pico" in the search box and select "Add":
  3. Copy TFT_eSPI to the <C:\Users\Your User Name\Documents\Arduino\libraries> directory
  4. Open Arduino IDE, find TFT_eSPI in the file and example, the T-Display factory test program is located at TFT_eSPI -> FactoryTest, you can also use other sample programs provided by TFT_eSPI
  5. In the Arduino IDE tool options, select the development board Raspberry Pi Pico, Other keep the default
  6. Hold down the BOOT button, click the reset button, and release the BOOT button after a delay of one second or after waiting for the computer to eject a new disk
  7. Finally, click upload or drag the firmware to the new disk

MicroPython

  1. install Thonny Python IDE
  2. After the installation is complete, you need to click on the toolbar, click Run -> Select Interpreter, enter the following interface, select Raspberry Pi Pico, you need to configure Pico before configuring the following ports
  3. Press the BOOT button, click RES, then go back to Thonny Python IDE and change the port to the serial port where Pico is located. If you don't find it, click Install or update firmware.
  4. Enter or save as a script to run
  5. from machine import Pin, Timer
    led = Pin(25,Pin.OUT)
    tim = Timer()
    def tick(timer):
        global led
        led.toggle()
    tim.init(freq=2.5, mode=Timer.PERIODIC, callback=tick)
    
    1. If you need to save to the chip, you need to click File->Save As->rp2040.
    1. For more usage methods, please refer to the Micro python documentation.


ESP32-C3

Arduino

  1. Open up the Arduino IDE and go to File->Preferences.
  2. In the dialog that pops up, enter the following URL in the "Additional Boards Manager URLs" field:
  • Stable release link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
  • Development release link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
  1. Go to Tools->Boards->Board Manager in the IDE
  2. Type "ESP32C3 Dev" in the search box and select "Add":
  3. Click any "file-> example-> all esp32 esamle" and upload the run

ESP32-C3 Upload method

  • ESP32C3 mainly uses ESP32-AT firmware here. If you want to use it as a coprocessor, you can modify the firmware.
  • Method 1: if the serial port is displayed with the word jatg when connecting to USB, you can upload it directly using USB. (please note that do not use USB pins to define other functions, otherwise it will be troublesome to upload next time).
  • Method 2: (if there is no serial port when connecting ESP32C3 USB) disconnect USB, short connect ESP32C3-IO9 and GND, and then reconnect USB (note that ESP32C3 device is selected to connect USB).


TAG: 树莓派机器人 ESP32 S3开发板1.85寸 虾哥小智AI音箱DeepSeek人工智能语音聊天机器人盒子N16R8 ROS2 使用 树莓派Pico 2 RP2350-Zero迷你开发板RP2350A DTOF激光雷达传感器STL27L UART串口通信360°全方位激光雷达飞行时间测距 编程手表 Sipeed NanoCluster迷你集群板 数据中心 集群电脑 树莓派CM45 LM3H M4N 香橙派UPS 斑梨 ESP32显示屏 ESP32机器人 树莓派12.3寸DSI MIPI显示屏LCD 720x1920 Luckfox RK Omni3576 树莓派5 27W电源 Arducam ESP32-P4 PICO开发板C6 WiFi6 MIPI DSI 10.1寸显示屏/CSI摄像头/音频喇叭 小智 AI Deepseek LilyGO STM32 MX25R6435 树莓派Pico 2 RP2350 4寸LCD触摸显示屏480x480 HMI LVGL 带CAN/RS485/I2C传感器接口 树莓派5/4B不启动更新BootLoader EEPROM教程 工业级5G路由器