How do I use L298N motor driver with M5StickC
-
Hi
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?
-
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
-
@anuj01 Another alternative is to use the M5 official IO expander unit.
https://m5stack.com/collections/m5-unit/products/official-extend-serial-i-o-unit
M5StickC has an I2C grove port, and you can connect this unit to it. I have tested and it works. Good luck.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login