MDF Rose Engine Lathe 2.0 Instructions Manual

With stepper motor drive

Advertisement

Quick Links

MDF Rose Engine Lathe 2.0
with Stepper Motor Drive
Instructions for Building the
Stepper Controls
Version 1.2
15 December 2020

Advertisement

Table of Contents
loading

Summary of Contents for MDF Rose Engine Lathe 2.0

  • Page 1 MDF Rose Engine Lathe 2.0 with Stepper Motor Drive Instructions for Building the Stepper Controls Version 1.2 15 December 2020...
  • Page 2 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls This document is intended to help one unfamiliar with the MDF rose engine to build one easily. It is designed to go with the kit you can purchase from www.ColvinTools.com.
  • Page 3: Table Of Contents

    Printed Circuit Board ..................................21 Assembly of the Control Box Electronics ............................30 Mounting the Covers ................................... 30 Mounting Electronics to the MDF Base ............................... 31 Switch Settings ....................................42 Stepper Motor Connections ................................43 Attaching the Stepper Motor to the Headstock ..........................45 Assembly of the Nextion HMI Box ..............................
  • Page 4: Getting Started

    As you get started with building this machine, please consider making the machine according to the outlined instructions. There are a boatload of ways you can modify this, and, quite frankly, the MDF rose engine encourages experimentation. But it is best to attempt those modifications after understanding how it works.
  • Page 5: Overview Of Connections

    Can be added later Can be added later The system we supply with the MDF Rose Engine Lathe 2.0 Spindle Drive Option includes: 1. Everything in the Controls Box (the box in blue above) a. Power cord and on/off switch b.
  • Page 6 However, placing all the pieces together in a separate box gives these benefits: 1. This controls box is designed be placed under the bed in the MDF Rose Engine Lathe 2.0 (as shown in the picture to the right {the bed cover is removed}).
  • Page 7: Bill Of Materials

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Bill of Materials Parts required for building this are below. The item numbers are shown in the following drawings using an orange, circled number like the one to the right.
  • Page 8 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Item Source Item Source Part Number Comments 206 GX-16/ 4 Socket May come as a pair of sockets and plugs (i.e., including #214) 207 3.5mm Audio Jack, Female 208 Utility box cover, 2 gang...
  • Page 9 Used on bottom of the 3D- printed enclosure for the Nextion HMI display 406 Sheet Metal Screws, #4, McMaster-Carr 90935A137 These work acceptably in the MDF for 3/4” long, round head the purposes they are designed to be used. 407 Particle Board Screws, #6, McMaster-Carr 91555A115 3/4”...
  • Page 10 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Item Source Item Source Part Number Comments 503 Stepper Motor Pulley 1 Stock Drive Products A 6A55-012DF0908 Attached to the stepper motor (www.sdp-si.com) 5 mm (GT2) Pitch,12 Teeth, 0.25" Bore, 2 Flanges / With Hub, Aluminum Alloy Timing Pulley for .354 (9mm)"...
  • Page 11: Controls Box Enclosure

    Controls Box Enclosure The assembled box has Side 4. A top and bottom made from ¾” MDF, 5. Four sides made from ¼” MDF, and 6. 4 corner posts made from quarter-round trim. Removing the top reveals the box shown to the right.
  • Page 12: Before Assembly

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Before Assembly The following instructions should be followed before assembling the controls box Bottom This is made from ¾” MDF. 16”...
  • Page 13 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls This is made from ¾” MDF. 1 ½” dia (typ) 3” 2 ¾” 2 ¾” 6” 2” 2” 4 ½” 2 ¾” 2 ¾” 4 ½” 16”...
  • Page 14 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls 6 ½” Short Sides (2) There are two of these, and they are made from ¼” MDF.
  • Page 15 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Long Sides (2) There are two of these, and they are made from ¼” MDF. 16”...
  • Page 16 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Quarter Rounds (4) There are four of these, and they are made from any good trim material. These are ½” radius, but that is not terribly critical.
  • Page 17: Assembly

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Assembly Glue the four quarter rounds to the ends of the two long sides. Be certain to: 1. center the quarter round so there is ¾” on each end, and...
  • Page 18: Electrical Plates For Connectors

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Electrical Plates for Connectors Power Infeed Use a 1-gang plate with the hole punched out for the cable strain relief. Secure the power cable in place using the 3/8 in. Twin-Screw Cable Clamp Connector. Wait until later to tighten the screws holding the power cable into place.
  • Page 19 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Stepper Motor Plugs Use a 2-gang plate which is blank. Drill 4 holes which are each ” diameter. Label these as: • Z Axis Z Axis B Axis • B Axis •...
  • Page 20 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Other Plugs Use a 2-gang plate which is blank. Drill 6 holes which are each ” diameter. Label these as: 1” Limit & Home Switches • Limit & Home Switches...
  • Page 21: Printed Circuit Board

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Printed Circuit Board Attach the parts to the Rose Engine Controller Spindle and Three Axes V002C printed circuit board (PCB) using the instructions below. Through-Hole Components, part 1 Solder in the resistors as noted below.
  • Page 22 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Headers for Integrated Circuits Solder in the 2 headers for the Teensy, and the 2 DIP sockets for the integrated circuits. NOTE: The headers must be at 90° to the circuit board. It is necessary to ensure that they remain perpendicular or the Teensy’s pins...
  • Page 23 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Through-Hole Components, part 2 Solder in the components noted below. NOTE: Be sure the capacitor is set correctly. The – side goes in the area shaded white. 100 µF Capacitor R-78E5.0-1.0 DC...
  • Page 24 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Cabling, general This section is about connecting the PCB to the other components via appropriate cabling. This can be done two ways: 1. Best practice recommendation is to put jacks onto the board and connect the wires via the opposite jack end. If you go that route, do consider making the design “dummy proof”.
  • Page 25 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Cabling, part 1 Solder in the cables as noted below. Cabling for DM542T Drivers (4) (same for B, X, & Z) White ¡ GND ¡ DIR Black ¡ STEP/PUL Yellow ¨...
  • Page 26 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Cabling, part 2 Solder in the cables as noted below. Cabling for 24 VDC Power Feed White ¡ -24V ¨ +24V 22 AWG / 2 Cable 15” long...
  • Page 27 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Cabling, part 3 Cabling for Nextion Display Solder in the cables as noted below. ¡ Tx White/Green White/Orange ¡ Rx Orange ¡ GND ¨ +5V Green +5V is closest to the J20 label. The rest are in the order shown in the table.
  • Page 28 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Cabling, part 4 Solder in the cables as noted below. Jumper for Nextion Power Option Red or ¡ JP1 Black ¨ 5V 22 AWG / 2 Cable is 1 ½” long...
  • Page 29 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Cabling, part 2 Solder in the cables as noted below. Cabling for Limit Switches (2) ¡ Pin # ¡ GND White or Black (unused) ¡ 3.3V ¨ 5V (unused) Pins 34 to 39 22 AWG / 2 - Stranded 8”...
  • Page 30: Assembly Of The Control Box Electronics

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Assembly of the Control Box Electronics Mounting the Covers The layout below is recommended. This minimizes cable management issues when used. Limit & Home Switches Z Axis B Axis Spindle...
  • Page 31: Mounting Electronics To The Mdf Base

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Mounting Electronics to the MDF Base Mount the electronics to the base piece of the MDF. DM542T – B Axis LRS-100-24 DM542T – X Axis DM542T – Z Axis DM542T – Spindle...
  • Page 32 Note that the indicating mark should be on the left side. The entire board is secured to the MDF with the ¼” spacers under the 4 corners to place the board so that there is a ¼” gap below.
  • Page 33 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Wiring – Power Supply (LRS-100-24) Power Infeed Conductor Type Stranded copper The power infeed is connected as: Conductor Size 16 AWG (min) Cable Size 3 conductors / cable Wire Color...
  • Page 34 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Power Outfeed terminal block is used to make the installation and maintenance of the system’s components easer. Using a terminal block allows connections to be added, changed, or removed without the risk of any other connections loosening.
  • Page 35 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Power Wiring – Printed Circuit Board (PCB) The PCB is connected to the terminal block for power. The cable from the PCB is already in place from earlier instructions in this document.
  • Page 36 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Power Wiring – DM542T Stepper Motor Drivers (4) Each of the 4 DM542T stepper motor drivers is connected to the terminal block for power. Wire Terminal Block Color DM542T +V terminal...
  • Page 37 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Signal Wiring – PCB to Stepper Motor Drivers (4) Each of the 4 DM542T stepper motor drivers is connected to the PCB via 20 AWG/4 stranded wire. The cable from the PCB is already in place from earlier instructions in this document.
  • Page 38 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Signal Wiring – PCB to RJ-45 Jack for Nextion Display The Nextion HMI is connected to the PCB via an RJ-45 connector. The cable from the PCB is already in place from earlier instructions in this document.
  • Page 39 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Signal Wiring – PCB to 3.5mm Audio Jack for Limit & Home Switches The limit switches are connected to the PCB via a 3.5mm (1/8”) audio female jack. Pins 34 - 39 on the Teensy are used (one for each limit switch).
  • Page 40 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Troubleshooting All the pins in this column of pins are The sleeves of the connected to ground; any could be used. jacks are all effectively connected together as they are all attached to the same metal plate.
  • Page 41 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Signal Wiring –Stepper Motor Drivers to GX-16/4 Jacks (4) Each of the 4 stepper motors is connected to the stepper motor drivers via GX-16/4 Jacks. Conductor Type Stranded copper DM542T...
  • Page 42: Switch Settings

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Switch Settings Set the switches on the DM542Ts as: Purpose Set to Switch Setting 2.8A Peak Current 2.03A RMS Half Current Pulses / Rev 6400 The current could be set higher with this driver; however, the selected NEMA 23 stepper motor does not need that, so it is set thusly.
  • Page 43: Stepper Motor Connections

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Stepper Motor Connections Each of the stepper motors is connected to the stepper motor drivers via GX-16/4 plugs. For the spindle drive, a 3-foot cord is recommended. Stepper motor wire colors shown are for the StepperOnline motors. Check that the one you use matches for the connection needed.
  • Page 44 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Alternatively, you can add a back cover to the stepper motor. This gives a secure way to attach the signal wires to the motor. These are available from a number of sources, and they can even be 3D printed.
  • Page 45: Attaching The Stepper Motor To The Headstock

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Attaching the Stepper Motor to the Headstock The stepper motor attaches to the headstock as shown in the picture to the right. If you purchased the kit we supply, the holes on the left and right are already set properly.
  • Page 46 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Install the timing belt (item #501). NOTE: The picture on the right is of the assembly on the original MDF Snug the bracket so that the timing belt is tight enough that it won’t slip, but not so tight that rose engine lathe.
  • Page 47: Assembly Of The Nextion Hmi Box

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Assembly of the Nextion HMI Box Attach Nextion Display to the Bezel One hole is printed into the back side of the bezel for attaching the Nextion HMI (circled in red to the right). That one needs to be enlarged using a #39 drill to a depth of ”.
  • Page 48 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Attach Parts to the Base Attach the 4 magnets to the base’s bottom. There are 4 insets in the base for these. If the screws protrude into the base, take some efforts to grind or file those sharp points down.
  • Page 49 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Add Wire Cord Grip The cord grip is used to ensure the signal wire does not pull against the Nextion display. Depending on the printing, you may need to drill the whole with a ½”...
  • Page 50 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Signal Wiring – PCB to RJ-45 Jack for Nextion Display The Nextion HMI is connected to the connection box via an RJ-45 Nextion Nextion CAT 5 RJ-45 connector. Using piece of CAT 5 (or greater) wire, 4 feet long, make the...
  • Page 51: System Setup And Program Loading

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls System Setup and Program Loading Step 1 – Get a copy of the Teensy program file Download 4Rose.hex to your computer. Step 2 – Get a copy of the Nextion configuration file Download RoseEngine_14.tft and put it in the root folder of a...
  • Page 52 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Step 3 – Get a copy of the 4Axes.ini settings file Download 4Axes.ini and put it in the root of a second microSD card. Step 4 - Upgrade the Teensy Step 4a Connect the computer to the Teensy.
  • Page 53 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Step 4c Be sure the system shows that the Teensy is connected. This is evident when the Auto button is illuminated green. As noted in step 4a above, if your USB cable is bad, this won’t light.
  • Page 54 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Step 5 – Upgrade the Nextion Secure the microSD card which has the Nextion configuration file (from step 2). Put this microSD card into the Nextion’s microSD card slot. Reboot the Teensy again.
  • Page 55 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Step 7 – Verify the Settings It's a good practice to verify all of the settings once you've completed the steps. 1. Touch the Config button on each page and verify the Teensy column is populated with the same numbers as the Nextion column.
  • Page 56: Finishing It Up

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Finishing It Up Before screwing the bezel to the base, check to be sure everything works. To do that, you will need to use the instructions in the next section to load the programs into all the pieces.
  • Page 57: 4Axes.ini Config File Settings

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls 4Axes.ini Config File Settings ;==================================== ;==================================== ;==================================== [Setup] [Limits] [Main] ;==================================== ;==================================== ;==================================== BoardType=4 ;Limit Switches ;Axis Ids: Microsteps_Spindle=32 Min_Z=34 ;----------------- StepsPer360_Spindle=200 Max_Z=35 ;Z=0 GearRatio_Spindle=9 Min_X=36 ;X=1 Polarity_Spindle=1 Max_X=37 ;B=2 Min_B=38 ;Spindle=3...
  • Page 58 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls ;==================================== ;==================================== ;==================================== [One] [Ind] [Mov] ;==================================== ;==================================== ;==================================== AxisId=3 IndexId=1 AxisId=0 ;Spindle MaxSpeed_Spindle=5070 ;Z Axis MaxSpeed_Spindle=25060 Accel_Spindle=5071 MaxSpeed_Z=5080 Accel_Spindle=20061 SpeedPercentage_Spindle=72 Accel_Z=5081 SpeedPercentage_Spindle=61 ;----------------- SpeedPercentage_Z=82 ;Z Axis ;Division:0 Degrees:2 Distance_Z=3 MaxSpeed_Z=5062 ;Fixed:0 File:1...
  • Page 59 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls ;==================================== ;==================================== ;==================================== [BE] [Sync] [Rec] ;==================================== ;==================================== ;==================================== AxisId=0 AxisId=0 AxisId=0 ;Spindle HelixType=0 RadialOrAxial=0 MaxSpeed_Spindle=5090 Revolutions=.3 ;Spindle Accel_Spindle=5091 Distance=10 MaxSpeed_Spindle=5030 SpeedPercentage_Spindle=92 ;Spindle Accel_Spindle=5031 MaxSpeed_Spindle=5040 SpeedPercentage_Spindle=32 ;Z Axis Accel_Spindle=5041 MaxSpeed_Z=5093 SpeedPercentage_Spindle=42 ;Z Axis...
  • Page 60 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls ;==================================== ;==================================== [Grk] [Geo] ;==================================== ;==================================== AxisId=0 AxisId=0 FileOrPattern=0 RadialOrAxial=0 ;Spindle Rose_n=7 MaxSpeed_Spindle=5020 Rose_d=5 Accel_Spindle=5021 SpeedPercentage_Spindle=22 ;Spindle MaxSpeed_Spindle=5010 ;Z Axis Accel_Spindle=5011 MaxSpeed_Z=5023 SpeedPercentage_Spindle=12 Accel_Z=5024 SpeedPercentage_Z=25 ;Z Axis MaxSpeed_Z=5013 ;X Axis...
  • Page 61: Optional Configurations

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Optional Configurations If you wish to change the designs built into this system, options are outlined below. We do not support systems with such changes, so the user must be aware that they will be responsible for their own technical support.
  • Page 62: Option 2: Alternative Stepper Motor Drivers

    3. Future deliverables (e.g., a curvilinear slide and a spherical slide) for the MDF Rose Engine Lathe 2.0 will be tested to ensure compatibility with the design from above. If the add-on devices do not work with the changed configuration, the owner/builder will be responsible for accommodating the necessary changes.
  • Page 63: Document Version History

    MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls Document Version History Date Comment 15 Dec 20 • Added parts to the bill of materials • Added details on the installation of the 3.5mm phono jacks. 10 Dec 20 •...
  • Page 64 MDF Rose Engine Lathe 2.0 Build Instructions – Stepper Controls To the extent that material may appear to be infringed, we assert that such alleged infringement is permissible under fair use principles in U.S. copyright laws. If you believe material has been used in an unauthorized manner, please contact me at ColvinTools@Gmail.com.

Table of Contents