547,211 active members*
2,969 visitors online*
Register for free
Login
IndustryArena Forum > Other Machines > PCB milling > CNC 3040, JP-382A - Spindle controlled by PWM
Results 1 to 11 of 11
  1. #1

    Join Date
    Jul 2021
    Posts
    4

    CNC 3040, JP-382A - Spindle controlled by PWM

    Hello,
    got to work on spindle control of CNC 3040. It runs on MESA 7i92, controller board is JP-382A. Yesterday I made a PWM signal functional by LinuxCNC on the MESA card and displayed it through pin 17 on oscilloscope. Now am thinking about how to connect that to control the spindle. Any ideas ? Most of the threads here had a spindle board JP-1482, which am missing.
    Thx, Krokrs

  2. #2
    Registered
    Join Date
    Mar 2015
    Posts
    336

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    You could try a PWM to Voltage converter if the spindle motor speed is set by a pot
    There are a lot of modules, this is an example
    https://www.aliexpress.com/item/4000...dfe5bd627b8b-1

  3. #3

    Join Date
    Jul 2021
    Posts
    4

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    Quote Originally Posted by hfjbuis View Post
    You could try a PWM to Voltage converter if the spindle motor speed is set by a pot
    There are a lot of modules, this is an example
    https://www.aliexpress.com/item/4000...dfe5bd627b8b-1
    Well yes, but actually no Spindle motor speed is set by pot, but I would like to control it by that PWM too. My fantasy is, that I would have two options how to control the speed of spindle - pot, but also PWM. The main problem is, that spindle is now not responding to control of PC - when i call M3/M4/M5, it doesn´t do anything,
    Krokrs

  4. #4
    Registered
    Join Date
    Mar 2015
    Posts
    336

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    My fantasy is, that I would have two options how to control the speed of spindle - pot, but also PWM.
    Use the PWM to voltage converter to make an analog signal for the speed. Use a switch to select control by pot or control by PWM.

    I have a similar problem. I want a servo drive on my lathe that is controlled by PWM (0..10 V) for speed settings and by step/dir for high resolution position mode. The Lichuan servo driver is capable of doing this.
    I want control by cnc (pwm and step/dir) and control by hand (pot). I am going to solve it by using an ESP32 processor, and a few buttons and optocoulers. The ESP will take care of selecting the mode on the servo drive and the input (cnc controller or manual). This will also allow setting the speed using telnet.

  5. #5

    Join Date
    Jul 2021
    Posts
    4

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    Thanks a lot,
    i ordered one, so hopefully it will come tomorrow and i will try to make it work. Gonna report later
    Krokrs

  6. #6
    Registered
    Join Date
    Mar 2015
    Posts
    336

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    I have also ordered 3 for my lathe. Delivery time is 10 to 20 working day's.

  7. #7

    Join Date
    Jul 2021
    Posts
    4

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    Hello,
    so it finally comes. It´s smaller than i expected Discovered, that 5V from the MESA is nto enough to source the convertor, so i will need to find other source.

  8. #8
    Registered
    Join Date
    Mar 2015
    Posts
    336

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    The card needs a 12V power supply. I should work on a 9V battery as well, only the output will be around 6V.

  9. #9
    Member
    Join Date
    Jan 2005
    Posts
    12925

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    Quote Originally Posted by Krokrs View Post
    Hello,
    so it finally comes. It´s smaller than i expected Discovered, that 5V from the MESA is nto enough to source the convertor, so i will need to find other source.
    Most VFD Drives have a 10v /12v output that can be used for PWM to analog converters

    Also depending on the VFD Drive you have, some can take and control the speed with the PWM 0- 5v output
    Mactec54

  10. #10
    Member
    Join Date
    Feb 2020
    Posts
    6

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    I have some idea to use pulse clock from mach to setup a spindle motor speed, a nice chip who is pretty old but still made can do generate three fase and drive mosfets for the high voltage part. The frequentie is then clocked, chip make nice three fases.
    Chip is a CD4035A.

  11. #11
    Member
    Join Date
    Sep 2021
    Posts
    3

    Re: CNC 3040, JP-382A - Spindle controlled by PWM

    Hello,
    In the PoLabs team, we did a simple upgrade on the CNC lathe, and here is blog post about how we make it.
    https://blog.poscope.com/cnc-lathe-spindle-motor/
    https://blog.poscope.com/cnc-lathe-spindle-motor-2/
    and also one for Pokeys devices.
    https://www.poscope.com/product/pokeys57cnc/
    Best regards M

Similar Threads

  1. CNC 3020T-DJ Spindle Control, JP-382A JP-1482
    By kb0nly in forum PCB milling
    Replies: 44
    Last Post: 02-15-2021, 03:16 AM
  2. Micro Stepping JP-382A / CNC 3040
    By berlinmille in forum Chinese Machines
    Replies: 0
    Last Post: 08-16-2017, 08:15 PM
  3. Replies: 0
    Last Post: 11-30-2014, 05:16 AM
  4. cnc controlled mandrel bender controlled by mach3
    By timmyb199 in forum Bending, Forging, Extrusion...
    Replies: 5
    Last Post: 05-31-2007, 12:35 AM
  5. PWM controlled surplus spindle motor
    By JFettig in forum General CNC Machine Related Electronics
    Replies: 72
    Last Post: 04-09-2005, 12:26 AM

Tags for this Thread

Posting Permissions

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