I have external buttons hooked up and mapped to the pins or Cycle start, Feed hold and Reset.
Seem to not work. I am sure doing something wrong in the config. All I did is assign my pins and cpu map. Do I need to do anything else? Below is my wiring diagram for 1 button.
!image
评论 (23)
#2 – mac7988 于 2019-11-01
Yes you are right. It’s not fun to be simple. haha joking. I have had alot of issue with noise so I am overly cautious.
#3 – mac7988 于 2019-11-01
Has anyone tested external buttons? I tried to simply connect button between gpio and GND and still nothing(WTF).
#4 – bdring 于 2019-11-01
I use them all the time. Are they reading in the ? Command?
#5 – mac7988 于 2019-11-01
No I get nothing. I use pin 33 for cycle start, 34 for Feed hold and 35 for reset. Like I said I even used a push button hooked up to 33 and gnd and still nothing. Kind of confused.
#6 – bdring 于 2019-11-01
Do you have pullups?
#7 – bdring 于 2019-11-01
Check config.h for the IGNORE
#8 – mac7988 于 2019-11-01
I check what you said about the commands in UGS and it didn’t show anything . I did the same in arduino IDE serial and it should a pin x pressed.
#9 – mac7988 于 2019-11-01
OK the ignore was active disabled it and now doesn’t matter what I press all buttons are reset via control pin.
#10 – mac7988 于 2019-11-03
I tried multiple pins and still getting reset issues. I am officially lost. I even tried different esp23 boards with the same result. I also tried different computers, different cables and even OTG.
Below test was done with nothing connected esp23 board only and a jumper cable attached to pin 36. I can’t imagine others don’t have this probelm.
!image
#11 – bdring 于 2019-11-03
Pull up resistors?
#12 – mac7988 于 2019-11-03
No pull up resistors
#13 – mac7988 于 2019-11-03
all I have is a esp32 and a dupont jumper hooked up to pin 36 in you touch the cable it freaks out(this has happen to multiple esp32s
#14 – bdring 于 2019-11-03
https://github.com/bdring/Grbl_Esp32/wiki/Setting-Up-the-I-O-Pins
Pins 34 thru 39 need pullups
#15 – mac7988 于 2019-11-03
Tried that, I even tried pin 22 as cycle start also on multiple esp32. Do you think I have an issue with libraries being old or corrupted?
#16 – bdring 于 2019-11-03
Your symptoms are exactly like a floating input. I think your problem is electrical
#17 – mac7988 于 2019-11-03
The weird thing is I don’t have anything hooked up.
#18 – bdring 于 2019-11-03
I am testing now. Hang on. I might see a problem.
#19 – bdring 于 2019-11-03
I think I found a problem…
For some reason the internal pullups were MAPDEFAULT - Demo Only No I/O!"
// the following items currently need to be defined, but no i/o needs to be mapped
// fixing soon
#define CONTROLRESETPIN GPIONUM21
#define LIMIT_MASK 0 // no limit pins
#endif
“
#20 – mac7988 于 2019-11-03
I tested the new code and found that it is not crashing but the only thing I am getting now is below no matter which button I press. It is reseting only
#21 – mac7988 于 2019-11-03
I even triple check my wiring see below. I even bypassed before optocoupler and just used a jumper between gnd and pullup . No luck
still reset via control pin.
!image
#22 – bdring 于 2019-11-03
What cpu mask are you using? Please paste the cpu map here. Just your part, not the whole file.
#23 – mac7988 于 2019-11-03
I think I got it working turns our my pulls were not connected.
#1 – ggallant571 于 2019-11-01
Seems overly complicated. Why not use the external switch ground the
input to U1.
On 10/31/19 6:53 PM, mac7988 wrote:
>
> I have external buttons hooked up and mapped to the pins or Cycle
> start, Feed hold and Reset.
>
> Seem to not work. I am sure doing something wrong in the config. All I
> did is assign my pins and cpu map. Do I need to do anything else?
> Below is my wiring diagram for 1 button.
> image
> <https://user-images.githubusercontent.com/19393673/67991481-bdc4a180-fc0f-11e9-9f37-6d3ec5d6d33c.png>
>
> ???
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/bdring/GrblEsp32/issues/275?emailsource=notifications&email_token=AEE4EJYO36PHUAJWRTS3Z7TQRNOYNA5CNFSM4JHTT3LKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HV6O4VQ>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AEE4EJ4MHWZ45YRGZOR3ZVLQRNOYNANCNFSM4JHTT3LA>.
>