王达业

Touch desk lamp design based on ATMEGA328P

 
Overview

Lichuang EDA Summer Training Camp Encouragement Award

Touch desk lamp design based on ATMEGA328P

After half a month of training at Lichuang EDA Summer Training Camp, I like PCB design even more, and I have regained the happiness I had when I was in school. The teachers of Lichuang EDA team are more serious in guiding and teaching students. I am honored to participate in this summer training. I have been away from campus for many years. This is the first time I have participated in this kind of public welfare training. I am very happy to learn so much knowledge. I hope to participate in more technical training of this kind in the future and apply what I have learned. Once again, the Lichuang EDA team would like to say thank you to all our hard-working lecturers.

Function description:

Plug in the 5V power supply, and the marquee effect will turn into a rainbow light effect as a power-on self-test. After five seconds, LED09 enters a slightly bright state as a standby indication.

Press the ON/OFF button, all RGB lights will display white with a brightness value of 220 and be used as lighting. + - keys can adjust the RGB white display brightness value from 0-255. Press the ON/OFF button again, and the RGB light will complete a circle with a marquee effect and enter the breathing light standby state to wait for the next start.

The remote control can be used to switch between various programmed marquees, breathing lights, rainbow lights, and various single-color lighting effects. When necessary, it can be used to remotely switch lights on and off, and switch lights on and off regularly. Other functions need to be developed...

In order to prevent short circuit damage to the power supply USB, a self-restoring fuse resistor is connected in series to the USB power supply line. To prevent interference, the USB signal lines and serial port signal lines are routed in differential pairs, and the bottoms of the two chip clock crystals are cleared. The clock is dealt with all around.

Note: Due to my limited knowledge, I am an electronics enthusiast, not a professional. The above remarks are personal opinions. If there are any mistakes, I welcome criticism and correction. I have just learned microcontroller programming and am a novice. There may be bugs in the program, so I will not upload it. Misleading everyone.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-14 16:50:26

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号