{"id":9,"date":"2020-04-26T09:52:00","date_gmt":"2020-04-26T08:52:00","guid":{"rendered":""},"modified":"2023-01-08T13:35:16","modified_gmt":"2023-01-08T13:35:16","slug":"the-build-part-8-motor-and-limit-wiring","status":"publish","type":"post","link":"https:\/\/blog.hslracing.com\/co2laser\/2020\/04\/the-build-part-8-motor-and-limit-wiring.html","title":{"rendered":"The Build Part 8 &#8211; Motor and Limit Wiring"},"content":{"rendered":"<p>The ammeter is wired in series with the negative for the laser PSU.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring22.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-64 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring22-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring22-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring22-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring22.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>For the motor wiring, I am using 6 core alarm flex from <a href=\"http:\/\/www.wickes.co.uk\/invt\/714504\">Wickes<\/a>, but I pull out 2 of the cores first, I use these elsewhere for limit switches and other low voltage wiring.<\/p>\n<p>I have 3 different sets of connectors on my various stepper motors, the X and Z motors use a <a href=\"https:\/\/uk.rs-online.com\/web\/p\/pcb-connector-housings\/3116243\/\">JST EH 6 pin 2.5mm pitch 6 pin connector<\/a> and <a href=\"https:\/\/uk.rs-online.com\/web\/p\/pcb-connector-contacts\/3116439\">crimp pins<\/a>.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring09.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-65 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring09-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring09-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring09-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring09.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>completed connector<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-66 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring10-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring10-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring10-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring10.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>The rotary axis uses a\u00a0<a href=\"https:\/\/uk.rs-online.com\/web\/p\/pcb-connector-housings\/3531349\">JST 6 pin 2mm pitch connector<\/a>\u00a0and associated\u00a0<a href=\"https:\/\/uk.rs-online.com\/web\/p\/pcb-connector-contacts\/3531276\">crimp pins<\/a>.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring13.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-67 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring13-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring13-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring13-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring13.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>completed connector<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-68 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring12-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring12-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring12-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring12.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>I checked which pins make up which coils before wiring the connectors, you will note from the above pictures that the different motor types are also wired differently.<\/p>\n<p>The Y axis motor is a dual shaft motor that has wire tails, so I will just extend these.<\/p>\n<p>This shot shows the X axis motor<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring23.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-69 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring23-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring23-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring23-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring23.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>The other ends of these cables will make use of 4 pin DuPont connectors to attach to the\u00a0<a href=\"http:\/\/blog.protoneer.co.nz\/arduino-cnc-shield-v3-00-assembly-guide\/\">Protoneer<\/a>\u00a0stepper board.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring21.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-70 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring21-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring21-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring21-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring21.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>For the step\/direction signals from the DSP to the <a href=\"http:\/\/blog.protoneer.co.nz\/arduino-cnc-shield-v3-00-assembly-guide\/\">Protoneer<\/a> stepper board I made use of some of the spare cores from the motor wiring, using bootlace ferrules on one end.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring14.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-71 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring14-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring14-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring14-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring14.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>and DuPont 2 pin connectors on the other<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring15.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-72 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring15-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring15-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring15-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring15.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>all 4 cables made up<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring16.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-73 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring16-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring16-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring16-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring16.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>and then wrapped together with some expanding sleeving &#8211; I made sure to label both ends before wrapping them all together.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring17.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-74 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring17-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring17-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring17-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring17.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>cables in place<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring18.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-75 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring18-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring18-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring18-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring18.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>Next I started on the limit switch wiring, this again made use of individual cores from the alarm cable, the X and Y wiring makes use of a shared ground wire but individual signal wires.<\/p>\n<p>The wire cores are soldered to the microswitches on the one end, and have bootlace ferrules on the other.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring20.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-76 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring20-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring20-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring20-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring20.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n<p>This shot shows the Y min, max and X max microswitches, you can also see that the X motor wires, limit switch wires and air tubing are all routed through the energy chain from the base of the cutter to the Y axis gantry.<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring19.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-77 size-medium\" src=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring19-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring19-300x225.jpg 300w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring19-768x576.jpg 768w, https:\/\/blog.hslracing.com\/wp-content\/uploads\/sites\/4\/2020\/04\/Laser-2BWiring19.jpg 800w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>The ammeter is wired in series with the negative for the laser PSU. For the motor wiring, I am using 6 core alarm flex from Wickes, but I pull out 2 of the cores first, I use these elsewhere for limit switches and other low voltage wiring. I have 3 different sets of connectors on&hellip;<\/p>\n","protected":false},"author":1,"featured_media":76,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/posts\/9","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":3,"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/posts\/9\/revisions\/243"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/media\/76"}],"wp:attachment":[{"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hslracing.com\/co2laser\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}