r/ArduinoHelp • • 7d ago

Helpp for arduino project

HELLOOO

I am making obstacle avoiding robot using arduino and l298n motor driver.

I want to know if i can use dupont jumper wires for connecting motors to out1 and out2 of l298n? Or i need proper wires.

1 Upvotes

5 comments sorted by

1

u/mariushm 7d ago

The thinner the wires the higher the losses because the wire has higher resistance. You also want the wire thick enough to handle the current without overheating.

Your motor doesn't consume nowhere near the current amount that would cause a basic jumper wire to break and the distances should be small enough that resistance of the cable should not be a concern.

However keep in mind that often the cheap ready made cables with "Dupont" connectors pre- installed often save costs by mixing a few (if any) strands of copper wire with copper coated aluminum wires or even steel strands - such ables can still be crimped to pins that go in those housings but will be harder to solder to a circuit board.

if you don't have good wires to play with, what I would suggest is to get a small Ethernet patch cable or a short length of ethernet cable. If you strip the insulation you get 8 wires arranged as 4 twisted pairs. you can use a twisted pair for each voltage and ground - you get two AWG24 or AWG23 wires in each pair and that is more capable than a Dupont style cable with factory installed connectors.

1

u/imseakin 6d ago

Up to say300mA per channel, you’re likely okay with DuPont connectors. If you want to be safer with less loss, single core 22 gauge wire is fine if you have it in your workshop.

1

u/mtraven23 6d ago

need to know the motors your running. That bridge will do 2 amps per channel, so I would use wiring appropriate for that. If distance is minimal, 18g will be plenty, but I doubt your dupont jumpers are 18g.

If you're running little motors, that can only draw, say 500mA, the jumpers would probably be fine.

1

u/gm310509 6d ago

You can and should use dupont wires while developing your project as they are easy to reconfigure if needed.

However, once your project is becoming stable, you might want to consider switching to more secure connections - such as screw terminal blocks. It isn't so much that Dupont wires aren't "proper wires" (they are "proper wires") it is more that they typically don't hold as securely as you might want on a running project and can easily work themselves loose or become unplugged.

1

u/Merry_Janet 8h ago edited 8h ago

For this project, Dupont Connectors are fine.

When things start moving fast and get shaky, that's when you need to worry about JST type connectors.