
Purple
USA
Asked
— Edited
I hooked up two motors through a H bridge and everything seemed ok at first. I noticed that as I moved the slider up and down it had a shift in the speed on each motor. It appears that when the slider is at 45%, the ez-b output goes to 5 Volts. I thought maybe it's a problem with my motors or H bridge, so I put a meter on another digital port. It was the same thing, 5 volts at 45%. Any ideas? Thanks
Ok, I have tried three different computers and three different versions of software, the problem is still there. The board has performed flawlessly except for this PWM Slider. It does it on all of the digital ports and can be observed with a meter or a motor or a Led. I think its software
Maybe someone else could check their board? Thanks
Yes, I tried this a few weeks ago and noticed at 45 on the slider the PWM is at 100% on the board. I haven't tried since the updates of late though, I had assumed it was fixed but possibly not if you still get it.
I was using it on the 2.5A H-Bridge.
When I get chance I'll knock up a quick ADC/PWM test circuit & script. I did just try it by jumpering the Signal of D0 to the signal of ADC0 but I got strange results, I guess it needs a resistor (which I recall reading somewhere else anyway but haven't the time to do it properly right now) or can't be measured like this... Either way I will do some further testing.
Thanks for the verification Rich. Also , I should get this out there too, with the PWM Slider, when I go from a low setting of approximatly 15 to 30% and press the Stop button, the output goes to full on. As you can imagine, this is not desirable.
I decided to leave the PWM slider alone and move on. Now in my script when I set the pwm value to 0 it goes high. To get the motor to stop I have to send a value of 1. Also under script control 45% puts out 5 volts. I guess I could write into the script that if the pwm output is ever 45% to set it at 46 or 44% instead. Any ideas on what to do? Thanks
I haven't had chance to check this out since my last post but I'd agree that there is an issue with PWM at 45%. DJ will add it to the list and look in to it. Hopefully it isn't an isolated problem and he can replicate the behaviour but if that is the case I am sure he will work closely with us to resolve it.
Until then, you can use a work around to skip 45%
Where $pwmvalue is the variable you use for the speed/PWM.
Thanks Rich ! Ill use that for now and I will try using Set digital output at 0 for the off value.