I got myself an IR2104 (instead of an IR2101), which, in essence, has the similar inputs as the L298: direction and enable, instead on low side and high side. I tried the pwm_style=2 option as well, but found it unsatisfactory, with the sound coming out of the motor, and the motor hardly getting in motion, or very abrupt when slew parameters set close to 100. I then switched back to the pwm_style=0 ('h-bridge'), using only d2 and d3, whilst tying the EN pin of the driver to vcc. This seems to work fine for me in the lab. Tying EN to vcc was suggested as a test above, but I'm under the impression that the d2 and d3 outputs give me PWM as well, so I think I should not want for more. Is this true? I'm aware that by doing so, the low side of my h-bridge is always engaged in rest, but frankly I don't really think I should care, should I?
L298N and Arduino Nano
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
L298N and Arduino Nano - by jamos.tan@gmail.com - 2019-08-13, 05:17 PM
RE: L298N and Arduino Nano - by seandepagnier - 2019-08-14, 02:21 PM
RE: L298N and Arduino Nano - by jamos.tan@gmail.com - 2019-08-14, 07:50 PM
RE: L298N and Arduino Nano - by seandepagnier - 2019-08-14, 08:36 PM
RE: L298N and Arduino Nano - by jamos.tan@gmail.com - 2019-08-15, 09:35 AM
RE: L298N and Arduino Nano - by jamos.tan@gmail.com - 2019-08-15, 11:54 AM
RE: L298N and Arduino Nano - by seandepagnier - 2019-08-15, 01:37 PM
RE: L298N and Arduino Nano - by jamos.tan@gmail.com - 2019-08-15, 03:38 PM
RE: L298N and Arduino Nano - by ironman - 2019-08-31, 09:48 PM
|
Users browsing this thread: 2 Guest(s)