Reader small image

You're reading from  Practical Python Programming for IoT

Product typeBook
Published inNov 2020
Reading LevelIntermediate
PublisherPackt
ISBN-139781838982461
Edition1st Edition
Languages
Right arrow

Connecting the stepper motor to the L293D circuit

To connect our stepper motor to our Raspberry Pi, we are going to reuse our L293D circuit, as shown in Figure 10.8 in the previous section. Here is what we need to do:

Figure 10.11 – 28BYJ-48 stepper motor wiring connection

The following steps match the numbering shown in Figure 10.11. Remember that we are starting with the circuit you completed previously in the section entitled Building the motor driver circuit and shown in Figure 10.8:

In steps 2 through 5, we will connect the stepper motor in our breadboard circuit. A suggestion is to use header pins (as pictured in Figure 10.10) to connect your motor to a run of vacant rows on your breadboard, and then connect the output wires from the L293D to the appropriate row matching the wire colors mentioned in the steps.
  1. If you have not done so already, disconnect the two DC motors from the existing circuit.
  2. Connect the orange wire...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Practical Python Programming for IoT
Published in: Nov 2020Publisher: PacktISBN-13: 9781838982461