Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop SCM
Title: ww Download
 Description: * PWM controlled DC motor speed: * Be sure to find out the principles of the experiment, the experiment used two timer interrupts * In the forward output T0 interrupt output low, T1 output high, T0 time * Is scheduled to die, that is the output square wave length is constant, T1 given time * T0 interrupt program is determined, T1 time is always less than or equal to T0 * Time, T0 so that the output low fixed time intervals, T1, the output is high. * Reverse principle, similar * Fosc = 6M * Use a timer to control the duty cycle of the PWM wave variable * Press K1, PWM value increases, the duty cycle increases, the motor rotates faster * Press K2, PWM value decreases, the duty cycle decreases, the motor rotates slowly. * When the PWM value to maximum (255), or reduced to a minimum (1), the buzzer alarm. * Wiring: P10: K1 P11: K2 P30: 74LS02 5,6 feet 74LS02 4 feet to 3 feet * 74LS02 1 feet to DJ DC: J4 Speaker: J5 P31: SIN *
 Downloaders recently: [More information of uploader 李欣]
 To Search:
File list (Check if you may need any files):
 

直流电机控制电路(&&)\DCMotor
....................\DCMotor.c
....................\DCMotor.DSN
....................\DCMotor.hex
....................\DCMotor.lnp
....................\DCMotor.LST
....................\DCMotor.M51
....................\DCMotor.OBJ
....................\DCMotor.opt.bak
....................\DCMotor.plg
....................\DCMotor.PWI
....................\DCMotor.Uv2.bak
....................\DCMotor.uvopt
....................\DCMotor.uvproj
....................\DCMotor_Opt.Bak
....................\DCMotor_Uv2.Bak
....................\DCMotor_uvopt.bak
....................\Last Loaded DCMotor.DBK
直流电机控制电路(&&)
    

CodeBus www.codebus.net