Welcome to Our Community

Some features disabled for guests. Register Today.

Software speed control of a brushless dc (Bldc) motor from Mach3.

Discussion in 'Other Builds' started by Tweakie, May 21, 2014.

  1. Roni Bensimon

    Builder

    Joined:
    Apr 4, 2020
    Messages:
    2
    Likes Received:
    0
    Hi All

    I am trying to build this controller with not much success, I have all the parts including the PIC programmer, but just can not make it work.

    Can anybody help please?



    Regards

    Roni
     

    Attached Files:

  2. Roni Bensimon

    Builder

    Joined:
    Apr 4, 2020
    Messages:
    2
    Likes Received:
    0
    Hi Robert

    Can you please help me with the controller?

    [email protected]

    Regards

    Roni
     
  3. Mehdi Hassan

    Builder

    Joined:
    Aug 11, 2023
    Messages:
    1
    Likes Received:
    0
    Hello, I am new to this place. My baby have a toy which has a dc brushed motor driven by mosfet through pwm signal from a controller circuit. The dc motor damged and I'm planning to replace it with a bldc motor. But can't figure out how to write program for this microcontroller. I also have pic12F683 mcu and little knowledge about programming in C to try. Is it possible to share the actual code so that I can try to build my own solution for this?
    Thanks in advance.
    Regards.
    Mehdi
    [email protected]
     
  4. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    784
    Likes Received:
    259
    I think you are in the wrong forum. We do CNC work and but don't really do code work unless it's G-code which is totally different from what you are looking for.
     
  5. bogaskilop

    Builder

    Joined:
    Apr 8, 2017
    Messages:
    1
    Likes Received:
    0
    Hello all

    I recently made this controller and I'm having difficulties with mach3 configuration as manual speed control is working fine with the potentiometer but for some reason I can not get it working with mach3 and my test RnR motion controller [​IMG]

    I connected one wire to GND on this board and second to output 4 I deselected output 4 in output signals in mach and in motor output / spindle use :
    Step pin #4 Dir Pin#0 Dir LowActive # X (red X) Step Low Active # X Step low Step Port # 3 Dir Port # 0

    Kernel is set to 25000 Hz
    Spindle setup / selected: use spindle motor output and PWM Control selected , PWM base Freq # 500
    Relays controls and flood mist control are disabled

    because I measured motor speed I put in pulley max RPM of that motor witch is 10970

    but when I execute S10000 and M3 motor is not running unfortunately

    Any ideas where I made some error ?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice