DC Motor Control with an H-Bridge and Arduino (Lesson #17)

preview_player
Показать описание


0:00 introduction
1:52 H-bridge datasheet
2:56 breadboard layout
9:53 hard-coded motor behavior
13:06 controlling motor direction with buttons
15:25 controlling motor speed with a potentiometer

#STEM #sciencebuddies #arduino #electronics #programming
*******************************
Connect with Science Buddies:

Рекомендации по теме
Комментарии
Автор

Thanks for the video, now understanding the H bridge which is L293D incorporated in controlling a DC motor. Thank you very much.

chitobalazo
Автор

I don't have any words to thank you! Just can't express how helpful this video has been.

rubaiyatfoyez
Автор

your videos are amazing they are fun and infomativ. I finally understand everything thanks

CombatWombat-qw
Автор

Thanks for the video! Didn't know it's possible to test out arduino stuff in software. Will be useful especially when messing with batteries and condensers which can blow up.

whatsupbudbud
Автор

The one thing that you should teach students is that with a switch, you should always make/break the hot side, (the plus voltage side) and never switch the ground. This is a safety issue and if your students go out into the world they will be forced to always break the hot side. Therefore, one side of a switch should be wired to +Voltage, the other side of the switch should have a 10K ohm resistor to ground and the arduino digital pin is wired to the junction of the resistor and the switch. With this configuration the wiring meets the NEC in all 50-states. I know in the hobby world it doesn't matter, but you never know if your students are working, or will be working in industry.

skipsmessyworkbench
Автор

love this way of teaching those basics!

windrago
Автор

Absolutely fantastic video. I will be experimenting with doing this with Arduino Uno and also a PIC. Thank you!!!!

tedbastwock
Автор

Thank you very much. You explained a very complicated subject so perfectly ...I understand it now :)

max_imus
Автор

This video is great but I cant really wrap my head around how the motor is connected to the breadboard. I tried the code after putting everything in place, double checked the wires and it didnt work but idk if my motor is conected correctly. I also was wondering what arduino version you use.

atlas
Автор

Thanks, I've some questions:
Is hooking up 4 GND pins needed? They are for cooling, and the clamps in the board will cool them. The 6V input is also a single pin, and it has the same current going through.
Do you need to set the pins as output? As there are a bunch of power transistors in the IC, won't they work on the default low-power output? Or do they need full 20mA to trigger?
Can you set Tinkercad to put wires on top, now they dive under the IC which looks very weird.
Does a LEGO motor work the same? How to change speed/power in code?

lovemadeinjapan
Автор

Video is just great !, can you indicate what should be the value of potentiometer.

pankajagarwal
Автор

You mentioned that we weren't going to use a 2nd motor, if I wanted to use 2 motors how would I do that?

Sander-fxmb
Автор

Can you explain why do you need a common ground? 9:45

Dan-nmne
Автор

This helped me a lot in my project. Would be nice if you included the link to the project

sagetk
Автор

is it fine if a use a 9V Battey instead, or will it burn the circuit?

tromboneChamp-xuvs
Автор

awesome video, really helped me a lot! Just a question tho... couldnt this work wtihout arduino? just using a another supply instead of it? We would be using the buttons just for switching voltage to the input pins on L293D

brajlecz
Автор

Hey i know its late but can i ask a question, i followed your instruction step step and it works here's the question though my arduino is plugin to the computer as should be but the still motors run even though the external battery is not connected why is that?

YeahheheBoi
Автор

Wonderful vid ! I'm gonna use it to create a functioning RC-boat :D I do have a question though - In the previous video u showed that, when using a MOSFET instead of an H-Bridge, you gotta use a capacitor in order to reduce electric noise. Is it still necessary with an H-Bridge ? Would love to know bcs I'm applying an IR receiver to send the signal to the enable pin, so background noise will mess with the circuit/logic.

mr.biscuits
Автор

Sir,
I have exact same mini project.
but we have to use a 15 V supply
so which motor should I use And is there anything that I need to worry about?

ishtiiyak
Автор

Hi! I'm currently building machine, which will be using 4 separate dc motors with a wheel on each. Is it possible to connect 1st and 9th ports of L293 (speed regulators) to the single PMW so that both motors would have the same speed?

Кіріл-жг