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: 三连屏扩展板 2寸LCD主屏IPS屏 0.96寸蓝色OLED双副屏 适用于树莓派 树莓派5摄像头 树莓派zero 树莓派Pico 2 RP2350 USB A开发板RP2350A 树莓派红外摄像头 7inch-DSI-LCD-B教程 PI5 ESP32-H2 RISC-V 激光雷TOF测距 树莓派5 PD电源 X1003树莓派5专用PCIE转M.2 NVME SSD固态硬盘MINI迷你扩展板Pi5 2242 2230 树莓派DSI 荔枝派糖Lichee Tang Nano 9K高云FPGA GOAI Sipeed GW1NR-9 MPTPU树莓派5 谷歌AI Kit 2TOPS PCIE转TPU 谷歌TPU核心模组 树莓派5 PoE模块 ESP32-S3开发板2.8寸LCD显示屏480x640触摸屏 QMI8658传感器 SD槽 USB RS232工业级4路UART串口TTL FT4232HL EPS32 S3开发板1.8寸圆形触摸显示屏LCD电子相框AIDA64无线WIFI副屏拾音无线供电LVGL 高精度360°磁编码伺服电机120KG.CM RS485高精度大扭矩 1.69寸LCD触摸显示屏240&amp;times;280 ST7789 Arduino 树莓派 ESP32 Pico STM32