![]() ![]() ![]() This mode alternates between driving the motor and disenabling the H-bridge (coasting). It is a variation of sign-magnitude and is called by many names. The Drive/Coast Mode is the most common found connection method for the L298N when searching the internet on how to use the L298N on small robots. The Inputs / Output logic table for the L298N: PIN The symbolic circuit for one of the L298N’s two H-bridges is shown below and will be used for the rest of the article. The L298N uses NPN bipolar transistors for the H-bridge. The L298N integrated circuit surrounds the four transistor H-bridge with control circuitry that makes it easy to use and protects the H-bridge from damage such as shoot-through. Each H-bridge can control one DC brushed motor. It has a maximum current specification of 2.0 A per channel with a peak current of 3.0 A per channel (from STI spec sheet). It is widely used on small inexpensive hobbyist robots. The L298N is a dual H-bridge chip often packaged nicely on a PCB module. ![]() Code examples will be for the Arduino Uno (or with small modifications the Mega2560). This article discusses how to connect the L298 motor driver in three modes: drive/coast, sign-magnitude, and lock anti-phase. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |