user1335: I'd like to use an H-Bridge  AND send PWM signal.
I've used this schematics: http://itp.nyu.edu/physcomp/Labs/DCMotorControl
and use the PWM signal inside the enablePin. But the H_Bridge is getting very hot.
Am I wrong?
EDIT:
I'm using and H-Bridge but not for driving a motor, instead I'm driving a peltier cell (like this one: https://www.sparkfun.com/products/10080). What I'm trying to achieve is to have a fixed peltier cell and to have in the same side sometimes hot, sometimes cold. This behaviour is done by switching the positive and negative with the H-Bridge. To control how much cold and how much hot I'm using PWM.

user3219: This L298N board with heat sink is widely available, low cost, used in many successful project with 2 amperes capacity to support reasonably large motors. 
Video, tutorial, code example in:
http://www.youtube.com/watch?v=qwNvYYqBy7I
http://www.icstation.com/product_info.php?products_id=2540#.U90l_kBbIlh
http://arduino-info.wikispaces.com/MotorDrivers
http://arduino-info.wikispaces.com/ArduinoShieldL298N

user2881: Are you using the L293NE or the SN754410?
My guess it the L293NE. With this one, if you set the enable to low, it will go into "Fast motor stop". What this does is short the two pins of the motor. This will make the motor turn into a dynamo, will all the current that is being generated going through the IC. This will make the IC hot.
This also means you motors are running very inefficiently.

user3219: According to data sheet from factory, L293 and L298 do not go into fast stop mode if you connect and program them as below.
They have two inputs to control direction and one ENABLE for PWM.
When PWM signal is zero, both transistors are high impedance according to page 2 of factory data in http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CDUQFjAB&url=http%3A%2F%2Fwww.ti.com%2Flit%2Fds%2Fsymlink%2Fl293d.pdf&ei=0z7dU-G4OZPf8AX-loDQCA&usg=AFQjCNEHiZAPaBUP_j8kV3BBPstAKiFDyw&bvm=bv.72197243,d.dGc
Data sheet Page 6 of L298, PWM connects to enable. CD is 10 and 01 for direction. fast stop is CD 00 or 11
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000240.pdf
Hope it helps

user3416: Short answer: You're drawing too much current through the H-bridge.
Longer answer: The H-bridge is most efficient when fully on and that's when the chip gets rated for the maximum current. The rating also, probably, states that a heat sink is attached to the chip. Using PWM to slow down the motor decreases the current going through the bridge, but also incurs inefficiencies because the transistors / MOSFETs are partially on, and thus acting somewhat as resistors. This inefficiency manifests as heat.
So you have several options.
1. Choose a smaller motor.  This reduces the overall current needed.  Only feasible if this is a learning project.
2. Choose a beefier H-bridge.  This increases the ratings of the bridge to handle current for this motor.
3. Add a heat-sink to the existing bridge.  This will help dissipate the heat generated.  
Generally I'd recommend both 2 and 3, but it depends on your ultimate goal of the project.

1335: <p>I'd like to use an H-Bridge  AND send PWM signal.</p>
<p>I've used this schematics: <a href="http://itp.nyu.edu/physcomp/Labs/DCMotorControl" rel="nofollow noreferrer">http://itp.nyu.edu/physcomp/Labs/DCMotorControl</a>
and use the PWM signal inside the <em>enablePin</em>. But the H_Bridge is getting very hot.</p>
<p>Am I wrong?</p>
<h3>EDIT:</h3>
<p>I'm using and H-Bridge but not for driving a motor, instead I'm driving a peltier cell (like this one: <a href="https://www.sparkfun.com/products/10080" rel="nofollow noreferrer">https://www.sparkfun.com/products/10080</a>). What I'm trying to achieve is to have a fixed peltier cell and to have in the same side sometimes hot, sometimes cold. This behaviour is done by switching the positive and negative with the H-Bridge. To control how much cold and how much hot I'm using PWM.</p>
 3219: <p>This L298N board with heat sink is widely available, low cost, used in many successful project with 2 amperes capacity to support reasonably large motors. </p>

<p>Video, tutorial, code example in:</p>

<p><a href="http://www.youtube.com/watch?v=qwNvYYqBy7I" rel="nofollow">http://www.youtube.com/watch?v=qwNvYYqBy7I</a></p>

<p><a href="http://www.icstation.com/product_info.php?products_id=2540#.U90l_kBbIlh" rel="nofollow">http://www.icstation.com/product_info.php?products_id=2540#.U90l_kBbIlh</a></p>

<p><a href="http://arduino-info.wikispaces.com/MotorDrivers" rel="nofollow">http://arduino-info.wikispaces.com/MotorDrivers</a></p>

<p><a href="http://arduino-info.wikispaces.com/ArduinoShieldL298N" rel="nofollow">http://arduino-info.wikispaces.com/ArduinoShieldL298N</a></p>
 2881: <p>Are you using the <code>L293NE</code> or the <code>SN754410</code>?</p>

<p>My guess it the <code>L293NE</code>. With this one, if you set the enable to low, it will go into "Fast motor stop". What this does is short the two pins of the motor. This will make the motor turn into a dynamo, will all the current that is being generated going through the IC. This will make the IC hot.</p>

<p>This also means you motors are running very inefficiently.</p>
 3219: <p>According to data sheet from factory, L293 and L298 do not go into fast stop mode if you connect and program them as below.</p>

<p>They have two inputs to control direction and one ENABLE for PWM.</p>

<p>When PWM signal is zero, both transistors are high impedance according to page 2 of factory data in <a href="http://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=2&amp;ved=0CDUQFjAB&amp;url=http%3A%2F%2Fwww.ti.com%2Flit%2Fds%2Fsymlink%2Fl293d.pdf&amp;ei=0z7dU-G4OZPf8AX-loDQCA&amp;usg=AFQjCNEHiZAPaBUP_j8kV3BBPstAKiFDyw&amp;bvm=bv.72197243,d.dGc" rel="nofollow">http://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=2&amp;ved=0CDUQFjAB&amp;url=http%3A%2F%2Fwww.ti.com%2Flit%2Fds%2Fsymlink%2Fl293d.pdf&amp;ei=0z7dU-G4OZPf8AX-loDQCA&amp;usg=AFQjCNEHiZAPaBUP_j8kV3BBPstAKiFDyw&amp;bvm=bv.72197243,d.dGc</a></p>

<p>Data sheet Page 6 of L298, PWM connects to enable. CD is 10 and 01 for direction. fast stop is CD 00 or 11
<a href="http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000240.pdf" rel="nofollow">http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00000240.pdf</a></p>

<p>Hope it helps</p>
 3416: <p>Short answer: You're drawing too much current through the H-bridge.</p>

<p>Longer answer: The H-bridge is most efficient when fully on and that's when the chip gets rated for the maximum current. The rating also, probably, states that a heat sink is attached to the chip. Using PWM to slow down the motor decreases the current going through the bridge, but also incurs inefficiencies because the transistors / MOSFETs are partially on, and thus acting somewhat as resistors. This inefficiency manifests as heat.</p>

<p>So you have several options.<br>
1. Choose a smaller motor.  This reduces the overall current needed.  Only feasible if this is a learning project.<br>
2. Choose a beefier H-bridge.  This increases the ratings of the bridge to handle current for this motor.<br>
3. Add a heat-sink to the existing bridge.  This will help dissipate the heat generated.  </p>

<p>Generally I'd recommend both 2 and 3, but it depends on your ultimate goal of the project.</p>
