Need help getting two DC motors to operate with a uno R3 and an l293d chip

Hi,

I've been trying to get these two DC motors to go for around a week now, but can't seem to get them to move the way I want.

I've been having issues with some of my L293d chips not working on the input 1 side (hence using two chips to control two motors). I've tried lots of different combinations but currently having no luck with getting my two motors to move at all.

The LEDs you can see indicate if in3 or in4 is high or low and these LEDs are working fine but the motors still aren't working.

I believe I have my motor set up on the board as that schematic shows but for some reason it's not working.

For some more detail I am using a L293d chip with a ic 16 pin socket, a 12V power supply (8xAA batteries), two 12V DC motors, an arduino uno R3, jumper cables and capitors to even out the voltage.

I'm not sure what the issue is and any help would be great appreciated. This is my first electronics project and I am trying to make a robotic arm but I can seem to get these motors to work.

Does you DVM show all the 12 volts are there where they should be?

1 Like

Nice picture of colored wires but not much use to me in finding your problem. Post an annotated schematic, you will get a better answer. The L293 is an obsolete part, I recommend you start over with a part that has MOSFET outputs. This part has a a bypolar transistor in each leg causing approximately a 3V drop to the motor which is burnt as heat.

Guidelines for Effective Troubleshooting:

Posting an annotated schematic of your circuit is crucial for us to help you effectively. Your schematic should clearly show all connections, power sources, components, and ground connections. Highlight any logic wires longer than 10 inches (25 cm), and provide links to technical information for all hardware components, including motors, shields, and Arduinos. Be sure to include component values, model numbers, and details of all power supplies (e.g., USB power). Posting your code using the forum’s code tags will also be very helpful.

Why This Matters:

Many issues arise from connection or power problems that could be easily identified with a well-drawn schematic and proper technical information. Often, users without schematics spend time troubleshooting through trial and error, which can be frustrating and time-consuming. When a detailed schematic is provided, solutions are often found within a day.

Creating Schematics:

  • What to Include: Show all connections, highlight any potential issues (like long wires), and provide links to component datasheets or technical documentation. This helps us understand your setup and diagnose problems quickly.

  • Acceptable Formats: Hand-drawn schematics are fine as long as they are clear and readable. High-quality photos of your circuit can also be helpful.

  • Schematic Capture Software: Tools like KiCad are popular for creating schematics. KiCad is free and works on Linux, macOS, and Windows. It has a learning curve, but many free online resources can help you get started. KiCad also includes features like a 3D viewer and an integrated SPICE simulator for verifying designs.

Helpful Resources on Schematics:

Tips for Using KiCad or Similar Tools:

  1. Start Simple: Begin with small designs to get comfortable with the tool.

  2. Customize Components: If you can’t find a specific part, edit existing components to fit your needs.

  3. Verification: Use the SPICE simulator and electrical rules checker in KiCad to validate your designs.

For more information and downloads, visit KiCad's Official Site.

Providing a complete schematic with detailed technical links will make troubleshooting easier and faster, helping you find solutions efficiently. Let us know how we can assist further!

2 Likes

What size are the motors? Can the driver even handle them without burning up? Can the breadboard handle them without burning up?

Can you post more details about the components and setup?

And an edit since we haven't seen any code... Are you setting the enable pin to HIGH and then pulsing the direction pin? Or setting the PWM pin HIGH and pulsing the enable pin?

Show us some code please.