Go au lab, le buffer améliore pas beaucoup, faire gaffe à la cpu map

This commit is contained in:
Geekoid 2019-12-26 21:26:35 +01:00
parent 0c2cd86894
commit e96b494532
2 changed files with 16 additions and 14 deletions

View File

@ -46,8 +46,8 @@ Some features should not be changed. See notes below.
// NOTE: OEMs can avoid the need to maintain/update the defaults.h and cpu_map.h files and use only // NOTE: OEMs can avoid the need to maintain/update the defaults.h and cpu_map.h files and use only
// one configuration file by placing their specific defaults and pin map at the bottom of this file. // one configuration file by placing their specific defaults and pin map at the bottom of this file.
// If doing so, simply comment out these two defines and see instructions below. // If doing so, simply comment out these two defines and see instructions below.
#define CPU_MAP_TEST_DRIVE // these are defined in cpu_map.h #define CPU_MAP_ESP32 // these are defined in cpu_map.h
#define VERBOSE_HELP // adds addition help info, but could confuse some senders //#define VERBOSE_HELP // adds addition help info, but could confuse some senders
// Serial baud rate // Serial baud rate
@ -536,8 +536,8 @@ Some features should not be changed. See notes below.
// 115200 baud will take 5 msec to transmit a typical 55 character report. Worst case reports are // 115200 baud will take 5 msec to transmit a typical 55 character report. Worst case reports are
// around 90-100 characters. As long as the serial TX buffer doesn't get continually maxed, Grbl // around 90-100 characters. As long as the serial TX buffer doesn't get continually maxed, Grbl
// will continue operating efficiently. Size the TX buffer around the size of a worst-case report. // will continue operating efficiently. Size the TX buffer around the size of a worst-case report.
#define RX_BUFFER_SIZE 254 // (1-254) Uncomment to override defaults in serial.h // #define RX_BUFFER_SIZE 254 // (1-254) Uncomment to override defaults in serial.h
#define TX_BUFFER_SIZE 128 // (1-254) #define TX_BUFFER_SIZE 100 // (1-254)
// A simple software debouncing feature for hard limit switches. When enabled, the limit // A simple software debouncing feature for hard limit switches. When enabled, the limit
// switch interrupt unblock a waiting task which will recheck the limit switch pins after // switch interrupt unblock a waiting task which will recheck the limit switch pins after

View File

@ -71,12 +71,14 @@ $J=G91 G21 F1000 X-10
### CONFIG GRBL_ESP32 CRA4: ### CONFIG GRBL_ESP32 CRA4:
- Augmenter le temps de démarrage de la spindle à 3-4sec - Augmenter le temps de démarrage de la spindle à 3-4sec
- Activer la carte sd OK - Activer la carte sd
- Ne pas ignorer les pin de contrôle qui sur un esp seul n'ont pas de pullup et pose problème contrairement à ici. Cycle Start | Feed Hold | Reset | Safety Door OK - Selectionner la bonne cpu, c'est une demo par default
- Inverser la logique de commande de la spindle. 3.3vHIGH = off 0vLOW = on OK - Ne pas ignorer les pin de contrôle qui sur un esp seul n'ont pas de pullup et pose problème contrairement à ici. Cycle Start | Feed Hold | Reset | Safety Door
- Inverser la logique de commande de la spindle. 3.3vHIGH = off 0vLOW = on
- Possibilité de desactivé la pwm sur la spindle qui n'est ici pas utilisé - Possibilité de desactivé la pwm sur la spindle qui n'est ici pas utilisé
- Augmenter le BLOCK_BUFFER_SIZE et RX_BUFFER_SIZE OK - Augmenter le BLOCK_BUFFER_SIZE et les autres buffer si possible
- Comme les capas de filtrages et les résistances de pullup suffisent pas activer ENABLE_SOFTWARE_DEBOUNCE (faudrait des optos coupleurs normalement et des endstop en >12v au lieu de 3.3v) OK - Comme les capas de filtrages et les résistances de pullup suffisent pas activer ENABLE_SOFTWARE_DEBOUNCE (faudrait des optos coupleurs normalement et des endstop en >12v au lieu de 3.3v)
- Ne pas hésiter à utiliser le bouton boot de l'esp32 pendant l'upload pour lui permettre de passer en mode "attente de programme"
### PINOUT GRBL_ESP32 CRA4 (v3.5) ### PINOUT GRBL_ESP32 CRA4 (v3.5)