NXT-Brick for Minibot: We programmed the Minibot on NXT-G so that the motor will....

We programmed the Minibot on NXT-G so that the motor will spin infinitly however it stops after 3-4 spins. We checked the controllers, changed NXT-Bricks, checked wirings and the programming.

Can anyone think of any other reason why the motors would stop after a couple spins?

Is there a reason you’re using the NXT-Brick? If you just want the motors to spin indefinitely, then you can wire it as such. There shouldn’t be anything too complicated on your Minibot to warrant programming.

Well, we don’t want the motors to spin after it hits the top of the pole.

Also, we don’t want the motors spinning for the entire round.

You could easily design a switch to turn the motors on right before you deploy.

You can also make a switch to turn the motors off.

The " infinite " time control option in the nxt-g motor command is really misleading. There is some sort of time out feature that you can’t modify. Just nest that command in an infinite loop and you will have what you are looking for. If it still doesn’t last long enough - double nest it.

Have you made sure that your program doesn’t end? If that block exits, then the program will exit.

On the NXT, with Lego firmware, motors will continue to run for about a second (then coast) when a program exits.

I hope this helps.