Go au lab, le buffer améliore pas beaucoup, faire gaffe à la cpu map
This commit is contained in:
parent
0c2cd86894
commit
e96b494532
@ -4,9 +4,9 @@
|
||||
|
||||
Copyright (c) 2012-2016 Sungeun K. Jeon for Gnea Research LLC
|
||||
Copyright (c) 2009-2011 Simen Svale Skogsrud
|
||||
|
||||
2018 - Bart Dring This file was modifed for use on the ESP32
|
||||
CPU. Do not use this with Grbl for atMega328P
|
||||
|
||||
2018 - Bart Dring This file was modifed for use on the ESP32
|
||||
CPU. Do not use this with Grbl for atMega328P
|
||||
|
||||
Grbl is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -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
|
||||
// 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.
|
||||
#define CPU_MAP_TEST_DRIVE // these are defined in cpu_map.h
|
||||
#define VERBOSE_HELP // adds addition help info, but could confuse some senders
|
||||
#define CPU_MAP_ESP32 // these are defined in cpu_map.h
|
||||
//#define VERBOSE_HELP // adds addition help info, but could confuse some senders
|
||||
|
||||
|
||||
// Serial baud rate
|
||||
@ -168,7 +168,7 @@ Some features should not be changed. See notes below.
|
||||
// will not be affected by pin sharing.
|
||||
|
||||
// NOTE: Defaults are set for a traditional 3-axis CNC machine. Z-axis first to clear, followed by X & Y.
|
||||
#define HOMING_CYCLE_0 (1<<Z_AXIS) // TYPICALLY REQUIRED: First move Z to clear workspace.
|
||||
#define HOMING_CYCLE_0 (1<<Z_AXIS) // TYPICALLY REQUIRED: First move Z to clear workspace.
|
||||
#define HOMING_CYCLE_1 (1<<X_AXIS)
|
||||
#define HOMING_CYCLE_2 (1<<Y_AXIS)
|
||||
|
||||
@ -267,7 +267,7 @@ Some features should not be changed. See notes below.
|
||||
// #define USE_PEN_SERVO // this method will be deprecated soon
|
||||
// #define USE_SERVO_AXES // the new method
|
||||
// define your servo pin here or in cpu_map.h
|
||||
//#define SERVO_PEN_PIN GPIO_NUM_27
|
||||
//#define SERVO_PEN_PIN GPIO_NUM_27
|
||||
|
||||
// Enable using a solenoid for the Z axis on a pen type machine
|
||||
// #define USE_PEN_SOLENOID
|
||||
@ -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
|
||||
// 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.
|
||||
#define RX_BUFFER_SIZE 254 // (1-254) Uncomment to override defaults in serial.h
|
||||
#define TX_BUFFER_SIZE 128 // (1-254)
|
||||
// #define RX_BUFFER_SIZE 254 // (1-254) Uncomment to override defaults in serial.h
|
||||
#define TX_BUFFER_SIZE 100 // (1-254)
|
||||
|
||||
// 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
|
||||
|
@ -71,12 +71,14 @@ $J=G91 G21 F1000 X-10
|
||||
### CONFIG GRBL_ESP32 CRA4:
|
||||
|
||||
- Augmenter le temps de démarrage de la spindle à 3-4sec
|
||||
- Activer la carte sd 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 OK
|
||||
- Inverser la logique de commande de la spindle. 3.3vHIGH = off 0vLOW = on OK
|
||||
- Activer la carte sd
|
||||
- Selectionner la bonne cpu, c'est une demo par default
|
||||
- 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é
|
||||
- Augmenter le BLOCK_BUFFER_SIZE et RX_BUFFER_SIZE 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) 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)
|
||||
- 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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user