Society of Robots - Robot Forum
General Misc => Misc => Topic started by: Silver_79 on July 25, 2009, 07:53:57 PM
-
Hi all, another noob question again. I am finishing up my small photovore robot inspired by the 50$ robot. I have a small collection of components and parts and was going through them too see if any could be used for my robot Feddar. I found two motors that I had hidden away they are both different sizes and I was wondering would this make a difference if both were DC motors of varying size?
-
yes, they will not go the same speed so your robot will constantly spin in circles...
this can be tweaked in code, but its hard... have they got gearboxes? you'll need them.
-
would it work if you used gears to lower to make them the same rpm
-
it "could" make them the same... but chances are one of them will be off slightly.
-
the only way you could make two different motors spin the same is with encoders. Encoders let you track how many times the motor has spun, you can use the encoders to make sure each motor is spinning the same amount. Even identical motors (same make and manufacture) will be slightly mismatched and the only way to have a robot go perfectly straight is by using encoders.
-
yeah, and doing the math for gear ratios might take a will, plus you would have to learn there rpm if you dont already know[
-
yeah, and doing the math for gear ratios might take a will, plus you would have to learn there rpm if you dont already know[
lol, gear ratios aren't hard, the part that might take a while is counting all the teeth in the gears :P
-
One will spin faster than the other, but the mcu doesn't know that. It'll adjust to chase light, either way, and adjust accordingly no problem. In code you can tweak it to be 'good enough' without adding encoders.