Adding homing switches to your Raspberry Pi CNC
Want to build a CNC like mine? www.davegatton.com
Here are the Switches I used:
https://amzn.to/3IJEWHz
Here are the Settings you need to change and what they mean
$5=0 (Makes the switches operate on a NO [Normally Open] state.)
$21= 1 (Turns on Hard Limits)
$22= 1 (Turns on Homing)
$23= 0 (Homing direction to rear Right corner when motors mounted like mine. You may need to change to a number from 0-7 depending on your configuration. Refer to page 1 of this link to identify your set up http://www.diymachining.com/downloads...
$24= ? (Speed of Second switch press. I changed mine to 50. I suggest you leave low number and increase as you are comfortable)
$25= ? (Speed of First switch press. I changed mine to 750. I suggest you leave low number and increase as you are comfortable)
$26= ? (Duration of time from First press and before it backs off. I left mine alone. I suggest you leave stock and reduce as you are comfortable)
$27= 5 (Distance moved away after First and Second Switch press. Should be far enough to clear the switch.)
$130= (Whatever your Max Travel Distance X is)
$131= (Whatever your Max Travel Distance Y is)
$132= (Whatever your Max Travel Distance Z is)
Here are a few links to stuff I use. Some are affiliate and some are not. Support my channel and click on something
Raspberry Pi 4: https://amzn.to/3JKjAel
Raspberry Pi 400: https://amzn.to/3tQWUUl
Raspberry Pi 10.1” Touch Screen: https://amzn.to/3j3kozr
Protoneer Raspberry Pi CNC Shield: https://www.zyltech.com/genuine-proto...
DM 542 Deiver: https://amzn.to/36UgNkc
420oz Stepper Motor: https://amzn.to/3NwEcZS
500W 48V Power Supply: https://amzn.to/3uHkxxT
Gatton CNC: https://www.davegatton.com/gatton-cnc...
Bob’s CNC Evolution 4: https://amzn.to/3iQBUq8
Bob’s CNC Revolution: https://www.bobscnc.com/products/revo...
1” Spoilboard Surfacing bit: https://amzn.to/3iNXMT8
1/8” Tapered Ballnose: https://amzn.to/3iLHTgg
Matabo (Hitachi) Router: https://amzn.to/3JPtXNW
Makita Compact Router: https://amzn.to/3JPuQGs
Mach3 Pendant: https://amzn.to/3wRoz9o