Can I plug the INA and INB in the fan motor to the OUT3 and OUT4 pins of the L298N to control PWM?
Please read and use the topic "How to get the best out of this forum.
Probably not, that fan motor board already has an IC chip of some kind on it, this chip probably lets the fan motor be driven simply by sending a low current logic signal to either InA or INB and draws itws power from the fan board's VCC pin. If this was a lone motor, rather than one on a pre-built board, then the L298's outputs would be the right way to go (subject to giving the L298 the right motor power voltage and subject to the motor not drawing more stall current than the L298 can supply, this style of motor definitely won't draw that much current).
I'm running my fan motor on 5V right now, and it works, but when I connect my 6v battery pack, it doesn't work.
Please post a wiring diagram and photos showing your wiring.
You must connect the battery pack ground to the Arduino as well as the motor driver ground.
I feel like you wouldn't have to put anything on the arduino, because I'm controlling it with ina and inb pins in the fan motor. Also, I'm not powering the Arduino with batteries, but a usb.
Unless you modified the battery pack, you need all 4 batteries installed. Do you have a DMM (Digital Multi Meter)? What is the measured output voltage from the battery pack?
I can not decipher your wiring from the photos. Please post a schematic or wiring diagram. Hand drawn, photographed and posted is fine. Include all pin names/numbers, components, their part numbers and/or values and power supplies.
The grounds have to be connected.
How do i connect 2 wires in one pin?
Yes, it should.
Please verify that the voltage of your battery pack really is so high. You only have shown 3 batteries of 4 required. That would mean 0 V output.
The L298N will consume up to 4V, leaving not really much voltage for your motor. Remember that I suggested to use a more modern driver.
Hey, it actually works! I'm wondering if I can control the speed of the motor because my motor driver gets hot after a while...
No wonder, you have been warned several times already.
Is there a way to decrease the speed?
Use a PWM signal for INA or INB.
Can I create PWM signals without any PWM pins like Enable A and Enable B?
PWM capable pins are only required on the Arduino.







