1140Views3Replies

Author Options:

how do I connect the Wemos D1 r2 to an L298n motor driver to control 2 DC mootors? Answered

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

The forums are retiring in 2021 and are now closed for new topics and comments.
0
Josehf Murchison
Josehf Murchison

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.

ICBridge 6b.png
0
huguens
huguens

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.

0
iceng
iceng

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.

l298.bmp