Based on the domestic LGT8F328P chip, the work of Stefan Wagner is transplanted. The address of the original work is: Yuan Lichuang's overseas version address.
The program is at: github. A new version has been released. I haven’t used the new version, so I’d better get used to the 1.7+ version.
This 1.7+ version of the code implements:// - Real-time monitoring of the temperature of the tip// - Temperature measurement of the tip// - PID temperature control// - Direct or PID control of the heater// - Can be controlled by an encoder Temperature// - Temperature control via rotary encoder// - Short pressing the encoder to enter short-time heating mode // - Boost mode by short pressing rotary encoder switch// - Long pressing the encoder to enter the main menu // - Setup menu by long pressing rotary encoder switch// - Handle movement detection (requires the handle to contain a vibration sensor) // - Handle movement detection (by checking ball switch)// - Handle connection detection (implemented by determining whether the temperature of the soldering iron tip can be read) // - Iron unconnected detection (by idenfying invalid temperature readings)// - Timer setting-sleep, shutdown time// - Time driven sleep/power off mode if iron is unused (movement detection)// - Can measure the main control chip Voltage and temperature, //This function of this chip is still under exploration, and there are differences in the internal registers. // - Measurement of input voltage, Vcc and ATmega's internal temperature// - Implement information display on OLED // - Information display on OLED // - Support passive buzzer // - Buzzer // - Allow setting different soldering iron tips Temperature calibration value // - Calibrating and managing different soldering tips // - Settings are saved in EEPROM and will not be lost when power is off // - Storing user settings into the EEPROM // - Allow hot-swappable soldering tips and pop up the soldering tip configuration Select menu// - Tip change detection// - Chip overheating and low voltage alarm// - Chip overheating and low voltage alarm// - Better real-time temperature bar and real-time power bar// - Better real-time temperature bar and real -time power bar// - Have transition animation// - Have transition animation// - Built in screen saver// - Built in screen saver// - Screen flip settings// - Screen flip settings// - Built-in English, Chinese, Japanese language pack // - Built in English, Chinese and Japanese language pack // - Power-on password setting // - System Password
The horizontal line above means that this function is not currently transplanted.
Thanks to the nulllab team for the technical support of the LGT8F328P chip. This chip is cheap (4-6 yuan a piece), powerful, has an optional built-in crystal oscillator, and the transplantation procedure is relatively simple.
Attached is a PCB-Gerber that can be printed directly and a modified LGT program. I have tested four or five units and there is no problem.
Uploading pictures is too slow. Let’s leave it at that. If you have any questions, you can communicate. Digital Home will post simultaneously and will explain in detail there.