1140Views3Replies
how do I connect the Wemos D1 r2 to an L298n motor driver to control 2 DC mootors?
Hi , I'm new and I'm looking for help to see how we can wire a Wemos d1 r2 and L298n motor driver. My objective is to control 2 DC motors with Blynk. I will really appreciate anyone's answer or sketch or link to help me out.
thanks
Discussions
4 years ago
This is the same kind of IC.
You can get the datasheets here to make sure you get the pin outs right.
http://www.maxim4u.com/
This Arduino circuit should do you for the wiring.
Answer 4 years ago
the problem is on the l298n the pins Ena, n1,n2, Enb, n3,n4 do not work with the digital pins when they are connect to the Wemos D1.
4 years ago
This is half of the L298...
C & D are tied to uP logic outputs. Start with V_enable tied to logic Vcc, later you can tie it to a 3d logic pin if you want no power spin down.
Be sure to click the pic to see the whole image.