user58429: 
I have connected pin 3 to a DC motor and using analogWrite and DigitalWrite to try making it start. However, nothing happens. 
If I try to move the pin from pin 3 to 5V or 3.3V the motor starts. 

Q: What could be the problem since it does not start using pin 3 (or others). I am using HIGH on digitalWrite and 255 on analogWrite.

I just bought a starter kit. It has FREENOVE written on it. 
Here is a link to the tutorial and software.

Thanks for any help!

user15684: The digital/analog pins cannot directly source enough current to run a motor. Use the pin to control a switching device like a mosfet which then controls current flow to the motor.

user37523: The Tutorial.pdf document that describes the components in the kit does not tell you what the current draw of the motor is. Chapter 10 has 2 tutorials on how to use the motor with a relay or L293D IC. This suggests to me that the motor draws a lot more current than a digital output can provide.
The tutorial using the L293D gives you the ability to vary the speed of the motor using PWM, so it would be a good place to start.
Hopefully pin 3 was not damaged by the excess current flow when the motor was attempted to be powered from it.

58429: <ol>
<li><p>I have connected <code>pin 3</code> to a DC motor and using <code>analogWrite</code> and <code>DigitalWrite</code> to try making it start. However, nothing happens. </p></li>
<li><p>If I try to move the pin from <code>pin 3</code> to <code>5V</code> or <code>3.3V</code> the motor starts. </p></li>
</ol>

<p><strong>Q:</strong> What could be the problem since it does not start using pin 3 (or others). I am using <code>HIGH</code> on <code>digitalWrite</code> and <code>255</code> on <code>analogWrite</code>.</p>

<ul>
<li><p>I just bought a starter kit. <a href="https://www.ebay.com/itm/Freenove-Ultimate-Starter-Kit-with-UNO-R3-Arduino-Compatible-Breadboard/302057861688?hash=item46540d3238" rel="nofollow noreferrer">It has FREENOVE written on it</a>. </p></li>
<li><p>Here is a link to the <a href="https://git.io/fj8Jq" rel="nofollow noreferrer">tutorial and software</a>.</p></li>
</ul>

<p>Thanks for any help!</p>
 15684: <p>The digital/analog pins cannot directly source enough current to run a motor. Use the pin to control a switching device like a mosfet which then controls current flow to the motor.</p>
 37523: <p>The Tutorial.pdf document that describes the components in the kit does not tell you what the current draw of the motor is. Chapter 10 has 2 tutorials on how to use the motor with a relay or L293D IC. This suggests to me that the motor draws a lot more current than a digital output can provide.</p>

<p>The tutorial using the L293D gives you the ability to vary the speed of the motor using PWM, so it would be a good place to start.</p>

<p>Hopefully pin 3 was not damaged by the excess current flow when the motor was attempted to be powered from it.</p>
