0 Special Notice
0.1 Copyright Statement
All codes in the program are developed by myself (i.e. all copyright owners, the same below). After the program is open source, anyone is authorized to use the program free of charge (they can use the firmware directly or modify any derivative version based on the program), but the copyright of the above program and this document belongs to me.
The hardware design was based on the suggestions of many netizens. I will not declare the copyright, but please respect the work of myself and other netizens.
0.2 Open Source Agreement
Any derivative version of this program (including but not limited to this version, the same below) modified by anyone other than me, as well as other programs designed based on the ideas or part of the code of this program, must open source all the codes. Without the written authorization of the first copyright owner (@BEAT), no organization or individual may use the above program (including this program and all derivative versions and other programs designed with reference to this program) and this document for commercial purposes in any form.
This program is protected by copyright law. I reserve the right to pursue legal liability against infringers and those who violate the open source agreement. Please abide by this open source agreement, respect the work of the original author and all derivative version authors, and abide by the laws and regulations of the copyright owner's location!
0.3 Disclaimer
I only design the program and share it with netizens for free. I only guarantee that the program can work properly in my hands, and I cannot guarantee that the circuit boards, components and source programs obtained by others in any form can work properly. I will not bear any consequences caused by anyone else using all the software and hardware designed by me. If you do not agree with this statement, please delete this document and its related programs immediately.
0.4 Acknowledgements
Part of the content of this program refers to the relevant algorithms of @BEAT; @xzhyahoo1 provided suggestions when designing V2.0 and V2.1; the bug fixed in V2.8 was discovered by @理解由誠誠. The UI in V3.0 was designed by @BEAT. The help of the above friends has played a good role in the development and update of the program, and I would like to thank them here.
1 Hardware Preparation 1.1 Hardware Introduction 1.1.1 Introduction to the PCB I designed
① There is a known problem that the encoder and the OLED screen are too close. If you choose a 1.3-inch OLED, the encoder will block part of the OLED screen after the knob is installed. Therefore, you need to fly the wires yourself, or install the screen with cables, or EC11 uses flying wires, in short, separate the screen and the encoder.
② When welding the buzzer and encoder, the buzzer should be welded first and then the encoder, and the two pads of the buzzer should be properly insulated with tape or hot melt adhesive, otherwise the metal on the back of the encoder will short-circuit the buzzer, and the two fixing feet of the encoder need to be cut off.
③ When using a 5V powered OLED screen, R4/R5 should be 1k. When using a 3.3V powered OLED screen, R4/R5 should be 470R. Whether to use 5V or 3.3V is determined by the JP1 jumper.
④ Please add a capacitor of 470uF or more to 5V and a 104 capacitor to the op amp VCC.
⑤Capacitor C5 is incorrectly designed and is not actually needed.
1.1.2 Smart Edition Hardware Introduction
① The three capacitors on the front do not need to be soldered, otherwise the program cannot be downloaded;
②It is recommended to replace MOS with AO4413.
1.1.3 SpongeBob Edition Hardware Introduction
①The MCU should be changed to STC15W2K60S2;
1.2 Burning firmware1.2.1 Burning steps
The firmware is in the Objects subfolder under the Prj folder, and the file name is HAKKO.hex.
① Connect the CH340 module to the soldering station, first connect only the TX, RX, and GND wires, and leave the VCC unconnected;
②Check the relevant options according to the steps in Figure 1-1;
Figure 1-1 STC-ISP software operation steps
③Connect the downloader VCC to the soldering station.
1.2.2 Troubleshooting of Programming Failure
①The encoder position is not suitable, rotate the encoder and try again (make sure the encoder is turned to the right position and not stuck in the middle);
②TX and RX are connected in reverse, the V1.0beta version hardware should be TR and RT;
③ The power supply of the downloader is unstable. Check the power supply voltage of the downloader after loading;
④ Reduce the maximum baud rate during downloading and uncheck "Use fast download mode".
2 Function Introduction 2.1 Interface Introduction
When the soldering iron is working, it is divided into two working modes, namely normal working mode and channel working mode. The two modes can be switched by short pressing the encoder. They will be introduced separately below.
2.1.1 Normal working mode
In normal working mode, the user is allowed to adjust the set temperature value with a custom step (adjustable in the menu). The step value range is 1-50. The normal working mode interface is shown in Figure 2-1.
Figure 2-1 Normal working mode interface
2.1.2 Channel working mode
In the channel working mode, the user can select and set the temperature in a total of 6 temperature channels from 0 to 5, where channel 0 is 0℃, channel 5 is the "highest temperature" value, and the values of the remaining four channels can be set in factory mode. The channel working mode interface is shown in Figure 2-2.
2.2 Main menu introduction
Long press the encoder to enter the first-level menu, rotate the encoder to select the second-level menu you want to enter, and short press to enter the second-level menu. Rotate the encoder again to move the cursor to the specific parameter that needs to be modified, and short press the encoder to select the content (the option value is displayed after selection). Rotate the encoder again to modify the value. After the modification is completed, short press the encoder to cancel the selection (the option value disappears after cancellation), and rotate the encoder again to move the cursor to other parameters. Long press the encoder to exit the first-level menu and the second-level menu. The long press time is 1s. The menu structure is shown in Figure 2-3.
Figure 2-3 Menu structure
2.2.1 Temperature setting
Temperature step: The temperature step value when the user rotates the encoder in normal mode, and the temperature step value when setting temperature-related parameters in other menus;
Sleep temperature: The working temperature of the soldering iron in "sleep mode". If the option value is less than 50, it will not heat up in sleep mode, and the option value cannot exceed the set value of "maximum temperature" (limited in the firmware, the same below);
Default temperature: The default set temperature after the soldering iron is turned on. The option value cannot exceed the set value of "maximum temperature". If you want the soldering station to save the set temperature value when it was last turned off, you can set this option to "0";
Maximum temperature: The maximum temperature that the soldering iron can be set to. The value of this option cannot exceed 500 (the accuracy is not guaranteed after the temperature exceeds 450°C, please use it with caution);
2.2.2 Time settings
Sleep time: When the soldering iron handle stops vibrating and the encoder does not move, the timing starts. At that time, it enters the sleep mode and works at the "sleep temperature" until it enters the "standby mode". During this time, the soldering iron can be awakened by vibrating the handle or the encoder to heat at the original set temperature again. If sleep is not required, this position is 0. After this position is 0, it will not enter the sleep and standby modes, and the 220V power supply will not be cut off.
Standby time: Start timing after entering sleep mode, enter standby mode when the time comes, and the soldering iron stops heating. This position 0 means that it will directly enter standby mode after the sleep time. In standby mode, the soldering iron can only be awakened by the encoder action.
Shutdown time: Starts timing after entering standby mode. When the time comes, the MCU IO port (customizable, see Chapter 3, Section 5) gives a low-level signal, and the hardware cooperates to cut off the 220V power supply. Setting this position to 0 means not cutting off the 220V power supply. This position is invalid without hardware cooperation, and any value can be set without affecting program operation. Due to the inaccurate clock of the MCU power-off wake-up timer, this time has a large error (20%).
2.2.3 Channel Settings
Default channel: The default setting channel after the soldering iron is turned on. The value range of this option is 1-5. If you want the soldering station to save the setting channel when it was last turned off, you can set this option to "0";
Channel 1-4: Allows the user to set the channel value of channel 1 to channel 4. When called in channel mode, the value of this option must not be greater than the "maximum temperature" value.
2.2.4 Other settings
Tip selection: allows the user to store the parameters of 4 soldering iron tips in advance in factory mode;
Vibration threshold: The sensitivity setting when the soldering iron tip vibrates to wake up the soldering iron. The value range is 0~10, with 0 being the most sensitive.
Button volume: The volume setting when the encoder is turned or pressed, the value is 0~10, 0 means turning off the buzzer;
Protection voltage: The voltage value at which the soldering iron stops heating. When the power supply (or battery) voltage is lower than the set value, the soldering iron stops heating, but does not affect the menu operation;
Temperature fluctuation: When the soldering iron displays large temperature fluctuations, you can increase this value to stabilize the display. The value range is 1-5, 1 is the real-time value.
Restore factory settings: If you need to restore factory settings, set this position to 1. After exiting the menu, all parameters will be restored to factory settings.
Previous article:Three-cup wind speed sensor LCD display single chip program and experimental report
Next article:Use Proteus to simulate H-bridge + DC servo motor with detailed documentation + source code
Recommended ReadingLatest update time:2024-11-22 13:12
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- GigaDevice's full range of automotive-grade SPI NOR Flash GD25/55 wins ISO 26262 ASIL D functional safety certification
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- New IsoVu™ Isolated Current Probes: Bringing a New Dimension to Current Measurements
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- Infineon Technologies Launches ModusToolbox™ Motor Kit to Simplify Motor Control Development
- STMicroelectronics IO-Link Actuator Board Brings Turnkey Reference Design to Industrial Monitoring and Equipment Manufacturers
- Melexis uses coreless technology to reduce the size of current sensing devices
- Melexis uses coreless technology to reduce the size of current sensing devices
- Vicor high-performance power modules enable the development of low-altitude avionics and EVTOL
- About the board driver problem of 430f5529
- IOS BLE4.0 low-power Bluetooth connection and data transmission and reception process
- Design of control system for CNC engraving machine based on embedded system
- A must-read for microcontroller beginners!
- Communication RF Circuit (Online Education) PPT
- Why can't I read the pin status?
- Design issues of RC circuit between MOSFET drain and source
- Ask for guidance from seniors
- ATK-0.96' OLED module
- [Project source code] Linux view and delete processes