The default Root 3 CNC control panel has one DB9 connector slot available for endstops. Most will use that connector for home/minimum and then program Marlin for the maximum extents of the machine. However, since it is not uncommon to set home to the origin of the work piece and not the origin of the actual machine, I wanted to install minimum and maximum endstops for safety.
I made one attempt at soldering a DB9 connector before deciding that it was more trouble then it was worth for my purposes. I opted instead for a DB9 breakout board found on Amazon:
Using the following specifications for a DB9:
I designed a quick panel to hold the breakout boards which can be found on Thingiverse:
Root 3 CNC Endstop Panel
The wiring of the DB9 is somewhat arbitrary, but I attempted to keep the axis wires together. Red wire connects to limit switch NC, black wire connects to COM, and the cable shield/braid wire is a passthough so it can connect to GND on the Arduino/RAMPS board.
Final wiring seen below. Note that heat shrink tubing was added to the cable shield wires (normally bare) in order to avoid accidental contact.
No comments:
Post a Comment