element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Motors and Drives
  • Technologies
  • More
Motors and Drives
Clem's CNC Control Project The e14 Community has Spoken & the Wonders of Open Source Hardware
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Motors and Drives to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mayermakes
  • Date Created: 22 Nov 2022 9:07 AM Date Created
  • Views 783 views
  • Likes 8 likes
  • Comments 5 comments
  • clone
  • motor control
  • opensource hardware
  • cnc
  • open source
  • clems numerical control
  • mayermakes
  • Actuators
Related
Recommended

The e14 Community has Spoken & the Wonders of Open Source Hardware

mayermakes
mayermakes
22 Nov 2022
The e14 Community has Spoken & the Wonders of Open Source Hardware


The community has spoken.
In the last Blog post I've asked you about the positioning of the electronics cabinet.
And by far the most popular choice was to put it above the whole machine where no splinter, chip or Dash of coolant can go.
So i took that advice and decided to mount the electronics in a 3HE Rack mount enclosure I had in stock
(bought it on occasion for the teletype project on Element14presents, but I did not use it: /challenges-projects/element14-presents/project-videos/w/documents/27606/episode-549-using-a-teletype-machine-as-a-usb-printer-with-arduino)

The 3 HE proved to be exactly (and I mean to the mm) the required height to mount the Power supplies on their side. This allows all 3 Power supplies, the big DM556 Stepper drivers, and a duet2 Ethernet control board as well as the BLDC controller for the spindle to be mounted within this Rack mount enclosure.
Refer to my janky drawn layout diagram and photos.

imageimageimage


the connections to the outside world will be done with a variety of Aviation connectors for the stepper motors, air pump and whatever I want to add later, as well as Ethernet and the 230V Power input.
A Separation inside the case to prevent EMF cross talk might be needed. I hope to get good advise on this topic from you, my dear Readers!

There is still a bit of space left in the case and a question to answer.

How do you connect a duet2 to big external Steppers?
The outputs of the duet 2 are meant to directly drive Stepper motors with the internal TMC2660 Drivers.
We use 3 of these outputs for the Z Axis and the dual rotary Axis(A/B).
But the X & Y Axis need to be interfaced with a STEP/DIR type interface.
Despite there being labeled pins (EN/STP/DIR) next to each driver on the duet2 board, these cannot be used to drive any driver, and are just there as debug points to hook up an oscilloscope.
These points cannot drive the pins of a stepper driver and it would even be the wrong "format" for the DM556 modules.
I have tried years earlier when the duet2 was brand new on the market to utilize them with no success, even hooked up to an amplifier these pins are not suitable.
But there is another row of connections available.

The expansion header is meant to connect to the duex5 and add 5 more motor drivers and other ports to the System.
Duet3D offered a special breakout board for this connector to level shift and reformat the STEP/DIR/EN signals into a usable signal for Big Stepper drivers just like my DM556. I have used this board before when I worked on an industrial 3d printer prototype back in 2018.
Looking up the listing on duet3ds website showed it as out of production. No wonder, since its now generations old and I imagine that the demand for this board was surely not as big as for the actual controller boards.
A quick web search resulted in lots of listings but I did not really trust the sources and the price seemed a bit to high for my taste on any listing i might have considered.

The beauty of open source Hardware.

A click on the documentation solved all of my troubles, the desired breakout board is Open source Hardware.
duet3d posted all the schematics on their Github when the Design was released. it even was done in Kicad.
A download later and some little hiccups with conversion from the old filesystem to the current Kicad 6 system i had a Layout in front of me that I could send directly in production.
But I decided to do something different.
I'm all for building on Open source projects, but I'm also not a fan of straight up Clones, at least not when I can add something to it or make the device a tiny bit better suited for my specific needs.
So I decided to fork the project and design a derivative using the original schematics.

https://github.com/mayermakes/Duet-2-Hardware


My version is a lot bigger than the original design, but is also more convenient to use with chunky drivers and cables.
I've replaced the 2,54mm headers designed for JST plugs (I hate crimping) with 5.08mm spaced chunky screw terminals.
Added a power led for convenience.
Doubled up the expansion header, so in case I wanted to add the duex5 later, I would not have to weirdly splice in another connector on the Ribbon cable like the original was designed to do (covering the other conenctors in the process rather inconveniently.
the secondary header allows to use a separate 50pin Ribbon cable to move on towards a duex5 or just break out any connection I may need in addition to my derivative breakout board.
I ordered the board at Aisler.net which I commonly use for all my PCB needs and got the generic 74 series ICs needed on Farnell.com
The PCB has arrived the day I'm writing this Blog post. So you can expect to see the assembled version in the next one.
imageimage
But before I bolt all the parts down in the box I want to get some feedback from you about my box layout.
Do you think there could be EMF problems?
Would you lead out Ethernet on the back or front?
Should the safety cutoff be on the box or externally mounted on the frame of the machine?
Any recommendations for the power cable?

cheers
Clem

This blog is a part of Clem's CNC Control Project.  Click the Previous button to jump to the previous blog in the series. 

  • Sign in to reply
Parents
  • dougw
    dougw over 2 years ago

    The safety cutoff should be conveniently accessible. If you put it on the box, it might be worth adding an extra connector so you can add an external switch in a more convenient location once you have figured out your workflow.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mayermakes
    mayermakes over 2 years ago in reply to dougw

    so is this a vote for doing two safety cutoffs? one on the box and one on the frame ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 2 years ago in reply to mayermakes

    One should be enough, as long as it is accessible without putting yourself in harm's way.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • dougw
    dougw over 2 years ago in reply to mayermakes

    One should be enough, as long as it is accessible without putting yourself in harm's way.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • mayermakes
    mayermakes over 2 years ago in reply to dougw

    Well if I only do one, then I'd do it on the frame so I dont have to stand right in front of the device in case of risky business to deactivate it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube