Driver l298 in Proteus | Driver l298n | l298n arduino
Vložit
- čas přidán 8. 09. 2024
- Hello!!! In this video we will be driving a universal motor driver, l298 in Proteus.
----------------------------------------------------------------------------------
Subscribe to my channel.!!!
There will be many interesting projects.
----------------------------------------------------------------------------------
Put a like under the video.!!!
----------------------------------------------------------------------------------
My instagram
/ texacitcompany
----------------------------------------------------------------------------------
#driver #l298n #arduino #robotics #proteus #motor #arduinoproject
const int IN1 = 7;
const int IN2 = 6;
const int IN3 = 5;
const int IN4 = 4;
const int ENA = 10;
const int ENB = 9;
void setup() {
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
pinMode(IN3, OUTPUT);
pinMode(IN4, OUTPUT);
pinMode(ENA, OUTPUT);
pinMode(ENB, OUTPUT);
}
void loop() {
analogWrite(ENA, 250);
analogWrite(ENB, 250);
digitalWrite(IN1,HIGH);
digitalWrite(IN2,LOW);
digitalWrite(IN3,LOW);
digitalWrite(IN4,HIGH);
}
Good job.!!! Thank you.
Wah bhai kya gajab ka program tha
Thank you. I'm trying. 😊👍🤖⚡
Away from this subject which version of proteus u have because i find trouble with delay function in the simulation isn't respected
Yes, the Proteus program works differently in everyone. I have many additional updates and libraries installed on it.
But the program is very useful!
Thanks i have a programme but it doesn't loop can u help me
Is this simulation for the movements of stepper motors in a 3d printer ?
No. This is an example of DC motor control. But the l298n driver can also control a stepper motor.
If you want to make a 3D printer. For stepper motors, it is better to look for another driver with current regulation. 👍⚡😊
you havve libaray l298n ?
pleas shere here
Hey! For driver l298n. No need to install libraries. There, signals are simply set to the microcontroller, the input pin, and the output, which will control, like, 5 volts or 0.
If you are creating a ready-made large project for a robot or for radio control, then look for a library on github.
Happy to help.!
oke freands
Ну кодик мог конечно и вставтиь
all code in video
please I don't have the masse like have in circuit ?
Hello! Perhaps you have a different version of the Proteus program. You need to connect the microcontroller, driver and their power supply to the same ground.
where code
Hello.
The video has a simple driver control code.
The code is written from several lines, you can rewrite it from the video, there is a notepad file where everything is visible on pause.
Thanks for the comment!!!
Code
@@Shruthi-op7ji Hello! I did the project a long time ago. There is a normal code. You can find a sample code in the comment below my other video. L298 driver. They are similar.
@@Shruthi-op7ji With this video, the code is in the comments.