I am a complete beginner with Arduino. I have designed the project in which I want to control 24V DC motor with Arudino uno and L298N module.
I have drawn the basic wiring schematics that you can find on this link:
I haven't found any good free tools to design this schematics so it looks a bit weird, but it will serve its purpose for this thread. If you know any good free (or even better online) tools please let me know.
From what I understand. Motor needs 24V power supply and L298N logic works with up to 12V. Jumper has to be removed from L298N for that reason. Voltage drop for L298N is about 2V so at least 26V should be provided to power the motor correctly. Motor power supply + is connected to 12V L298N input, and motor power supply - is connected to the ground. Arduino UNO is powered from USB cable which provides 5V. 5V is working voltage for Arduino.
L298N can't use 24V from motor power supply because is's logic works on 5V and requires to be powered differently. That is why the 12V jumper is removed and by removing the jumper L298N 5V output pin is now turned into 5V input pin. For that reason, ground input on L298N is connected to ground output pin on Arduino UNO and 5V input pin on L298N is connected to 5V output pin on Arduino UNO.
I do not expect problems with the rest of connections. ENA input of L298N is connected to PWM 5 output on Arduino. IN1 and IN2 inputs of L298N are connected to 6 and 7 outputs on Arduino (6 is PWM and 7 is not).
Can somebody please tell me if my logic is correct?
Similar thing was done on other threa, but stepper motor was used on that project. Link:
This is the motor that will be used:
Thanks for your help.