Você está na página 1de 2

STC89S51

SPWM
PWMSPWMSTC89S51KeilCProteus

STC89S51PWM


C=22F,L=10mH 3
3.PWM
( PWM
)


PWM
PWMSPWM

4.
STC89S51
USB
DS1302LCD1602
LCD12864_TFT2.46
nRF905AD/DA 1
(JRC) IR1838ISP18B02
2020 5V32I/ORS232
1%2050 24C024X4
20%210050% I/OP1.0
PWM

1 1.Proteus
2 ProtuesLabcenter electronics

3
2005 8051HC11PIC10/12/16/18/24/30/
DsPIC33AVR8086MSP4302010 2 Proteus
CortexDSP
IAR
2014 MATLAB
815 2.KeilVision2Proteus ISIS
2013
10GW122%
(1)Keil uVision
project*.uv2(2)ADD
FILES TO GROUPsource group 1
(3)
.*hex(4)Protues
() ISIS(5) 3
(3)*.hexprogram
file
IRF830A
1. 1.(1)
(2)PWM
(3)STC89S51
SPWMP1.0(4)

2.
2. (1)
P1.0V1
1

(2)
2 4 HL-1
STC89S51PWM Proteus ISISKeilCC STC89S51
ON HEX ProteusKeilC
OFF STC89S51P1.0
LC SPWM(/)

-34-

(1)(2)
(3)

1.
3.
3.1

10kV/0.4kV ()



l0kV mH
mH



Emtp/Atp
1% 3.3
DL/T499-2001
4 100kVA10
4 10
10

4-10
1


4.
2. 10kA
22kV80%
(1)


40kA


3.2

(2)



(3)
/
410






main() {PCON=PCON|0X01;}
{
TMOD=0X01; void timer0()interrupt 1 using 2
#include<stdio.h> IE=0X82; {port=~port;i++;
#include<reg51.h> port=1; if(i==200)i=0;
sbit port=P1^0; m0=led[i]; m=led[i];
unsigned char data m; TL0=256-m;TH0=0XFF; TL0=256-m;TH0=0XFF;
unsigned int data i=0; TR0=1;
unsigned char code led[200]={}; while(1) }

-35-

Você também pode gostar