-
Category : SCM
Tags :
- Update : 2014-04-25
- Size : 64kb
- Downloaded :0次
- Author :李***
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
* 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
*
Packet file list
(Preview for download)
直流电机控制电路(&&)\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
直流电机控制电路(&&)
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information