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: OPS扩展 串行总线电机 4.3寸串口屏 2.42寸显示屏 斑梨 工业级隔离型USB转RS232/485 (B)转换器原装FT232RNL导轨挂式 ESP32直驱伺服轮毂电机WIFI驱动板DDSM ESP DDSM400支持树莓派 树莓派6.25 寸LCD DSI显示屏MIPI触摸屏720x1560 PDF PD电源 移远SIMCom EG25-G GNSS全球定位4G通讯模块LTE Cat 4 PCI Express Mini Card 树莓派Zero RJ45 工业级USB转2路RS485隔离转换器原装FT2232HL 树莓派5串口终端 地平线旭日D-Robotics RDK X5开发板 Sunrise 5 Cortex A55 10TOPs算力 LC76G模组GNSS模块 支持GPS/北斗BDS/GLONASS/Galileo/QZSS多卫星系统 MaixCAM 系统烧录 树莓派Pico 2 RP2350 1.47寸LCD显示屏开发板172x320带RGB灯SD槽 ESP32-S3 1.69寸圆角LCD显示触摸屏WiFi蓝牙陀螺仪QMI8658传感器适用于Arduino ESP32 S3开发板3.5寸 虾哥小智AIDeepSeek人工智能语音聊天机器人盒子 QSPI高刷 N16R8 QMI8658 6轴/触摸/摄像头