i wasn't sure if I should post this here or in the motors forum, so if anyone thinks its in the wrong spot, please let me know
I've been researching the L298N dual H bridge motor controller as I am trying to incorporate it into a project I'm working on and I was hoping somebody could clear up a couple of questions for me. There seem to be a lot of posts and articles and information out there, but some of it appears to be contradictory to me (Extremely new and not trained in any of this)... specifically in this tutorial
the question i was searching to answer is asked by someone which was;
"Why do you connect Pi's 5V to the 5V on the board??
This seems weird. Everywhere else I read that the board will supply 5V when running off 7-12V supply. But they never say you should put 5V from the Pi in it???!
He's asking about the Pi, but I had the same question about the mega...
I also found it strange that the L298 controller was supplying the arduino with power and wondered if it was incorrect as the arduino would have it's own power supply via wall-wart and it seemed to me that two supplies could cause a problem...
The author's response was;
This step is not necessary, I like to tie together rails of equal v-value for stability of my projects (some components are heavier draw than others and v-droop is annoying). What is necessary is to make sure your projects components are always grounded together.
To which another person responded;
That's not a good idea. In the best case it won't do a thing, in the worst (most likely) case, you are shorting 2 voltage sources that are not identical, hence generating a voltage delta across a very small resistor.
so I guess I'm hoping someone here can set me straight... if the arduino board has it's own power supply, should I Not connect the 5v terminal from the L298 to the 5v circuit from the arduino?
Also, I was never really able to find a good layman's explanation for what the jumper pins on the ENA and ENB pins are for, or alternatively, how you connect the driver without removing them... again, very green here, very not well versed in electronics... just trying to make some sense of things. As it is now, i seem to have it working, but it's been kind of trial and error and i'm not sure that it won't explode as I've only ever powered it up in short spurts to test the code.
I've tried inserting an image above of the controller, but i'm not sure it will work... I've never had to try to use a URL before to insert an image into a post on a forum... if not, the first link to the tutorial previously mentioned displays clearly the version i have, I don't have an official schematic, they all seem to have some slight differences and I'm not really sure about which of those differences reflect my device.
Anyways, any clarification or insight into this controller and the proper way to connect it (5v L298 to 5v arduino? can, should, would you control a motor without removing the jumper? ) would be very much appreciated.
Thanks,
Joe