Arduino controlled coolant nozzles

Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Arduino controlled coolant nozzles

  1. #1
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default Arduino controlled coolant nozzles

    After getting blasted by coolant to many times aiming nozzles.

    This is what i have come up with so far.



    The original plan was to use 555 timer with an RC servo. Then I remembered that an arduino could control RC servos.

    This is my first time using micro controllers and doing any kind of programing(except for some in high school on Tandy PCs).

    I also am making a custom shield to power the servos and hook up air solenoid valves.

    So far it has been working good.

    Similar Threads:


  2. #2
    Registered zamazz's Avatar
    Join Date
    Jan 2013
    Location
    US
    Posts
    164
    Downloads
    0
    Uploads
    0

    Default

    This is a pretty cool idea, but how do you plan to control it. Will you adjust the potentiometers by hand or will you attempt interface it with g code in some fashion. If you were really ambitious you could have it automatically adjust based on the tool offset values (or tool lengths) and even adjust the angle of swing depending on how deep a tool as in the part. What machine and control system will you be putting this on?



  3. #3
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default

    I have no idea how to get the tool lengths from Mach 3 to the Arduino. It took me three weeks just to do the programming.

    The tool changes are done by hand so its not a big deal to reach over and turn the knob .

    Hopefully with the three day weekend I can get it working on the mill.



  4. #4
    Registered
    Join Date
    Jan 2009
    Location
    USA
    Posts
    484
    Downloads
    0
    Uploads
    0

    Default

    Haha, that is awesome.... what a great project. I can't wait to see it mounted up.

    Q: How many tools does it take before a simple task becomes a project?
    A: Just one. I'm the Tool that turns a simple task in to a project.


  5. #5
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default

    Got the shield done last night and tested it for 4 hours today. I did have a problem with some solder bridges. Should have put more space between the traces and the ground plane.

    So far nothing went POOF!

    M1100009.jpgM1100010.jpgM1100013.jpg



  6. #6
    Registered
    Join Date
    Jan 2012
    Location
    Canada
    Posts
    469
    Downloads
    0
    Uploads
    0

    Default

    That is cool I'm not sure how you'd get the tool heights from Mach's tool table, but if I were to look it up, I'd go searching for ModBus and mach brains..



  7. #7
    Registered BAMCNC.COM's Avatar
    Join Date
    Sep 2012
    Location
    USA
    Posts
    1543
    Downloads
    0
    Uploads
    0

    Default

    Very cool, I will be following this. I hope you get something going soon, I'm ready to buy a kit now.



  8. #8
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default

    Nozzles,Arduino , control knobs are installed and working. Still tweeking the angle and limit settings.

    Some times the air valve will just kick in randomly . (may be picking up some noise)



    The air system is not installed. I have to get some fittings and hose. Plus I'm not sure were to put the coolant/air manifold.

    Here's a few pictures.

    M1110001.jpgM1110002.jpgM1110003.jpgM1110004.jpg



  9. #9
    Registered BAMCNC.COM's Avatar
    Join Date
    Sep 2012
    Location
    USA
    Posts
    1543
    Downloads
    0
    Uploads
    0

    Default

    Very cool, can't wait to see it in action.



  10. #10
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default

    video up loaded last night



  11. #11
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default

    So after an archery festival, being sick and the cabin fever expo. I got got some time to clean up the code and add comments. The library metro.h must be downloaded from the arduino website to use the timed air blast feature.

    The shield to power the servos and the solenoid were done in Eagle. (This program is free to down load) The solenoid circut is powered separately from the arduino with a common ground so 24 volt valves can be used.

    For longevity it is best to use an all metal gear servo. I'm using cheap $10.00 servos. If these strip out I will try using the electronics with an H-bridge and a 12v to 24v gear motor.

    Attached Files Attached Files


  12. #12
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default

    I was planing on making something like this from scratch, but I found this high torque servo on ebay



  13. #13
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default

    Some progress on the heavy duty servo housing this weekend.

    The next parts to be made will be the nozzles with hydraulic seals.

    The idea of using a quick connector on the nozzle has been scraped. It was to bulky and looked ugly.

    Attached Images Attached Images


  14. #14
    Registered
    Join Date
    Mar 2009
    Location
    United States
    Posts
    4
    Downloads
    0
    Uploads
    0

    Default

    Have you tried coherent jet flat nozzles for your nozzles as you refine your work. I'd be willing to send you a couple.
    Just let me know the size or the pump size and velocity you are trying for.



  15. #15
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default Re: Arduino controlled coolant nozzles

    Have been researching how to use mod bus with an arduino and got things working. I am now working on making a screen set that can be used to set up a system on any mill using mach3. There will be automatic aiming of the nozzles that adjusts for tool offset,diameter and depth of cut. The math is done through some trig formulas in a brain. It seems to be working good and the numbers are correct. just need to make a testing setup with some servos and card board.

    mach3 screens.jpg

    I am having some trouble figuring out the vb script in a button to turn the nozzles from manual to automatic.

    this works but seems a round about way of doing it.

    If IsOutPutActive(Output6) Then 'Check the state of the output...
    DeActivateSignal(Output6) '...if it's "on", turn it off...
    SetUserLED(2014,0) '...and turn off LED
    Else
    ActivateSignal(Output6) 'Otherwise turn the output "on"...
    SetUserLED(2014,1) '...and turn on the LED
    End If

    Does any body have an example that can work from vb script to mod bus?


    video of my first modbus break through.




    Meany thanks to ger21 for helping with the radians to degrees problems and Zafar Salam's modbus tutorial



  16. #16
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default Re: Arduino controlled coolant nozzles

    Figured out the vb script last night. I guess writing about it helps with the thought process.

    Just toggled the state of the LED and used the LED in a brain.

    If GetUserLED (2014) =1 Then 'Check the state of the LED...

    SetUserLED(2014,0) '...and turn off LED
    Else
    'Otherwise turn the LED "on"...
    SetUserLED(2014,1) '...and turn on the LED
    End If



  17. #17
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default Re: Arduino controlled coolant nozzles

    Making some progress on the screen set and testing it on a card board mock up of my mill. I have each servo at different locations to make sure the math is working correctly. Trying to make it as user friendly and easy to set up.

    Will put together a standard 1024 screen set after the testing is done and post it here so anyone can add it to their mill. It will have the auto aiming and manual aiming features. The hardware is simple and can be built on a prototype board.

    Demo video





  18. #18
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default Re: Arduino controlled coolant nozzles

    I am adding a new page in the screenset for special combos of functions. See my blog for more details.


    Bozidar's Build N Stuff: Servo coolant nozzles



  19. #19
    Registered bozidar22's Avatar
    Join Date
    Feb 2010
    Location
    usa
    Posts
    119
    Downloads
    0
    Uploads
    0

    Default Re: Arduino controlled coolant nozzles

    Finally got this project done this weekend. So far its been working really good.

    I put a Mach3 1024 screen set together for mach3 community to try out. I tried my best to add documentation to make the installing as easy as possible. If there's any problems or questions installing please let me know

    Here's some videos of it working on my mill.









    This is the screen set.

    Attached Files Attached Files


  20. #20
    Registered
    Join Date
    Sep 2010
    Location
    uk
    Posts
    18
    Downloads
    0
    Uploads
    0

    Default Re: Arduino controlled coolant nozzles

    thats pretty cool!

    cheers, john



Page 1 of 2 12 LastLast

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
  •  


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

Arduino controlled coolant nozzles

Arduino controlled coolant nozzles