I'm trying to follow this simple project but i can't go on. I tryed to make the circuit like this : https://learn.adafruit.com/adafruit-arduino-lesson-15-dc-motor-reversing/an-experiment
but my motor doesn't work.
This is a picture of my simple circuit.
Why it doesn't work?
That is a very bad tutorial, because it suggests that you can power a DC motor from the Arduino.
In 99 cases out of 100, either it won't work or it will damage the Arduino or other serious problems will arise. The Adafruit people should know better, but then their goal is to sell you stuff.
Always use a separate power supply for motors, and be sure to connect the Arduino and motor power supply grounds together.
What motor are you using?
Never power motors from the Arduino 5V rail, its likely to fail to work and even destroy the board. Separate
your motor and logic supplies.