Need a help again.
When I pluh end stop swich ti arduino grbl shield, sometimes it works sometimes don’t.
But it works perfectly when i just plug on wire to X+ and just tuch it with finger.
Can some one explain me that ?
it sounds as if you’d need to enable input pullup
Noise… there is a software debouncing available and you may enable it and then re-compile grbl firmware.
You may also change to NC switches, as this is more immune to noise issues.
it looks like finger thing stop working after debouncing enabled, but now end stops almost never working.
Whats about this input pullup, how do I enable it.
And what kind of NC switches,? any links on them ?
If you haven’t changed the source, the pull-ups are enabled. But in some environments they may not be enoguh, so a 330 ohm resistor between +5V and end-stop input pin (D9-D11) may help.
Please make sure you are using the type of switch expected (NO) Connecting Grbl · grbl/grbl Wiki · GitHub
But I do agree with @sszafran that NC (normally closed) switches will provide you better results.
So thats the switch i hawe. Red/Black - NO and Red/Green - NC
On my grbl shield is only ± for endstops, so I just get Green-/Red+ and send $5=1 to invert limit pins ?
And yes, I haven’t changed source except have enabled software debouncing.
So nex thing I got to buy is 330 omh resistors and some shielded wires.
missing/deleted image from Google+
Opps, from the last picture I can see there is a led on your switch. I do not know what that is but is is definitely something more than a switch, so without a better knowledge on that circuit we cannot provide you a better insight. Please try with a regular switch, or just joining two wires (as a poor man’s switch) to diagnose your issue.
Yes, connecting two wires it was kind a working before I enabled software debouncing.
Here is a short video about this swich and some photos
But in worst case I will just desolder swich from circuit board and plug it straight
missing/deleted image from Google+
missing/deleted image from Google+
I guess yours is this one http://www.thingiverse.com/thing:762
No need for pull-up, but you need three wires for it to work properly: GND, +5V and signal pin
Yes and there is no signal pin for end stops where to connect in this board.
So probably will gonna have to use some simplified “poor mans” switch.
missing/deleted image from Google+
X+, Y+, Z+ are the signal pins
OK
So I have to apologize for my dumb head
everything is working just fine.
I was just connecting it wrong
instead of connecting like red/blue I was connecting like red/green
missing/deleted image from Google+
I think its time for wire things up
missing/deleted image from Google+
try placing the wires touched to the chassis or ground.
Nice…