Coder Social home page Coder Social logo

songguo-pts200's Introduction

Songguo PTS200

Introduction

  1. PD3.0 and QC3 fast charge protocol

  2. 20V 5A 100W maximum power

  1. Built-in IMU for sleep detection
  1. PD protocol chip uses CH224K
  1. MOSFET supports 30V 12A
  1. MCU uses ESP32 S2 FH4
  1. The power input uses a power-enhanced USB-C interface
  1. Customized soldering tip with 4 ohm internal resistance. It can be powered by 20V with 100W.
  1. 128x64 OLED screen
  1. 3 buttons, the middle button is connected to GPIO0
  1. MSC firmware upgrade, flash disk mode
  1. With a portable tip cap

Build method

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

songguo-pts200's People

Contributors

eddddddddy avatar quotschmacher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

songguo-pts200's Issues

PTS200 doesn't recognized as USB device after update

After I updated firmware solder is no more recognized as USB device at all and as result I cannot flash it any more.

  1. I built firmware from sources v4.5.0.
  2. I installed it via menu point Update firmware and mounted disk.
  3. Solder works but it is no more flash-able and device manger doesn't see new USB device when it connected. .

What can be the problem and how to solve it?

License for the code

Hi there!
What is the license for this source code?
Would be nice to have license published in repo.
Thanks!

Where is the source code for firmware version 4.3.2

Today I received a new PTS200 - and it seems like a great soldering iron!

The Information screen on my unit shows VER:v4.3.2, however I do not see such a version here - the latest is 4.3.1 and the last commit is from May 24. Does this mean that this repository will not be updated any more?

Wrong Power OFF sequence

Yes it shuts down when in heating state, but if you'll touch it in power off state, it'll awake and never shuts down again.
So, OLED will degrade in about 3 months.

Room temperature is 60C ?

I have TS100 soldering tips. When the soldering tip is totally cold, it is measuerd as 60C, which sounds pretty much off. Three times the actual temp, which is around 20C.

Here is the code:

raw_adc = adc_sensor.readMiliVolts();
value = constrain(0.4432 * raw_adc + 29.665, 20, 1000);

My raw_adc is 44. After this formula, the value becomes 49.17. Then 8 measurements are sorted, the middle 4 are averaged, the result is still 49. Then this code comes which adds some SMOOTHIE:

RawTemp += (temp - RawTemp) *
   SMOOTHIE;  // stabilize ADC temperature reading 稳定ADC温度读数

RawTemp is still 49.
Finally calculateTemp() function comes, which adjusts the RawTemp with calibration values.

void calculateTemp() {
  if (RawTemp < 200)
    CurrentTemp = map(RawTemp, 0, 200, 15, CalTemp[CurrentTip][0]);
  else if (RawTemp < 280)
    CurrentTemp =
        map(RawTemp, 200, 280, CalTemp[CurrentTip][0], CalTemp[CurrentTip][1]);
  else
    CurrentTemp =
        map(RawTemp, 280, 360, CalTemp[CurrentTip][1], CalTemp[CurrentTip][2]);
}

My calibration values are the default ones: {200, 280, 360, 35} So the map formula adjusts it from 0 -> 200 range to 15 -> 200 range. This makes my 49 RawTemp to become 60 as CurrentTemp. Here we go. But why?

Where all these formulas are coming from? Especially the first one. And why is that 0 -> 15 difference in the map function below 200?

Firmware Version 4.4.0

Hello,

I just got my Iron with version 4.4.0 installed. Could you please publish the source code for this version?
For anyone interested in the firmware, I uploaded a dump of the flash memory. You can flash it with the following command:

esptool.py write_flash 0x000000 flash_4_4_0.bin

Also, would it be possible to publish the schematics? It would be helpful for understanding the code.

Thanks

Flashing problem

If I did as in instruction - nothing happened:

  1. Disk appeared OK
  2. Old Firmware erased OK
  3. New Firmware downloaded OK
    and nothing happened. Old Firmware remained.

In doc section you wrote
"If there is an upgrade failure or other problems with the firmware, you can use the factory version of the firmware and use the ESP flash tool to write the firmware at address 0x0000. Select ESP32S2-Develop-Internal USB to download."
I see no selection: ESP32S2-Develop-Internal USB

Maybe you describe more precise

4.5.0蜂鸣器异响

加温的时候,蜂鸣器有类似电流的声音。重新刷老版本后没有这个问题。

Display upside down

I installed V4.5 successfully but the display was upside down - as if for a left handed parson. How do I switch it?

Iron Sleep

I have set the timers for what seems appropriate - go to sleep after 6 minutes and the motion sensing for 10 units.
I let the iron sit for 6 minutes and most times it tries to go to sleep but immediately wakes up again. Rarely it will sleep.
I tried setting the motion setting for something like 25 and the next time it did sleep it took a LOT of shaking to wake it up.
The iron is connected to a 65 watt battery power bank and runs at 20v. It acts the same on a 9v capable wall wart.
Any suggestions for appropriate settings? or maybe the motion sensor is defective??

