Hey
I'm trying to get this H-Bridge to work with my BX-24 (thanks again to robologist for identifying it):
http://www.newmicros.com/store/product_manual/NMIH-0050.pdfI hooked up a 7.2V R/C car battery to the left two screw terminals, and an R/C car's motor to the right two screw terminals. I'm using it in locked-antiphase mode (I've got the jumper from IN2 to IN1'). I can get the wheels of the car to turn full speed either forwards or backwards by setting the BX's output pin to either 0 or 1.
I use PWM to achieve speeds between full foward and full reverse. The following code should stop the motor:
Option Explicit
Public Sub Main()
Do
Call PulseOut(14,0.000005,0)
Call PulseOut(14,0.000005,1)
Loop
End Sub
The motor does, in fact, stop, but it produces a high-pitched hum. So I'm wondering:
*Is it possible to eliminate this hum? I realize it's being alternately driven forwards and backwards and I assume this is the source of the problem.
*Is it damaging to the the motor or electronics?
*Will increasing the PWM frequency eliminate it? What type of frequencies are motors typically driven at?
Thanks