You will need to determine the A, A, B and B wires. With our example motor these are red, green, yellow and blue. Now lets get the wiring done. Stepper motors are everywhere in electronics these days. There are two main types of stepper motors 1. Bipolar motors. These have two coils and are controlled by. DC Motor Control using AVR. Hello guys. In the field of robotics, we use different types of motors DC motors mostly geared, servo motors, stepper motors, etc. DC motor controllers and accessories for control of motors from USB, logiclevel serial, analog voltage and hobby radio control RC systems. Inspect your work. Clean any solder bridges and suspect solders. Stepper Driver Boards. Jumpers need to be installed under each stepper driver jumper YesNo step. Interfacing with Hardware. These topics cover the hardware and software setup required to connect an Arduino device with a variety of electronic parts, chips and devices. Connect the A, A, B and B wires from the stepper motor to the module connections 1, 2, 1. Place the jumpers included with the L2. N module over the pairs at module points 7 and 1. Then connect the power supply as required to points 4 positive and 5 negativeGND. Once again if your stepper motors power supply is less than 1. V, fit the jumper to the module at point 3 which gives you a neat 5. V power supply for your Arduino. Next, connect L2. N module pins IN1, IN2, IN3 and IN4 to Arduino digital pins D8, D9, D1. D1. 1 respectively. Finally, connect Arduino GND to point 5 on the module, and Arduino 5. V to point 6 if sourcing 5. V from the module. Controlling the stepper motor from your sketches is very simple, thanks to the Stepper Arduino library included with the Arduino IDE as standard. To demonstrate your motor, simply load the stepperone. Revolution sketch that is included with the Stepper library. To find this, click the File Examples Stepper menu in the Arduino IDE. Finally, check the value forconst int steps. Per. Revolution 2. RPM in the following line my. Stepper. set. Speed6. Now you can save and upload the sketch, which will send your stepper motor around one revolution, then back again. This is achieved with the functionlt p my. Stepper. stepsteps. Per. Revolution for clockwise lt p lt pmy. Stepper. step steps. Per. Revolution for anti clockwise. Finally, a quick demonstration of our test hardware is shown in the video on this step. Citrix Xenapp License File. So there you have it, an easy an inexpensive way to control motors with your Arduino or compatible board. And if you enjoyed this article, or want to introduce someone else to the interesting world of Arduino check out my book now in a fourth printing Arduino Workshop.