RxB5e2Ag

51 microcontroller PWM fan (with fully automatic microcontroller programmer)

 
Overview
I've been wanting to make a bedside fan with a timer function lately, and I finally had some time to do it. While going through my materials, I discovered I had a lot of unused 51 microcontrollers, so I decided to put them to good use and designed and built this universal fan motherboard.
Input voltage: 9-25VDC;
Input current: 1-10A (high current requires a heatsink);
Speed ​​control: PWM adjustment
; Programming required: Yes; 
Infrared remote control supported: Yes;
Timer off function: Yes.
Below are pictures showing the construction process.
Below is a test video link
: https://www.bilibili.com/video/BV1PSareYEWq?t=283.8. Below is a
description of the motherboard's functions
. In addition to the functions mentioned above, this motherboard supports a maximum timer function of 60 minutes. It can also be used for transformer winding machine production.
Below are the button definitions.
Below is an introduction to the features of the fully automatic programmer:
Traditional CH340 programmers require manually powering off and then on the microcontroller to burn code, which is not only cumbersome for debugging but also for batch burning. Therefore, I designed this programmer, which is very convenient. Featuring a Type-C interface, there's no need to worry about insufficient cable length, making it very user-friendly for desktop users. No driver downloads are required; it's plug-and-play. It's compatible not only with 51 microcontrollers but also with other microcontrollers (such as STM32) that support serial programming.
 
Below is the code description;
the code includes corresponding comments. The
main program includes
Timer 1,
digital tube driver,
buzzer driver,
  infrared remote control,
infrared button address,
motor driver,
and external interrupt.
Except for the programming jumper, all other flying wire bugs in this project are fixed in the project files, so you can confidently replicate it.
Finally, happy DIY!
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-28 18:58:44

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号