r/arduino • • Oct 16 '26

Software Help Beginner Question

How come in Paul McWhorter’s video, the H-bridge doesn't have any pins connected from the Arduino's 5V to Pin 16 of the H-drive, yet when I follow his guidelines in Tinkercad, the H-drive always explodes while his doesn't? I found this online tutorial because someone on Reddit recommended it to me. Hoping for some kind feedback!"

Link: https://toptechboy.com/arduino-tutorial-40-controlling-dc-motor-speed-and-direction-with-pushbuttons/

3 Upvotes

14 comments sorted by

3

u/RabbitInRabbitHole Oct 16 '26 edited Oct 16 '26

his videos are actually great. the schematic on the site looks correct. did u follow that?

3

u/Head-Whole5462 Oct 16 '26 edited Oct 16 '26

Yes I followed the circuit but schematics I still confuse on reading schematics

3

u/RabbitInRabbitHole Oct 16 '26

u need to work on that if u want to proceed with this stuff, right? what's the part that looks confusing?

2

u/Head-Whole5462 Oct 16 '26

Schematics are hard to read for me right now so many lines.. But circuit I can follow it

4

u/RabbitInRabbitHole Oct 16 '26

u mean why vcc1 bas no connection? vcc2 on the left only supplies to the left bridges. vcc1 only supplies to the righ side ones. if u use the left ones u dont need pin 16 to ge connect.

i see a bigger problem. pin 16 if high current input power supply terminal. if u place arduino 5v to it it will draw way more current than arduino can supply without killing itself.

1

u/euleerrrr Oct 18 '26

Pin 16 on the L293D is VCC1, the logic supply - it must be connected to 5V or the chip has no power for its control side. In Paul's circuit it is connected; it goes to the 5V rail on the breadboard, which is easy to miss if you're not used to reading schematics yet.

The pin most people mix it up with is pin 8 (VCC2), which is the MOTOR supply. The two are separate on purpose: pin 16 = 5V for the logic, pin 8 = whatever voltage your motor wants.

Hold the chip with the notch facing up. Left column top to bottom is pins 1-8, right column bottom to top is 9-16. So pin 16 is the top-right corner, pin 8 is the bottom-right corner. If you accidentally feed the motor voltage into pin 16, or wire pin 8 to 5V and an output straight to a motor that's also tied to a rail, the simulator shows the chip exploding - that's Tinkercad telling you the part is over its current limit.

So: pin 16 to 5V, pin 8 to motor power, grounds all common (Arduino GND, chip GND pins 4/5/12/13, and the motor supply GND tied together), motor between two outputs of the same side. If it still pops after that, post a screenshot of your Tinkercad wiring and it's usually obvious in five seconds.

1

u/Head-Whole5462 Oct 19 '26

Hi, try open the link and here is the picture on their website no pins connected to the pin 16.

1

u/Head-Whole5462 Oct 19 '26

Im not trying to be an expert cause im new to this I posted this so to know the truth if I need to use the 16th pin or not I watch the youtube video and copied it o tinkercad but it didn't work thats why Im confuse

1

u/euleerrrr Oct 19 '26

straight answer: yes, pin 16 needs 5v, the chip is dead without it. if the picture really shows it unconnected then either the wire runs to the top power rail and its hard to spot, or the picture is just wrong - the datasheet doesnt care what the picture says lol. for the tinkercad explosion the usual suspect is motor power going to the wrong pin: pin 16 = arduino 5v only, pin 8 = motor supply, and every ground tied together. if it still pops after that post a screenshot of the wiring

1

u/Head-Whole5462 Oct 19 '26

That question is if I nedd to connect the arduino to the 16th pin.. Maybe try open the link and watch the yotube video cause I was confuse how the arduino works in real life but on the simulation on tinkercad it required the 16th pin.

The youtube video carefully hooking the pins up the 16th pin and 5th pin grnd didn't hooked up.. Thank you for the comment tho but I think to be safe I must use the 16th pin even just using 1 dc motor

1

u/euleerrrr Oct 19 '26

yep thats the right call, pin 16 always goes to 5v. one small thing tho - the arduino doesnt connect TO pin 16, pin 16 just needs 5v (the arduinos 5v pin is fine for that). the arduino digital pins go to the input pins 2 and 7 (10 and 15 for the other side) plus the enable pin. and about pin 5 - pins 4, 5, 12 and 13 are all ground, hook them all up even if the video skipped it, they double as the chips heatsink. tinkercad sometimes lets you get away with missing grounds, real hardware wont

1

u/earl_4991 Oct 17 '26

On the L293D, pin 16 (VCC1) powers the chip's logic and should go to 5V. Pin 8 (VCC2) is the motor supply. In Tinkercad, the chip "exploding" usually means a supply is connected to the wrong pin, the voltage is too high, or the grounds aren't shared. Make sure the middle ground pins (4, 5, 12, 13) go to the same ground as the Arduino and the motor supply. It may also be that pin 16 is wired in the video but hidden behind another wire.

1

u/[deleted] Oct 16 '26

[removed] — view removed comment

1

u/arduino-ModTeam Oct 17 '26

Your post was removed as this community discourages low quality and low effort content. Please put in a little more effort.

In this case describe how your google image search answers the question - because I don't see it.