
Mohamed.r
South Africa
Asked
— Edited
Does the same procedure apply to connect the 2.5 amp motor controller to the v4 compared to the v3
2.5 amp motor controller
Does the same procedure apply to connect the 2.5 amp motor controller to the v4 compared to the v3
2.5 amp motor controller
Just be aware that the 5V in on the H-Bridge needs to be 5V. It wasn't an issue on the V3 as all ports were 5v on the VCC, on the V4 VCC of each port is the same as Vin, so it could be anything between 4.5v and 16v. The H-Bridge wouldn't like that, you will want to put a 5v regulator inline.
I plan to update my H-Bridge tutorial to cover the V4 as soon as I have a 5V regulator to use. In fact, I plan to update all of my tutorials to cover the V4 when I get the chance. If there is anything specific you want to have covered and EZ-Robots haven't got the new tutorial up or if it's not quite clear enough just shout and I'll see what I can do. Provided I have the required parts I'll gladly throw a text/photo based tutorial together.
The controller does have a 5V regulator on board that supplies the L298 with the voltage it needs as long as you provide (as @bstaehling mentioned) 7V or higher. Only one power line and ground required to attach it from your v4 (fuse protected) or directly from your battery. Just remember to tie all the grounds together.
The controller also accepts 3.3V TTL logic and works flawlessly with the V4 providing the inputs signals, just hook up 4 digital pins from the v4 to the motor controller input signal lines and optionally 2 to the enable lines (pwm h-bridge control) and you are on your way.