![]() ![]() The LED light on the hub may be changed to one of 10 colours (or switched off entirely). ![]() Connect an axle and gear and then turn the gear to change the position value. The steps rotated are counted even if the axle is manually turned by hand, which means the interactive motor can also be used as a position sensor. The actual position the motor stops at may be a couple of steps different to the target value, but is normally very close. For instance to move the Vernie model head back and forth you could move from position 50 to position -50. This is useful to move the motor to a known position, mimicking servo behaviour. For ease of use the 'move forward/backward' and 'turn left/right' blocks control both internal motors (A and B) at the same time. The number of steps to move will vary from model to model. This is useful for moving a robot a certain distance, for instance the Vernie model uses 417 steps at speed 50 to move forward ‘1 grid space’.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |