Skip to content

2.33-inch screen development board with RP2350 and esp32c3

Notifications You must be signed in to change notification settings

Xinyuan-LilyGO/Lilygo-T-Pico2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌟LilyGO Pico2🌟

1️⃣Product

Product Combination Resolution Size
T-Pico2 RP2040(520kB SRAM + 16MB Flash) + ESP32-C3(4M Flash) 222x480 IPS 2.33 Inch

2️⃣Examples

examples/
├── AdjustBacklight                    # Backlight adjustment example
├── ATDebug                            # Serial AT debugging
├── CapacitiveTouch                    # Capacitive touch example
├── DVI                                # DVI output display
|  ├── 1bit_double_buffer                      
|  ├── 1bit_single_buffer                      
|  ├── 8bit_double_buffer                      
|  ├── 8bit_single_buffer                      
|  ├── 16bit_hello                             
├── Expand XL9535                      # Extended IO port example
├── Factory                            # Factory hardware test example
├── PMU                                # Onboard power management example
├── PWM                                # RP2040 PWM Example
├── QWIIC_GPS_Shield                   # QWIIC I2C Sensor Example
├── QWIIC_Sesnsor                      # QWIIC Uart GPS Module Example
├── SDCard                             # SD card read and write example
├── TFT_eSPI                           # TFT_eSPI example
├── WiFi                               # WiFi usage example 
│   ├── ChatServer
│   ├── PagerServer
│   ├── ScanNetworksAdvanced
│   ├── UdpSendReceiveString
│   ├── UdpSender
│   ├── WebClient
│   ├── WebServer
│   └── WiFiSSLClient
├── Arduino_GFX
│   ├──GFX_HelloWorld             # Arduino_GFX example

3️⃣ Write to new users

  • For first time use, you need to use Zadig to replace the driver to correctly identify the port.
  • T-PicoPro uses a reversible Type-C design, which corresponds to the port of RP2350 and the USB port of ESP32-C3 respectively.
  • How to identify the port of RP2350?
    • Press and hold the BOOT button on the side of the T-PicoPro, and then plug in the USB-C. If the computer recognizes it as a disk, then it is the port of the RP2350
  • In addition to being a UART, the T-PicoPro QWIIC UART port can also be used as a normal IO
  • The QWIIC I2C port cannot be used for other purposes and can only be configured as an I2C interface because it is connected to the screen touch and PMU.
  • The ESP32C3 uses a modified AT firmware that swaps TX and RX. You can find the custom compilation method of AT firmware here.
  • ESP32-C3 default AT firmware is compiled in V3.3.0-dev. The firmware has been simply modified (GPIO control function added), the source code can be found here,Please see commit for specific changes
  • The T-PicoPro charging indicator light can be turned off through software. If the battery is not connected, the indicator light will flash.

4️⃣ PlatformIO Quick Start (Recommended)

  1. Install Visual Studio Code and Python
  2. Search for the PlatformIO plugin in the VisualStudioCode extension and install it.
  3. After the installation is complete, you need to restart VisualStudioCode
  4. After restarting VisualStudioCode, select File in the upper left corner of VisualStudioCode -> Open Folder -> select the T-PicoPro directory
  5. Wait for the installation of third-party dependent libraries to complete
  6. Click on the platformio.ini file, and in the platformio column
  7. Uncomment one of the lines src_dir = xxxx to make sure only one line works
  8. Click the (✔) symbol in the lower left corner to compile
  9. Connect the board to the computer USB
  10. Click (→) to upload firmware
  11. Click (plug symbol) to monitor serial output
  12. If it cannot be written, or the USB device keeps flashing, please check the FAQ below

5️⃣ Arduino IDE Quick Start

  • It is recommended to use platformio without cumbersome steps
  1. Install Arduino IDE
  2. Install Arduino Pico
  3. Download or clone T-PicoPro to any location
  4. Copy all folders in lib folder to Arduino library folder (e.g. C:\Users\YourName\Documents\Arduino\libraries)
  5. Open ArduinoIDE ,Tools , Look at the picture to choose setting
  6. T-PicoPro folder -> examples -> Any Examples
  7. Select Port
  8. Click upload , Wait for compilation and writing to complete
  9. If it cannot be written, or the USB device keeps flashing, please check the FAQ below

6️⃣ FAQ

  1. If writing fails successfully,

    1. Connect the board via the USB cable
    2. Hold down the (side) BOOT key while holding down the (side) BOOT key and press the (same side) RSTl
    3. Release the (on the side)RST
    4. Release the (on the side)BOOT button
    5. Upload sketch
  2. How to write ESP32-C3?

    1. Since the ESP32-C3 reset pin is controlled by RP2350, when you need to update the ESP32-C3 firmware, please do not include the operation of controlling the ESP32-C3 reset pin in the program in RP2350.
    2. Press and hold the esp32 BOOT button on the side of the ESP32-C3 module and insert the USB-C.Make sure you are plugging in the USB port side of the "ESP32-C3".The computer should be able to write to "ESP32-C3" normally.
  3. How do I check if the hardware is OK?

    1. Please follow the first step of the FAQ and drag firmware.uf2 in the firmware directory into the disk. The program includes hardware self-test, which can determine whether the hardware is normal.

7️⃣ PinMap

The XL9535 is an external expansion IO port of the RP2350A

RP2350A XL9535 ESP32-C3 TFT SD BUTTON HDMI QWIIC UART1 FLASH DRAM
IO0(SDA) PIN47(TP_SDA)
IO1(SLC) PIN48(TP_SCL)
IO2 SDA1
IO3 SCL1
IO2 PIN50(TP_RST)
IO4 PIN49(TP_INT)
IO0 PIN35(TF_RST)
IO1 PIN35(TF_BL)
IO4(MISO) PIN11 SD_MISO
IO6(SCK) PIN8 SD_SCK
IO7(MOSI) PIN10 SD_MOSI
IO8(TFT_CS) PIN6
IO9(TFT_DC) PIN7
IO5(SD_CS ) SD_CS
IO12 CK_N
IO13 CK_P
IO14 D0_N
IO15 D0_P
IO16 D1_N
IO17 D1_P
IO18 D2_N
IO19 D2_P
IO6 HOTPLUGDET
IO20(TX) RX
IO21(RX) TX
IO23 BTN1
IO22(RESERVE) IO10(RESERVE)
IO3 IO8(EN)
IO26(CTS) IO5(CTS)
IO27(RTS) IO4(RTS)
IO28(TX) IO6(RX)
IO29(RX) IO7(TX)
PIN55(SD3) IO3 SIO3
PIN58(SD2) IO2 SIO2
PIN59(SD1) IO1 SIO1
PIN57(SD0) IO0 SIO0
PIN56(SCLK) SCLK SCLK
PIN60(FLASH_CS) IO3
IO25(RAM_CS) CS

7️⃣ Resource

8️⃣ Depends on required libraries

About

2.33-inch screen development board with RP2350 and esp32c3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published