Lab 1 Transistor:
The blink Sketch has not been achieved on the DC Motor. A guess here is that the Arduino hasn’t been designed to provide enough power to make the motor turn. Even though I have an external power supply, the blink sketch for the DC motor still needs a motor driver.
The LED has achieved. And I can’t change the speed of the motor according to the lab’s code, after I change the transistor pin from digital to analog, the potentiometer can control the speed of the dc motor. When the dc motor connects to the 12-volt DC wall adapter, the rotation speed increases.
With 3.3V With 12V
Lab 2 DC motors H-Bridge:
— Application with H-Bridge:
I want to use the potentiometer to control the speed of the DC motor. And I discovered that using the motor driver, I can vary the speed of the motor between 0 and the maximum, which means I can stop the rotation of the motor rather than just slowing it down. And I stick several colorful paperboards to it, it seems like a little fan.
Lab 3: Step Motor H-Bridge:
One Step At A Time:
Revolution:
It didn’t succeed. I still haven’t figured out the reason. I tried to swipe the two pins to each coil and swipe the wire of one coil to another, but it didn’t work.