1. First, punch out the board and then find all the components. The following is the component list:
1. LED lamp 0805 package/5 pcs
2.103 capacitor 0805 package/1
3.104 capacitor 0805 package/2
4.470 Ω 0805 package resistor/12
5.2k 0805 package resistor/2
6.10k 0805 package resistor/9 7.20k
0805 package resistor/1
8. Single row 40p pin header/2
9.47uf 10v electrolytic patch capacitor 1. The package is SMD 4 4.5 (Lichuang Mall product number is: C114447)
10.6*6 4.5 Touch buttons/4 pieces<br/> 11.stc15f2k60s2 microcontroller/1 piece
12.s9012 triode/4 pieces (can be replaced by s8550 and other others)
13.0.56-inch common cathode digital tube/1 piece
14.LCD1602 display screen/1 15.2p jumper cap
/1
16.type-c 6p female socket
17.Potentiometer RP10K/1
Everyone should have various other tools, so I won’t explain them one by one.
After searching the list, start welding (all are welded according to personal habits)
Since the board I made on hand had some defects, such as the wrong button wiring and the useless self-locking switch, the current board has been corrected.
2. Function introduction
: The running water lamp
can be used to detect the power supply voltage of the microcontroller
. It can be used to display the temperature of DS18B20.
The 4 independent buttons can be used to control
all IO ports and can be used as a system board.
3. Attachment:
The attachment has uploaded a demonstration code, including hex and c files, as well as a video demonstrating the function. My code is average and can only be used to detect hardware usage. I hope you can help optimize it.
4. The test code description
has three modes. Mode 1 is 4 programmable lights running water, mode 2 is LED1 is on, and the digital tube displays 0123; mode 3 is LCD1602 display, and LED2 is on; use k1 to switch modes. There are more functions, I hope you guys can develop applications.
csdn blog link: https://blog.csdn.net/mei6666/article/details/106123439
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet