Then connect the Raspberry Pi’s GPIO pins number 17, 27, 22 and 18 to L293D input pins IN1, IN2, IN3 and IN4, respectively. Then connect the Raspberry Pi’s pin to the extension board: start by connecting 5V pin to L293D’s VCC pin (red), and ground pin to L293D’s GND pin (black). These batteries are used to run the motors. Connect also the battery holder to the same side as the motors: black wire goes to the GND and red wire to VIN. ![]() First, connect the motor wires to the L293D motor driver board, as seen in the image above. Something to attach the parts to the bot (Tape, zip ties, double sided tape etc.)Īlso you might need to have soldering equipment to attach the wires into the DC motors. We used this () on which comes in a convenient expansion board, but a separate chip + breadboard works as well, check the end of this tutorialĪ robot chassis, that includes 2x wheels, 2x dc motors, body, front wheel and 4xAA battery holder
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |