Asked — Edited

Slider Question At 45%

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


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

PRO
Synthiam
#1  

Are you referring to the PWM Slider?

Disconnect the motor controller and use the slider with a meter and check again - it should be about 2.3 volts.

Also, check if any other controls are using that port and setting it to ON.

#2  

Yes I mean the PWM slider. I have two for the motor shield ,one for each motor and one for a port with just a multimeter and another that I use for leds on three different ports that have leds on them . They are all the same the output tracks the slider position up to 44% then at 45% the output goes to max (5 volts), then at 46% the output resumes tracking the slider position up to 100%.It's like there is a wrong value is assignend to 45%. Thanks for your responce.

PRO
Synthiam
#3  

Disconnect the motor controller and use the slider with a meter and check again - it should be about 2.3 volts. Maybe the connected device is raising the voltage.

Also, check if any other controls are using that port and setting it to ON.

#4  

DJ, I did as you asked, but I still see the problem. I've had my ez-b for a while and have not had any issues what so ever at all until this This is also the first time using the PWM slider too. I removed everything from the board, rebooted my computer, cycled the power to the board and then connected a meter to each (all twenty) digital port. Using a new program with only a PWM slider at each digital port and at 45% it goes right to 5 volts. Really strange, the good news is this is not stopping me from moving forward on my project.:) Thanks, John

#5  

Anybody else have any ideas on what this could be?

#6  

Do you actually see the motor jump to 100% speed when the slider hits 45?

As I understand what your saying; with the motor connected when you reach the 45 mark on the slider the motor will jump to 100% speed. Then when you slide it past 45 and continue up the motor wil drop down in speed to where it should be and then continue properly up to 100% as you push the slider up to the top?

Have you tried a different motor controller? What type are you useing?

#7  

Yes you have got it right. The motor driver that I was using was a Seeed Studio motor shield. I stopped using it and went back to my Sabertooth. The problem is observable with a voltmeter or a led on any of the 20 i/o ports.

#8  

Odd, if the problem is there with both motor controllers then that would appear to rule out them. Do you have a different computer you could try with a different bluetooth and a fresh install of ARC and new project? If the problem is still there useing the new set up you can say it's either the bluetooth unit on the EZB Board or the board it's self.