. .

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I bought a rotational axis ( 4th axis or A axis call it whatever you like) for my CNC with a 4 jaws chuck. I intend to use this as both a 4th axis on my CNC, or as an independent "poor man's lathe". I know, it will be a very primitive lathe with a lot of limitations, but I intend to try it out anyway to toy with and to learn. Maybe later on I'll buy a real lathe as well, but for now this will do. I am sure I can use it for some sort of work, but I will see that later.

    To get the lathe function I had to design a control box. This is based on an Arduino Uno module with a 2x16 lines LCD. It is a very simple design, using only three buttons, one for clockwise rotation start, one for counter clockwise rotation start and of course, one for stop. Stepper acceleration and deceleration is also implemented, with a possibility to select acceleration in 7 steps. The chuck rotation can be adjusted between zero and 380 RPM, which is the maximum. This corresponds to 2280 RPM on the stepper, due to the 1/6 reduction pulley the stepper drives the chuck with. So it is a respectable rotation speed for being a stepper. The rotation speed is set using a rotary encoder and that speed is saved in the EEPROM, so after a power off, the last used rotation speed is restored. The rotary encoder push button is connected to the Arduino reset and acts as an emergency stop, in case there is a need for stopping as fast as possible. Of course, this means no deceleration, just an abrupt instant stop.

    For powering and control I also built a separate PSU, which provides 48V 7A DC through four individual 12V power supplies connected in series. Three of these are 9A supplies, the fourth is though only 7A, which is why the maximum is limited to 7A, but considering that the stepper is only 3A, I figure that the PSU will be good enough for the purpose.

    The PSU box also contains a DM542 stepper driver, which is configured to the maximum current and 2x micro stepping, which results in 400 steps per rev.

    There is also a relay inside the box. This relay decides if the 4th axis is to be driven as A axis by my CNC using UCCNC software, or independently run as a "lathe", controlled from my control box and rotated non-stop until i press the stop button. The relay can be switched from the control box and the default setting (with the relay off) is that the rotational axis is controlled by UCCNC.

    Yesterday I made a short video about testing the control box functions and showing the rotations. I have not used it yet as a lathe, still waiting for some necessary tools before I can do any real tests, but I thought this can be interesting to show as well. Maybe it will give other people some ideas as well.

    I intend to share the Arduino code here as well. It is well commented, so based on the code, the simple box can easily be built by anyone understanding the basics of Arduino. I will need to add some file header information before I post it here, but it will be posted soon.

    I hope you will enjoy watching this video. I will make a new one once I start using it as well.



    Edit:

    If anyone is interested to use the Arduino code, here is a link which you can use to download it:

    https://drive.google.com/file/d/1CJN...ew?usp=sharing
    Last edited by A_Camera; 17-05-2021 at 06:04 PM.

  2. The Following 3 Users Say Thank You to A_Camera For This Useful Post:


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Why is Y axis "squaring" necessary only with twin motors?
    By MartinS in forum Linear & Rotary Motion
    Replies: 10
    Last Post: 09-08-2017, 10:10 PM
  2. BUILD LOG: "Henge", 3 Axis Cnc, Fixed Gantry, Moving Table
    By Greeny in forum DIY Router Build Logs
    Replies: 15
    Last Post: 20-03-2017, 08:43 PM
  3. "Hacking" and "Modding"
    By magicniner in forum General Discussion
    Replies: 15
    Last Post: 07-01-2015, 08:59 PM
  4. Setting up "System 45" 3 axis unit by DIYCNC
    By StevenT in forum LinuxCNC (EMC)
    Replies: 2
    Last Post: 15-10-2014, 03:22 PM
  5. "Racks" VS "ball screw"
    By C.AlveSilva in forum Linear & Rotary Motion
    Replies: 1
    Last Post: 17-04-2012, 11:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •