i have some questions regarding the L298 h bridge.
what are the current sensing pins, and how do i use them?
why is there a supply voltage and a logic supply voltage?
what do the 2 inputs do? what will happen if they are both high?
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
1) The sense pin allows you have a sense resistor so you can monitor and limit current
2) They are separate so you can drive the logic from one voltage (up to 7 V), and the thing the H Bridge is driving from a different voltage (up to 50 V)
3) The two inputs are to change the 'direction' of drive current. With an h bridge usually to choose which way a motor turns.
The current sense outputs are as the name suggests current-sensing ouputs, they allow you to measure the current in the two bridges. it works like this; All the current that flows into either bridge will come out its corrosponding current-sense-output, If you put a small-value power resistor from either current sense output to ground then the current flowing into the corresponding bridge is going to produce a voltage across the resistor which can be measured and used to calculate the current.
That is because you need a low "logic-level" supply voltage for the control logic and you need typically a higher voltage to be sourced through the bridge. So considder this; you might want to supply 30v from the bridge (that is when the bridge output is high it is at 30v) but you need to control the bridge from an mcu (or an arduino for instance) that has 5v logic, then you need the logic supply voltage of the bridge to be 5v too otherwise they want be able to talk together.
In1 controls the left side of the first bridge, In2 controls the right side of the first bridge. if they are both high AND YOUR LOAD IS CONNECTED BETWEEN THE TWO SIDES OF THE BRIDGE then all that will happen is that the output on both sides of the bridge is going to be either high or low, and no current will run in your load.