Need Help! Mach3 ---> Brushless ESC interface with arduino? - Page 2


Page 2 of 2 FirstFirst 12
Results 21 to 35 of 35

Thread: Mach3 ---> Brushless ESC interface with arduino?

  1. #21
    Registered
    Join Date
    Jan 2015
    Location
    Germany
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Help-me...

    Hello Kretov,

    I try it to run with ESS Smoothstepper, is that possibel..?

    Greetings



  2. #22
    Registered
    Join Date
    Feb 2011
    Location
    Russian Federation
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: Help-me...

    Quote Originally Posted by frareg View Post
    I try it to run with ESS Smoothstepper, is that possibel..?
    Hello Frareg,

    I don't have the ESS Smoothstepper, so I can't test it myself, but from its description I understood that this is a CNC machine control board with Ethernet or USB interface, which connects to Mach3 using the plugin. As I read its description, the Smoothstepper has an output for Spindle, so you can use it with my device. You should set the spindle to PWM mode. Use the same frequency of 350 Hz, as for LPT device. This should work. As the brushless controller has its own optocoupling, you can connect the converter directly to Smoothstepper.
    Please let me know if you have any questions and the results, of course. It would be interesting!

    Best regards!



  3. #23
    Registered
    Join Date
    Dec 2005
    Location
    USA
    Posts
    430
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    I have an RCNC that I got working with the USB smoothstepper.



    Shaun
    my x2 conversion ------> http://www.cnczone.com/forums/showthread.php?t=36403


  4. #24
    Registered
    Join Date
    Feb 2011
    Location
    Russian Federation
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    That's great!



  5. #25
    Registered
    Join Date
    Jan 2015
    Location
    Germany
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Hello Kretov and all User,

    thanks for the answer, yes I have build the little circuit and will now testing that, but I see by skmetal7 that it works fine..
    I dont now by my ESS Smothstepper is have no direct pin for PWM, so I must testing that..
    This weekend I have many time for that..:-)
    But I send my result here in next time..

    Nice Weekend for all

    Frank



  6. #26
    Registered
    Join Date
    Jun 2009
    Location
    ARGENTINA
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Kretov Hello, firstly, thank you very much for sharing your experiences and knowledge.
    Almost two years ago I'm building a spindle with bldc motor and my work is hampered by the interface, and now want to use your interface and I have the problem that I can not get the 12F629, and yes the 12F675, but I have no way compile the code that you wrote (and I downloaded the source).
    I want to ask if you can compile the code for 12F675 and upload.
    From already thank you very much!



  7. #27
    Registered
    Join Date
    Jun 2009
    Location
    ARGENTINA
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Hallelujah! I got the 12F629.
    Thanks Kretov and apologies if you did lose time ...



  8. #28
    Member RickMc's Avatar
    Join Date
    Jan 2011
    Location
    USA
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    How do you program the PIC16F629 controller, if you don't have a programmer?

    Great solution.



  9. #29
    Registered
    Join Date
    Feb 2011
    Location
    Russian Federation
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Hello all,

    As per some requests, here are hex files for both 12f629 and 12f675 controllers.

    Attached Files Attached Files


  10. #30
    Member jalessi's Avatar
    Join Date
    Feb 2007
    Location
    United States
    Posts
    4553
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Kretov,
    Is the PCB identical for either PIC?
    Thank you
    Jeff...


    Quote Originally Posted by kretov View Post
    Hello all,

    As per some requests, here are hex files for both 12f629 and 12f675 controllers.


    Patience and perseverance have a magical effect before which difficulties disappear and obstacles vanish.


  11. #31
    Registered
    Join Date
    Feb 2011
    Location
    Russian Federation
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Yes, the PCB is the same.



  12. #32
    Member
    Join Date
    May 2011
    Location
    Europe - italy
    Posts
    37
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Quote Originally Posted by kretov View Post
    The converter is connected between any available LPT output pin and ESC. Provided that large speed controls for large brushless motors usually do not have BECs, the ESC's BEC is not used and not connected. The device uses +5V power supply from BOB or PC.
    The scheme and PCB layout are simple. I have used my CNC mill to engrave the PCB
    Hi Kretov, I have a brushless motor , ESC controller up to 70A power with power supply PSU 12V, 30A, and I need pilot ON/OFF nad speed the motor with mach3 and my BOB 5axis. I not know how to wire among them. Can you help me with more details with a little scheme how to make ? I have a ST-V2 breakboard. Thanks



  13. #33
    Registered
    Join Date
    Feb 2011
    Location
    Russian Federation
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Hi Walkit,
    Here is the high-level scheme or the connection.
    Mach3 ---> Brushless ESC interface with arduino?-connection-jpg
    You connect:
    • input of the converter to the LPT output pin of your choice (the one configured in Mach3), output of the converter - to the signal input of the ESC.
    • ground of the converter with the ground of LPT port.
    • do not connect the signal power pin of the ESC, especially if it has BEC.
    • use +5V power source to power up the converter. I just used the +5V from the PC's power supply.
    • connect input power +12V of the motor power source to the power inputs of the ESC.
    • connect phase outputs of the ESC to the motor.
    • you don't need to connect grounds of the 12V power source and the signal/PC on purpose. They are different, isolated circuits.
    • color coding in the drawing does not have a particular meaning. Actual colors of wires might be different.

    I am not familiar with ST-V2 breakboard. Could you please direct me to the URL, where I could have a look at it? Brief search in the web has not brought any relevant results.
    The schematics of my controller has no dedicated on/off switch, but when setting PRM to 0, the ESC will switch off the motor, according to its brake settings. For the machine tool I prefer to switch the brake off.
    Hope that helps.



  14. #34
    Member
    Join Date
    May 2011
    Location
    Europe - italy
    Posts
    37
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    good help
    I use this 5 axis breakboard with mach3:
    LinuxCNC Mach3 Breakout Board - ijohnsen.com Info...



  15. #35
    Registered
    Join Date
    Feb 2011
    Location
    Russian Federation
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 ---> Brushless ESC interface with arduino?

    Hi,
    I have looked at this breakout board's manual. Looks like the PWM to spindle control is taken from the LPT pin #1 and outputted to "Spindle on/off control interface". I would recommend to set it up and check it with a scope first. There should be a square PWM with a frequency specified by "Kernel speed" setting on page 4 of the manual and "pulley settings" at page 8. You can refer to the Mach 3 settings for the converter in the beginning of this post - they should override the settings from the breakout board manual, except the pin number - it is #1, according to the documentation.
    If, after turning the spindle on in Mach 3, you will not see the reasonable 5V PWM with 50% duty and amplitude of 5V, then something is confused in the manual and we'll have to look for another pin.
    Also, see +5V and GND outputs in the bottom-right corner of the breakout board. You can use this ground and power for the converter.
    I myself used another Chinese breakout board, with in-built stepper motor drivers. That one had no spindle control at all, and i connected the converter directly to the pin on LPT port. I had to buy an additional PCI LPT controller board for it and more inputs/outputs.



Page 2 of 2 FirstFirst 12

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Mach3 ---> Brushless ESC interface with arduino?

Mach3 ---> Brushless ESC interface with arduino?