Using P110C to control 6 DC motors simultaneously
Source: InternetPublisher:黄土马家 Keywords: Motor Control Updated: 2024/11/13
In the figure below, the six PWM output ports (PWMO-PWM5) of PLLOC are used to drive six Darlington transistors, which in turn drive the motor (Ml-M6). The purpose of speed regulation is achieved by setting the duty cycle of the PWM output pulse. The smaller the PWM duty cycle, the lower the motor drive voltage and the lower the speed; the larger the PWM duty cycle, the higher the motor drive voltage and the higher the speed. The duty cycle setting value ranges from 000 to 255, and the duty cycle changes by 0.392157% for each change in a number. Taking the reverse polarity output as an example, when the setting value is 000, the duty cycle is 0% and the output voltage is 0; when the setting value is 128, the duty cycle is 50%, and the output voltage is half of the supply voltage; when the setting value is 255, the duty cycle is 100%, and the output voltage is the highest.
The following introduces the program by taking the control of M1 motor as an example.
Example:
CWFl=3 (set the frequency of the P/F clock generator to: 245Hz)
PWM2=ON:O (activate PWM, set PWM to reverse polarity output)
PWM2=128 (set PWM output duty cycle to 50%)
- Controlling LEDs with Node-RED in Raspberry Pi
- How to set up a cheap beam break sensor control distance scene using a reflector
- Motor automatic cycle control circuit
- JDB-LQ-TQ/2 motor full voltage starting circuit
- Motor control circuit for starting and running without phase loss
- Design and analysis of wire control circuit
- Design and analysis of the principle of automatic power-off switch during power outage
- Design and analysis of touch delay switch circuit composed of CD4011 and CD4001
- Amplitude and phase detection leakage protection device designed and manufactured using PIC16C711A
- Home wireless burglar alarm circuit
- Electromagnet control circuit
- Table printing machine control circuit
- High-rise residential walkway lighting control circuit
- PLC chain alarm control circuit used in production process
- PLC light source robot hand bubble control circuit
- Haier KFR-25GW air conditioner control circuit schematic diagram
- Forward and reverse control circuit of micro DC motor a
- audio signal control circuit
- Typical electronic volume control circuit
- 35W half-wave resistor-capacitor phase-shift trigger actuation control circuit