bonsoir tout le monde,
j'ai reçu le module. il fonctionne bien mais maintenant j'ai un problème avec GRBL.
quelque soit la vitesse que je lui donne, il envoie 5 volt donc pour le module , grbl demande 12000tr/min.
je pense qu'il faut régler les 12000tr/min dans GRBL mais où je ne sais pas
la broche démarre bien avec la commande M3 et s’éteint avec M5
je pense que ça viens de ma config . j'ai téléverser grbl sans rien modifier.
voici mon fichier (config.h je l'ai zipper sinon impossible de le partager); j'ai mis GRBL1.1
j'ai trouver la partie où il en est question mais je ne sais pas quoi faire:
// Enables variable spindle output voltage for different RPM values. On the Arduino Uno, the spindle
// enable pin will output 5V for maximum RPM with 256 intermediate levels and 0V when disabled.
// NOTE: IMPORTANT for Arduino Unos! When enabled, the Z-limit pin D11 and spindle enable pin D12 switch!
// The hardware PWM output on pin D11 is required for variable spindle output voltages.
#define VARIABLE_SPINDLE // Default enabled. Comment to disable.
// Used by variable spindle output only. This forces the PWM output to a minimum duty cycle when enabled.
// The PWM pin will still read 0V when the spindle is disabled. Most users will not need this option, but
// it may be useful in certain scenarios. This minimum PWM settings coincides with the spindle rpm minimum
// setting, like rpm max to max PWM. This is handy if you need a larger voltage difference between 0V disabled
// and the voltage set by the minimum PWM for minimum rpm. This difference is 0.02V per PWM value. So, when
// minimum PWM is at 1, only 0.02 volts separate enabled and disabled. At PWM 5, this would be 0.1V. Keep
// in mind that you will begin to lose PWM resolution with increased minimum PWM values, since you have less
// and less range over the total 255 PWM levels to signal different spindle speeds.
// NOTE: Compute duty cycle at the minimum PWM by this equation: (% duty cycle)=(SPINDLE_PWM_MIN_VALUE/255)*100
// #define SPINDLE_PWM_MIN_VALUE 5 // Default disabled. Uncomment to enable. Must be greater than zero. Integer (1-255).