Back again from issue https://github.com/bdring/Grbl_Esp32/issues/431
https://github.com/bdring/Grbl_Esp32/issues/439
Could you give me a working example?
2. Docs #1 – JensHauser 于 2020-06-29 A second ago I saw a commit by Bart related to spindle subject. In the
#2 – JensHauser 于 2020-06-29 Merged the master branch again and voilá: no more error messages. “ First call to M3 without further parameters had no effect (“M3”). When the ESP32 boots or I press the EN button on the DevKit, the relay is switched on for 1 second. Any idea how to avoid that? Just the wish to adjust the
#3 – bdring 于 2020-06-29 I do not know why the pin is causing the relay to turn on at boot time. Some pins do change during boot. I list the ones I know about on this page. You could try a different pin. We are making major changes to the way pins work. soon it will not require any re-compile to setup or change a machine.
In the
This machine.h config worked for me.“
#define SPINDLETYPE SPINDLETYPE_RELAY
#define SPINDLEOUTPUTPIN GPIONUM32
First call to M3 with spindle speed switched the relay on (“M3 S12345”).
All further calls to M3 without parameters worked (“M3”).
#6 – JensHauser 于 2020-07-03
It´s been a wrong dimensioned resistor of the relay. It´s been too small, so even the small current flowing during start of ESP32 triggered the relay.
#4 – JensHauser 于 2020-06-29
Found a comment in an older ESP32 data sheet.
“
“The 32 kHz crystal is internally connected to ESP32’s GPIO32 and GPIO33. To use ADC, Touch or GPIO functions of
IO32 and IO33, please remove the 32 kHz crystal and its capacitors — C13 and C17, and solder the 0ohm resistors —
R5 and R6.
source1 and source2,
#5 – JensHauser 于 2020-07-03
Espressif wrote:
1. Can you help me catch the output waveform of boot time and press the EN button permanenty of io32? What this waveform looks like.We better analyze the situation for you
2. The descriptions written in the old version are problem, ESP32 DevKitC V4 is not connected 32 kHz crystal 。So this part is not introduced in the new version
So, in general, IO32 and IO33 are ok for being used. I‘ll give them a screenshot of the output curve for further investigation. Then we‘ll know, where to look further