3 ms·
You can't. Once your device is switched-off, you can't know what position it will start up in. The easiest option is to have an initialization routine that will
by ComputerGuru 16y ago
You can't. Once your device is switched-off, you can't know what position it will start up in. The easiest option is to have an initialization routine that will move the motor to a known position. For instance, move it all the way clockwise until it jams (assuming there's a limited range of motion) or until it signals a button, whatever that it has reached a position. This is known as calibration or zeroing.
- jeb 16y agoWhat I mean is that the item it is turning is marked, so I can detect it's position. Using infrared perhaps?
- pingswept 16y agoYou can get motors with encoders built into them that are very, very accurate. You can decode their pulses into position with a quadrature decoder like the HCTL-2020.