eCaNj1Sn

Microcontroller-minimum system design based on 51

 
Overview

Design a minimal system using 51 chips.
This is the actual picture:
There is no typeC interface, so it has not been soldered yet. During the soldering process, I found that the capacitor under the chip was a little outside, so I needed to move it inward.
![WeChat picture_20230516080029.jpg] ![WeChat picture_20230516074853.jpg]
Light up the LED. When burning, you must cold start, that is, cut off the power, in order to burn successfully.
Source program:
#include

void Delay500ms() //@11.0592MHz
{
unsigned char i, j, k;

i = 22;
j = 3;
k = 227;
do
{
do
{
while (--k);
} while (- -j);
} while (--i);
}

void main()
{
while(1)
{
P2=0xFE;
Delay500ms();
P2=0xFF;
Delay500ms();
}


}
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 04:07:09

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号