Motor Speed vs. Motor Power
I was interested in how fast the motors would spin (in the air for the first tests, to not let gravity/load/friction/etc affect the results) depending on what I set
pwr in the NXC function
I wrote a program (download here) which logged the time it took to spin the motor at 720 degrees (in one experiment), and with a starting
pwr value of 5, increasing by 5, until it reached 100. It was tested on the NBC/NXC Firmware 1.28.
It seemed to be linear, and I did a little “analysis” (if you can call it that), and came up with the graph on the right, which represents the ratio between Speed and Power. This ratio is about 7:1.
Next, I tried it with the robot on the ground. The results were pretty much the same (linear), as you can see in the image to the bottom left. Of course, it slowed down a bit, as can be expected.
I still haven’t figured out how this is useful, but if you can suggest reasons for why I haven’t wasted my time (which I actually like doing, believe it or not), please tell me in the comments. Now I’m adding meaningless text just to fill this line, so my blog post looks good.