Stepper motors
A stepper motor is the most commonly used motor in line manufacturing production units and industrial applications. It provides precision with angular motion and torque. We will use the 28BYJ-48 stepper motor for this example. This type of motor includes two main components. The stators are magnetic coils that create an electromagnetic field, and the rotor is a metal shaft that rotates based on the electric field generated:
Figure 7.11 – Connecting a stepper motor to the Micro:bit
As shown in Figure 7.11, a Micro:bit board is connected to the stepper motor through a driver. A 9V battery is connected to the driver circuit to produce driving power, and the five pins of the stepper motor are connected to the driver board. As we can see, the stepper motor is connected to the Micro:bit through the driver board. It is important to understand the core functionality of the driver circuit. ULN2003A has a pair of Darlington transistors that help...