how to get spare metal parts ?

Hi
My TS12 metal interface and the little double-threaded metal piece between TS12 and iron body are broken (thread between them doesn't work anymore).
Is there a way to get metal spare parts ?
I wrote here because I haven't found any other way to join manufacture

Regards

blank display

trying to update firmware think i erased everything , any fix for this. i was having temp problems with the firmware that came on the soldering iron

Auto-detect and rotate display

Hi, excellent iron/Ui/work!
Was wondering if there's a way to add to the handedness setting for an auto-detect to rotate the screen to always right side up using the accelerometer? I tend to switch btwn hands fairly regularly while soldering (esp when using 2x irons for small stuff).
Thanks for all the work!

Compiling 4.5.3

hi
your projet is great !
I wanted to add two languages (French & Italian), but compiling fails

I have several questions about compiling under Adruuino 1.8 or 2.3

  1. Is the file /boards/PTS200.json to be included in Arduino IDE ? If YES, how to do it ?
  2. PID_v1 is not in Aduino library list, I took in in https://github.com/wagiminator/ATmega-Soldering-Station/tree/master)/Arduino-PID-Library.zip. Is it right ?
  3. I tried both IDEs, compiling stuck on
    C:\Users\Dan\Documents\Arduino\SolderingPen_ESP32S2\SolderingPen_ESP32S2.ino: In function 'void setup()':
    C:\Users\Dan\Documents\Arduino\SolderingPen_ESP32S2\SolderingPen_ESP32S2.ino:168:10: error: 'class USBCDC' has no member named 'setRxTimeoutMs'; did you mean 'setTxTimeoutMs'?
    Serial.setRxTimeoutMs(0);
    ^~~~~~~~~~~~~~
    setTxTimeoutMs
    4)I read somewhere it is possible to upload USER.BIN or FACTORY.BI§N, but I haven't found them

How to disassemble PTS200?

I am not sure if it a right place to ask.
But how to disassemble and extract circuit board from solder iron without damaging it?

I can try to pull board from but afraid to damage it.
May be do you have photos of how board is mounted inside the body?

I have such one model:
image

为什么不支持华为的Max 100

你好,我看到菜单中是有支持QC协议的,所以购买了华为的Max100 。可是到货后发现根本不能使用20V 5A的输出。华为官方是明确支持QC协议的。

firmware instructions

Where can I download the firmware instructions? The link on the firmware page does not work.

How to reduce its sensitivity

This electric soldering iron is very useful, but there are also some inconvenient aspects to use, such as being too sensitive to induction. Even if I adjust the wake-up threshold of 50mg, the vibration of the table can put it into working mode.

3D model/ CAD

@Eddddddddy
Is It possibile to have a 3d model of the soldering iron?

I love the work you put on It and It would be great for the community to have 3d model for making case and accessories

对于产品的一些建议

  • 缺少左手模式
  • 在电压设置的界面里:可以直接在电压后面添加对应的功率,省得每次都要想一下功率
  • 设置菜单顶端和低端不联通,最下面一个要翻好久
  • 4.1和4.2的功率限制功能是否可以搞个开关(哪怕就在电压设置里多搞几个选项)
  • (无关紧要的)将pwm以进度条的方式显示出来,以变相展示功率
  • 在b站里,有一个upper做烙铁的加了个 遇到大面积焊点自动升温的功能 挺方便的,是否可以加上

QC 不能触发

我试了好几个充电器,换了好几个线。都不行。
hit:QC3的库是基于5v的arduino做的

Just a few questions.

Hello, I'm very impressed with all of your work. I'm patiently waiting for my soldering iron and just have a couple questions. Are you the person working on the IronOS port? If so, any idea when it might be published? Do you want to work together? I planned on porting it over myself before I read somebody was already working on it.

Thanks again, I'm really looking forward to using this iron.

Power supply

What power supply does ever one use ? Will a laptop charger work ?

如何手工退出加热状态?

焊接完了想退出加热状态,试了好久没发现有这样的操作,只能拔电源。想问下有这样的操作吗?

OFF Button

Is it possible to implement a Shortcut Button to Power Off the device, for example "+" and "-" .

only displayed some Chinese characters

I uploaded the unchanged source code to PTS200 using Arduino and found that the screen only displayed some Chinese characters. Is it because my Arduino settings are incorrect?

Compatibility with Xiaomi 120W charger

Has anyone attempted to use the PTS200 with a Xiaomi 120W charger featuring a USB Type A output?

Does PTS200 reach the full 100W?

I managed to achieve a 20V output using a QC3 trigger, but I do not have the PTS200 to confirm.

mi_11_charger jpg

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.