This power supply module has two ports, marked "12V input" drive power is a power input, the power supply may be a range of 7-46V,
General 12V power supply will be able to meet most of our DIY needs. Marked "5V output may then" is a logic power supply,
When we "onboard 5V output enable" the jumper connected, external power supply, such as power to the microcontroller or each sensor;
If the power of the drive power input exceeds 12V, the best of our jumper removed, the interfaces to the power supply from the outside.
Marked "single-chip IO Control Input" IN1, IN2, IN3, IN4 is used to control signals, can be connected directly to the microcontroller I / O port
. Finally, marked "A motor output, the motor output of B 'it is connected to the motor.
Look at the corresponding logical FIG.
I make the default channel is capable jumper connection, EN = 1 has been set up, control the speed of time was then required for PWM control IN1 and IN2 ;
If the disconnect jumper , needed to enable port I connected to the microcontroller / O interface to control the high and low level , the PWM control can EN speed,
However, this speed is also futile, or about the rotational speed is not the same, accurate transmission please Baidu the PID;
The most important thing! ! !
The most important thing! ! !
The most important thing! ! !
If the microcontroller and L298N different power-driven, both must be connected to the GND together