Raspberry Pi How to Control a DC Motor With an L298N Driver

preview_player
Показать описание
This video is about raspberry + L298N + DC Motor
How to control DC Motor with Raspberry Pi + L298N DC Motor driver

Python Script

:::::::::: SUPPORT CHANNEL ========

→ Don't forget to subscribe!

🌟Love you all! 💕
Рекомендации по теме
Комментарии
Автор

Very nice :) Working on a remote controlled robot to run some wires in the narrow crawlspace under my house, this will come in handy !

steveman
Автор

OMG, this is the first helpful tutorial I found! All the others were just badly explained or stupid to read.

THANK YOU VERY MUCH!

Stiev
Автор

Thank you!! -- I had to change line 15 value of 1000 to 100 and change line 25 raw_input to after that worked great!

vaulthunter
Автор

Thanks for the video! It would be helpful if you did a voice over explaining what was going on during the video instead of the music. But, hey, I got it working so thanks!

Lutfeydotcom
Автор

Great work :)
Is there a delay between the input and the execution, or is it just the recording?

kicosger
Автор

IF there is a raw_input error, just change the "raw_input" to "input"

lebigboi
Автор

Nice and clear tutorial. Could the same be achieved from Node Red?

jvtroyen
Автор

What are the red and black wires connected to the the motor? Mine came with no wires so I’m curious

Happytobehereee
Автор

Thanks for this, it helped me a loooot. Cheers from Montreal, CAN

rafaelmarchipucci
Автор

Hello, thanks for the video, it has been really helpful!! However, I'm struggling to understand what the "x='z' " is doing at the end of each if statement, can anyone explain this?

carasilvestro
Автор

Nice project! How did you power the L298N with the 3.3v power supply on the Raspberry Pi though? I thought it uses 5v.

hewiweng
Автор

This worked for me when changing 'raw input' to 'input()'....I could initially go forwards and backwards....but now, for some reason...I cannot get the motor to go in reverse! Please help!! Thanks

vaulthunter
Автор

Thank you, I will remember the name Maker Tutor when my robot is complete and I can finally take over the world! /j

jaf
Автор

The jga25-370 motor doesn`t drive backwards.

Micha-nixv
Автор

Looks great thanks for the tips are there any updates? Doesn't seem to work maybe there were updates from Pi or something gives an error: NameError: name 'raw_input' is not defined

joecotter
Автор

the motor is planted perpendicular to the axle. how is it spinning the axle?

ValFolarin
Автор

Hey, great video. But I have 1 doubt. Can we also control servo motor with this driver?

padmavathynarasareddygari
Автор

Спасибо тебе, теперь я наконец-то понял как подрубить этот драйвер движка)!Спасибо)))!!!

moya_mama
Автор

Can I use L298N driver with my personal computer

arcreations
Автор

hello it worked for one motor but how do i use the l298n driver when using two motors, , , please answer thanks

adelaarenas