1. Use the microcontroller stc89C52 to design a heart-shaped running water lamp.
2** , design circuit diagram, pcb diagram, etc.**
3. The LED adopts colorful fast and slow flashing alternating LEDs.
4. This design mainly includes the 51 microcontroller minimum system (reset circuit + crystal oscillator circuit), power supply part and LED part.
5. There are multiple modes of LED changing effects. The flowing effects have been packaged in the program and can be called separately. 6. A UART serial port programming interface is reserved on the board, which is more convenient for debugging effects.
7. The program starts running when the power is turned on. After the entire process is completed, the initial effect is re-executed.
After the welding is completed, the programming program is tested and the function is normal. Note: The maximum voltage of the DC power input port should not exceed 6V, preferably around 5V, otherwise the microcontroller may be burned.
Program link: http://www.51hei.com/bbs/forum.php?mod=attachment&aid=MTUzMzkxfGIxYTI1M2NlfDE1Nzc0MjQ2NzF8MTYzMTUzfDE0MTA1Mw%3D%3D
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