520 is coming soon. As an excellent electronic engineer, how can you not prepare a gift for your girlfriend? So what I recommend to you this time is a two-color heart-shaped running water lamp based on the STC8G2K64S4 launched by stc company. You can design the specific lamp pattern yourself. The power supply is directly powered by the USB port. The program burning uses P3.0 P3. .1 The USB port that comes with the P3.2 microcontroller is used to control the download color through the four IO ports P4.1 P4.2 P4.3 P4.4, achieving independent control of the light and dark colors on the left and right sides P0 P1 P2 P3 has a total of 32 IO ports to control the changes of 32 LED lights. Each IO port can achieve PWM control to achieve the breathing light effect. Friends continue to explore more tricks. The remaining 9 IO ports are led out through terminals, and After connecting the button, you can connect it to other external ports, and you can also use the buttons to realize some of your own ideas and functions. I hope you can explore more ways to play together.
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