红水杯

How can an electronic engineer not prepare a gift for his girlfriend?

 
Overview

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.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-23 10:51:03

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号