Eddddddddy / Songguo-PTS200

166 stars 37 forks source link

Songguo PTS200

Introduction

  1. PD3.0 and QC3 fast charge protocol

  2. 20V 5A 100W maximum power

  3. Built-in IMU for sleep detection

  4. PD protocol chip uses CH224K

  5. MOSFET supports 30V 12A

  6. MCU uses ESP32 S2 FH4

  7. The power input uses a power-enhanced USB-C interface

  8. Customized soldering tip with 4 ohm internal resistance. It can be powered by 20V with 100W.

  9. 128x64 OLED screen

  10. 3 buttons, the middle button is connected to GPIO0

  11. MSC firmware upgrade, flash disk mode

  12. With a portable tip cap

Build method

  1. Arduino with ESP32 environment
  2. Install dependent libraries: Button2, U8g2, QC3Control, ESP32AnalogRead, PID_v1, SparkFun_LIS2DH12
  3. Replace the u8g2_fonts.c file from the U8G2 library
  4. In Arduino, select Tools-USB CDC On Boot-Enable
  5. In Arduino, select Tools-Upload Mode-Internal USB
  6. Click Upload