Modifications

Sauter à la navigation Sauter à la recherche
605 octets ajoutés ,  13 octobre 2014 à 11:51
Ligne 77 : Ligne 77 :  
Cette carte peut également être modifiée pour monter les deux pont-H en parallèle, cela permet de doubler le courant disponible pour un moteur (un seul moteur dans ce cas)   
 
Cette carte peut également être modifiée pour monter les deux pont-H en parallèle, cela permet de doubler le courant disponible pour un moteur (un seul moteur dans ce cas)   
   −
In order to use the two motor channels in parallel to control a single motor, it is important to ensure that both channels will always receive the same control signals, so the reconfiguration process begins with a modification to the control inputs. First, locate the 2×4 grouping of 0.1″ through-holes along the right side of the board. The traces on the underside of the PCB between each pair of holes effectively link the Raspberry Pi’s GPIO pins to the DRV8835 control pins. If you want to remap one of these control pins, you can cut the desired trace with a knife and then run a wire from the inner hole to a new GPIO pin. The remapping for single-channel mode requires you cut one PWM (12 or 13) and one DIR (5 or 6) trace. If you then solder a row of header pins along the interior row of holes, you can safely connect both PWM lines together and both DIR lines together using shorting blocks. In this configuration, the two uncut Raspberry Pi control lines determine the behavior of both motor channels.
+
Si vous voulez utiliser les deux canaux moteurs en parallèle pour contrôler un seul moteur plus puissant, il est important de s'assurer que les deux canaux recevrons bien le même signal de commande.
    +
Il faut donc commencer par une phase de reconfiguration qui modifie le contrôle des entrées.
 +
 +
Pour commencer, localiser le groupe de 2x4 broches sur le côté droit de la carte. Les pistes joignant les paires de trou sous la carte relient les GPIO du Raspberry-Pi sur les broches de contrôle du DRV8835. Si vous voulez modifier le branchement d'une broche de contrôle, vous pouvez couper la trace correspondant à l'aide d'un cutter (entre les deux trous) PUIS souder un fil depuis le trou intérieur vers la nouvelle broche GPIO sélectionnée.
 +
 +
La réassignation en canal simple requière de sectionner une des traces PWM (broche 12 ou 13) et une des traces DIR (broche 5 ou 6). Si vous soudez une rangée de pinHeaderr le long du côté intérieur de la carte, vous pourrez facilement connecter les deux broches de contrôle PWM ensemble aussi que les deux broches de contrôle DIR à l'aide de simples cavalier. Dans cette configuration, {{underline|les deux pistes coupées}} vous permet de récupérer les signaux sur le GPIO... {{underline|les deux pistes préservées}} contrôlent le fonctionnement des deux canaux moteurs.
 +
 +
La dernière étape consiste à connecter les deux canaux moteurs ensemble. Une façon simple d'y arriver est de souder des fils entre les trous M2B et M1B ainsi qu'entre M2A et M1A. Vous disposerez ainsi d'un unique canal moteur 3A sur M2.
 +
 +
[[Fichier:RASP-DRV8835-Utiliser-01.jpg]]
    
The last step is to connect the output channels together. An easy way to do this is to solder wires to the two small holes labeled “M2A” and “M2B” above the motor outputs. You can then connect the M2A wire to the large M1A output pad and the M2B wire to the large M1B output pad, which in turn means you can get up to 3 A from the connection points for M2 (you can have your motor connected just to the M2A and M2B terminal blocks rather than trying to find a way to connect it to all four motor outputs).
 
The last step is to connect the output channels together. An easy way to do this is to solder wires to the two small holes labeled “M2A” and “M2B” above the motor outputs. You can then connect the M2A wire to the large M1A output pad and the M2B wire to the large M1B output pad, which in turn means you can get up to 3 A from the connection points for M2 (you can have your motor connected just to the M2A and M2B terminal blocks rather than trying to find a way to connect it to all four motor outputs).
    
{{RASP-DRV8835-TRAILER}}
 
{{RASP-DRV8835-TRAILER}}
29 917

modifications

Menu de navigation