摘要
阐述基于STC-51单片机产生PWM信号的途径,介绍L298N控制直流电机的原理,给出系统的软、硬件组成,并讨论一种采用C语言编程的直流电机控制程序。运行试验表明,该速度控制系统简单稳定,满足直流电机的调速要求。
This paper describes the functions of PWM signal based on STC-51 single chip,introduces the theory of L298N to control DC motor.The software and hardware of the system are given and DC control motor programs developed by C language are discussed.Experiments explain that the system works stably and credibly,meets the demand of DC motor.
出处
《计算机与现代化》
2012年第4期45-47,共3页
Computer and Modernization