Arduino Tutorial #6: DC Motors

preview_player
Показать описание
In this tutorial, we learn about transistors, diodes (non-light emitting!), and pull-up resistors as we power a DC motor.

Link to code:

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

Great explanation on several topics. Very nicely done. Thank you.

tbrandx
Автор

Hey, i noticed you may have connected the wires wrong in the program. Pin 13 is connected to npn instead of the button and the same thing goes with pin 12 which is connected to the button instead of the npn.
This might create some confusion, because you did the opposite on the breadboard, you connected de pin 13(Input) to the button and the pin 12(Output) to the npn.

rikaxxs
Автор

I'm a super newbie at arduino, and this was very useful for me. Thank you!

SarahGarlandShanmugam
Автор

Hello Mr. Kevin, maybe you remember menor maby not, when you came to Mexico you teached in Escuela Sierra Nevada and in your first year I was one of your students. I loved your class so much, being third grade one of the most memorable school years ever. I remember we filmed a movie in my group called the treasure hunt. You uploaded it to the website we had called thirdgradeisawesome.com but now that webpage does not exist, I was wondering if by any chance you still have the movies we filmed. I hope you remember me and can respond to this comment.

aleaguirrep.
Автор

These are great! Will there be more of these lessons, like learning about LCD screens, and keypads?

thedarkangel
Автор

Guys, I need the link to this Arduino and breadboard code editor that Kevin used. Could someone give me the link to it?

aaronjerry
Автор

Hi people, great tutorial, but i am having some troubles (sorry I am new with arduino)
i am using a transistor PN2222 and it is getting pretty pretty hot and the motor does not turn on.
could you give me some recommendations? Thanks for your help

m.schumacher
Автор

so it works when i put a light where the motor should be, but the motor won't turn on, any ideas as to why?

Jlaubster
Автор

Can you do a video of JavaScript (if you know JavaScript). Thanks!

bennguyen
Автор

I had everything set up, but the 1k resistor was too much. The transistor wasn't getting switched on. I tried a couple of 220 resistors in a series, but still too much. I even tried just one 220, still too much. It would receive signal until I took out the resistor from the output pin. I just hope I am not damaging the pin.

dianagillam
Автор

woudn't the current just skid the diode and go to the ground?

matsmaakt
Автор

Can I use touch sensor instead of button?

Maria-gdlt
Автор

i cannot achieve the code can you please share it again?

muratcanhabire