I am really confused. I have been trying to make a dc motor spin for a week without success.
I have watched a ton of youtube videos and read articles, but they are all complicating stuff...
I just want to turn my motor on for a second and then turn off for a second (repeatedly)
Right now, I am following this tutorial(Arduino - DC Motor)
There is an image attached, but it is basically the scheme on the tutorial's page.
I have:
One (working) dc motor
330 OM transistor
Arduino Uno
breadboard
a diode
a transistor? (s9015 c331)
The red wire is the 5v wire
The green wire is the pin wire(3rd pin, digital). It is hard to see in the pic, but there is a resistor between transistors base and the wire.
The blue wire is the ground wire
The white and yellow wires are for my motors + and -
The right-most side of the transistor is connected to diode(diode's cathode is in the correct direction)
please draw out your complete circuit so we can see how you've connected it up. Including power sources and connections
(Your meant to be doing the work - not us!)
Also, please use </> code tags to display your code...
Start good habits now, it will serve you well.
lastchancename:
please draw out your complete circuit so we can see how you've connected it up. Including power sources and connections
(Your meant to be doing the work - not us!)
Also, please use </> code tags to display your code...
Start good habits now, it will serve you well.
I am new to electronics, I am yet going to learn how to draw and read those schematics, but, there is a schematic on the tutorial page I included. I hope that helps
I just checked the kit I bought and it turns out I was supposed to have a npn transistor, a temperature sensor and a pnp transistor.
Unfortunately for me, I have got a pnp sensor and two temperature sensors
This probably answers my question here......
Many motors will take more current than the Arduino can safely deliver. You might get away with it now but if you ever put any load on the motor (i.e. use it to drive something) then you might find you've killed your Arduino.
The regulator should have a thermal switch, so if overheating it just switches off. In other words, it most likely simply stops working. No matter what, it's not a good idea.
It'a bit like most "instructables". If you use the precise motor that they're talking about, often one supplied in a kit, then you might well get away with it (though it's still a bad idea).
But once the information is out in the wider world you're asking for trouble. People, not unreasonably, think they can do the same thing with any old motor they've picked up and suddenly they're in real trouble.