Hello everyone, I have an original setup that works fine it's an IR breakbeam when signal is breaked it triggers the DC motors to turn for a certain amount of seconds. I cut 4 wires coming from the two DC motors and twisted the black ones together and twisted the red wires together and then twisted them to a male jumper wire and it works flawlessly. They're hobby DC motors so it only requires 3-4 volts each it's fine if they get messed up with use I have a lot.
Arduino and motor drivers are powered by the same kind of battery 9v 600 mah.
Was curious to see if an addition is possible this setup is created to fit in a confined small space so I'm trying to circumvent another Arduino and breadboard . So the wires connected to the in3 and in4 on the l298 will go to pin 9 and 10 on the Arduino , the same way I conjoined the DC motor wires is the same way I will do with the in3 and in4 wires on both l298's and plug them into pin 9 and 10 with male wires. Assuming this works I'm worried if the Arduino can handle the ground wire that will be coming from the other l298 it will be plugged into the side where the barrel jack is , the other l298 ground wire is in the opposite side and works fine. If I connect the ground wire to the Arduino will it be able to handle it and not destroy it?
A schematic would be less ambiguous than a written description or the photo. If a picture is worth a thousand words, a good schematic is worth a million.
The grounds from the L298 to the Uno do not carry motor current, just signal currents which are very small so you should be fine.
Thanks I'll learn how to make a schematic design for the future I guess I'm living up to my name noobhobbyist, any websites you suggest? And thanks for the fast reply will update on the success or failure was trying to verify that my Arduino won't explode.
Thanks to all three of you guys , I could've used a wiring diagram so people can concretely understand what is connected to what I'll learn to do that first since it's incredibly simple.
I agree with @Railroader, hand drawn, photographed and posted is fine. Just make sure to include all components, their pin numbers/names, all component part numbers and/or values and all power supplies.
Yes I too agreed with @Railroader, hand drawn, is fine. But kindly include all components, their pin numbers/names, all component part numbers and/or values and all power supplies.
So then your issue can resolve as soon as possible