Good day all,
First-time poster, long time lurker.
I've been playing with Arduino for some time now, and while code isnt a problem for me, understanding electronics and requirements of various components is where I'm not the best.
I'm currently trying to do a simple motor on-off circuit, using an Uno to test before moving it to a Nano for installation.
My trivial understanding of electric motors is voltages and current, and their supply/draw, and the basics of positive negative circuit flow. that's straight forward.
where I'm not sure, is a start kit diagram example, of driving a motor with a pot, however, as i read the diagram, I don't understand where the power is coming from (shouldn't it be coming from the +3.3v or +5v pins somewhere?
is the diagram correct? What about that diagram am i not understanding (it's using VIN (Voltage IN?)? isnt that backwards?
and on which pin in the linked example, would I flag the Arduino code for 'on-off as a code-based enable/disable action. eg, turn it on, turn it off.
Unfortunately, the kit does not specify the specifications of the motor, but i do have an additional 3v motor separate from the kit if that's any use.
At thened of the day, I've seen conflicting information about how to power motors directly from teh Arduino, and also referenced as best practice to power them externally, which again, i have no idea how to do.
Ultimately, im just trying to flick the motor on and off with the Arduino code and have the motor spin with a small offset weight to its output shaft as a birbration feedback example.
Thanks for taking the time to read this and any tips appreciated.
Cheers,
Dave.