How do I use L298N motor driver with M5StickC
anuj01 last edited by
I think to control two DC motors using L298N motor driver I need at least 3 GPIO pins per motor.
So is it possible to use L298N driver with M5StickC?
RussNelson last edited by
Yes and no. You would need more output pins, so you would need an I2C I/O pin expander. Like this: https://datasheets.maximintegrated.com/en/ds/MAX7328-MAX7329.pdf
liemph last edited by
@anuj01 Another alternative is to use the M5 official IO expander unit.
M5StickC has an I2C grove port, and you can connect this unit to it. I have tested and it works. Good luck.