It shows how to use a stepper motor, an easy way to rotate a camera, sensor and many other thing.
If we are building a security system or a robot we might need to rotate a camera, a sensor or any other component. Stepper motors are ideal for that.
A stepper motor is a brushless DC electric motor that divides a full rotation into a number of equal steps. https://en.wikipedia.org/wiki/Stepper_motor
Schematics
Diagram
Code
var uln2003Driver = new Uln2003Driver(26, 13, 6, 5); await uln2003Driver.TurnAsync(90, TurnDirection.Left);