Here are my Arduino homework videos for this week. I think i’m getting used to working with the Arduino board now and enjoy seeing how the lights turn on. Also, soldering is getting better.
Placing the diode and transistor in the right place was a bit confusing. So is the diode being used to control the voltage of the motor? It seems like it’s being used to allow current to move through it in one direction. Why does it connect to the power, not the ground, while the other end of the motor also connects to the ground?
The diode prevents the transistor from dumping any blowback voltage anywhere it shouldn’t (something motors are prone to doing).