{"id":16017292,"url":"https://github.com/njh/linuxcnc-cncdudez-2012","last_synced_at":"2026-02-20T15:32:12.762Z","repository":{"id":12938655,"uuid":"15616522","full_name":"njh/linuxcnc-cncdudez-2012","owner":"njh","description":"LinuxCNC configuration for the CNCDudez 2012 Desktop Mini Muscle CNC Machine","archived":false,"fork":false,"pushed_at":"2021-07-29T17:10:08.000Z","size":11324,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T03:44:15.075Z","etag":null,"topics":["linuxcnc"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/njh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-03T18:34:11.000Z","updated_at":"2021-07-29T17:10:12.000Z","dependencies_parsed_at":"2022-08-28T09:22:23.765Z","dependency_job_id":null,"html_url":"https://github.com/njh/linuxcnc-cncdudez-2012","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/njh/linuxcnc-cncdudez-2012","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Flinuxcnc-cncdudez-2012","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Flinuxcnc-cncdudez-2012/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Flinuxcnc-cncdudez-2012/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Flinuxcnc-cncdudez-2012/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njh","download_url":"https://codeload.github.com/njh/linuxcnc-cncdudez-2012/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njh%2Flinuxcnc-cncdudez-2012/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29655304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linuxcnc"],"created_at":"2024-10-08T16:04:53.407Z","updated_at":"2026-02-20T15:32:12.740Z","avatar_url":"https://github.com/njh.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"linuxcnc-cncdudez-2012\n======================\n\nLinuxCNC configuration for the CNCDudez 2012 Desktop Mini Muscle CNC Machine\n\nThe machine is very similar to the \"Mini Muscle MK2 Routing Machine\" that CNC Design Ltd now sell:\nhttp://www.ukcnc.net/index.php/products/mini-muscle-mk2-routing-machine/\n\nBut I bought \"Option 1\" which only included the aluminium frame.\nI bought and built the electronics seperately myself.\n\n\nCW5045 Microstepping Drivers\n----------------------------\n\nhttp://www.ukcnc.info/forums/showthread.php?1202-Stepper-motor-heat-sinks\n\n\u003e Even though the motors we use on the CNC Mini Muscle Machine are rated\n\u003e at 4.2 amps I set the driver at around 3.7 amps to play safe. So even\n\u003e going slow speeds where the current is at it's peek then they should\n\u003e still not get to boiling point as such.\n\n\n\nConfiguration for the microsteping driver:\n\n| DIP Switch | Setting | Meaning       |\n|------------|---------|---------------|\n| SW1        | Off     | 3.7 Amps      |\n| SW2        | **On**  | 3.7 Amps      |\n| SW3        | Off     | 3.7 Amps      |\n| SW4        | **On**  | Full Current  |\n| SW5        | Off     | 10 microsteps |\n| SW6        | Off     | 10 microsteps |\n| SW7        | **On**  | 10 microsteps |\n| SW8        | **On**  | 10 microsteps |\n\nMore information in the datasheet:\nhttp://cnc4you.co.uk/resources/CW5045.pdf\n\nTiming settings:\n\n| Setting              | Value       |\n|----------------------|-------------|\n| **Step Time**        | 2000 ns     |\n| **Step Space**       | 8000 ns     |\n| **Direction Hold**   | 5000 ns     |\n| **Direction Setup**  | 5000 ns     |\n| **Steps on**         | Rising Edge |\n\nMore here: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?CW5045\n\n\nParallel Port configuration\n---------------------------\n\nI am using a HG08 Parallel Port 'breakout board':\nhttp://www.cnc4you.co.uk/index.php?route=product/product\u0026product_id=300\n\nAll pins are inverted.\n\n\n| Pin | Direction | Breakout Label | Linux CNC Description |\n|-----|-----------|----------------|-----------------------|\n| 1   | Out       | EN             | ESTOP Out             |\n| 2   | Out       | CKA            | X-Axis Step           |\n| 3   | Out       | CWA            | X-Axis Direction      |\n| 4   | Out       | CKB            | Y-Axis Step           |\n| 5   | Out       | CWB            | Y-Axis Direction      |\n| 6   | Out       | CKC            | Z-Axis Step           |\n| 7   | Out       | CWC            | Z-Axis Direction      |\n| 8   | Out       | CKD            | Unused                |\n| 9   | Out       | CWD            | Unused                |\n| 10  | In        | IN4            | ESTOP In              |\n| 11  | In        | IN3            | Both Limit + Home X   |\n| 12  | In        | IN2            | Both Limit + Home Y   |\n| 13  | In        | IN1            | Both Limit + Home Z   |\n| 14  | Out       | RLY            | Spindle On            |\n| 15  | In        | IN5            | Probe In              |\n\n\nParallet Port breakout board datasheet here:\nhttps://github.com/njh/linuxcnc-cncdudez-2012/raw/master/docs/HG08.pdf\n\n\nStepper Motor Wiring\n--------------------\n\nI am using 57HS82-3008B 2.2Nm Stepper Motors, wired in Bi-polar parallel mode.\nThey are connected to the control box using 4-pin XLRs.\n\n![XLR 4 Pinout](https://github.com/njh/linuxcnc-cncdudez-2012/raw/master/docs/xlr4_stepper.png)\n\n| XLR Pin | Description | Cable Colour | Stepper Motor colour |\n|---------|-------------|--------------|----------------------|\n| 1       | A+          | White        | Red + Blue           |\n| 2       | A-          | Yellow       | Yellow + Black       |\n| 3       | B+          | Brown        | White + Brown        |\n| 4       | B-          | Green        | Orange + Green       |\n\nStepper motor datasheet here:\nhttps://github.com/njh/linuxcnc-cncdudez-2012/raw/master/docs/57HS82-3008B.pdf\n\n\nInput Connector Wiring\n----------------------\n\n![Mini XLR-3 Pinout](https://github.com/njh/linuxcnc-cncdudez-2012/raw/master/docs/mini-xlr3_input.png)\n\n| Mini XLR Pin | Description  | Cable Colour |\n|--------------|--------------|--------------|\n| 1            | Shield       | Shield       |\n| 2            | +5v          | Red          |\n| 3            | Input Signal | Black        |\n\n**Do not use Pin 1 / Shield as ground / 0v**\n\nNote that the pin-out of a mini XLR is slightly different to a normal XLR.\n\n\nTimings and Velocity\n--------------------\n\nThe PC I am using has a [D945GSEJT] motherboard with a Intel Atom N270 CPU @ 1.60GHz.\nSadly I have had some trouble with high Jitter in the latency tests - this mainly seems \nto occur when doing other operations, such as transferring files and waking from sleep.\n\n|                       | Max Interval (ns) | Max Jitter (ns) |\n|-----------------------|-------------------|-----------------|\n| Server Thread (1.0ms) |           1067369 |           76089 |    \n| Base thread (25.0us)  |             61272 |           36490 |\n\nWhile I could achieve some quite high velocities, without loosing steps, \nduring testing using [Stepconf], I experienced problems with stalling which using the main \nLinuxCNC interface. I have therefore decided to set my __Base Period Maximum Jitter__ \nvalue to **40,000 ns**.\n\nI am also limiting the maximum velocity to **1800 mm/min** (30 mm/sec).\nWhile testing the acceleration, I was unable to find a value that caused problems, so I \nhave set all axes to **500 mm/s\u003csup\u003e2\u003c/sup\u003e** for now.\nI suspect that it may be possible to have a much higher value - I'm not sure \nhow this would affect cutting times.\n\n\nOther Notes\n-----------\n\n* Steps per revolution: 200\n* Driver Micro-stepping: 10\n* Pully Teeth (Z axis): 1.0 : 1.0\n* Ballscrew Pitch: 4mm per revolution\n\n\n\n[D945GSEJT]:   http://www.intel.co.uk/content/www/uk/en/motherboards/desktop-motherboards/desktop-board-d945gsejt.html\n[Stepconf]:    http://www.linuxcnc.org/docs/html/config/stepconf.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjh%2Flinuxcnc-cncdudez-2012","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjh%2Flinuxcnc-cncdudez-2012","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjh%2Flinuxcnc-cncdudez-2012/lists"}