Make sure that the wires are closer to the middle.Use the standoffs to hold the two motors together. If you have a 3D printer, clamp, helping hands or some spare parts you can design something a bit more stable. This is a quick way of putting together a rig that won't roll away while testing. You can buy the parts for this article by following my affiliate links to either Amazon or AliExpress: Part I'll provide a quick demo program so you can see how to run the motors through a predefined sequence. In the second part I will show you how to quickly wire up the driver to an Arduino. It should also give you ideas for very simple robot projects. This will give you a better understanding of how a motor driver works. In the first part I will show you how to control the driver without the need for a computer. Most motorized toys and many robot chassis kits use simple DC motors. In this tutorial I cover how to drive two DC (direct current) motors using an L298N motor driver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |