My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

Contrôleur de moteur pas à pas unipolaires en Python sous Linux à l'aide de la carte Velleman K8055 / VM110.

Pour pouvoir fonctionner, ce programme a besoin d'une installation fonctionnelle de libk8055. Plus d'informations sur le sujet sur cette page.

Vous pourrez trouver le code source ici. Un schéma de Connexion vous aidera à relier les moteurs à la carte.

Utilisation :

   -h, --help: Displays these informations.
   -v, --verbose: Display the orders as they are executed.
   -p, --port: K8055 board address.
      0: SK5 and SK6 are closed on the board (Default).
      1: SK5 is open and SK6 is closed on the board.
      2: SK5 is closed and SK6 is open on the board.
      3: SK5 and SK6 are open on the board.
   -m, --mode: Motor phases activation mode.
      0: Single step mode. Activation of one phase at once. Weaker consumption and couple (Par défaut).
      1: Full step mode. Activation of phases per pair. Consumption and couple doubled.
      2: Half step mode. Mix of the two preceedings. Consumption, couple and precision doubled.
   -1, --motor1: Number of steps for motor 1.
   -2, --motor2: Number of steps for motor 2.
   -b, --both: Number of steps for motor 1, motor 2 will follow the same way.
   -r, --reversed: Number of steps for motor 1, motor 2 will follow the opposite way.

A step count can be positive or negative. In reversed mode, you drive motor 1, motor 2 will be reversed.

The -h, -v, -p and -m switches must be used first and once. But the others can be duplicated.
You cannot drive multiple boards with a single command. But a script can send multiple command lines.
Example: libk8055_stepper --motor1:+50 --motor2:-50 --motor1:-50 --motor2:+50 --both:+100 --both:-100
Powered by Google Project Hosting