![]() ![]() ![]() The Arduino logic sees a 0 when the pin is connected to ground. Your are right that this is connecting 5V to ground however, it is through a resistor with a high value, so only a very small current flows to ground, this is normal. When the switch is closed, it connects the pin to ground. The switches are connected such that they are normally open and the logic in the Arduino will see a value of 1 as the pins are “pulled up”. The normal limit switch scheme for grbl is that the inputs are connected to 5V through a high value resistor inside the chip on the Arduino, this is know as “pull up”. I could just be confused or missing something, but any help will be appreciated, and I kind of think might help someone else in the future. I would have thought it just sends power out and then back to input when the switch triggers, or out and back-then off when the switch is triggered, but cannot make that out of anything I have found. But, I’m just not seeing how that fits any of these diagrams at all.Ĭan anyone give some more laymen’s terms of what the gShield/Uno will operate on to trigger the limit / home switch function ? So the switch could either connect the power while open, then cut it when closed, or vice versa. Normally, with a simple switch, you might have power out to a switch and another line going back to send switch input (as an endstop sensor in this case). So, it looks like it would send 5v to the GND on the gShield/Uno… which I just don’t think I would want to do without knowing why or that it is correct. And, when the switches I have are activated/actuated the ‘NO’ and ‘COM’ terminals are connected. But, by the diagram, there is 5v and switch input (to Uno) on the same line, then GND (ground) on the other line to the switch. I’m sure, if that is the case, there is something more electronically elegant about it. There seems to be some pretty clear diagram here: īut, I’m still a little unsure why it is or can not be a bit more like a normal switch. I’ve got the connection locations somewhat down, aside from the #11 and #12 switch thing in grbl v 0.9. Well, I’m probably going to proceed carefully without them for now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |