Arduino controlled coolant nozzles
After getting blasted by coolant to many times aiming nozzles.
This is what i have come up with so far.
http://www.youtube.com/watch?v=2BPeNx3m9l0
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.
1 Attachment(s)
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.
Attachment 241922
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.
https://www.youtube.com/watch?v=_tZ0...ymd_15wWIhGyHg
Meany thanks to ger21 for helping with the radians to degrees problems and Zafar Salam's modbus tutorial
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
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
https://www.youtube.com/watch?v=UOZeWgxk0iE&list=UUcIK-PynOymd_15wWIhGyHg
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
1 Attachment(s)
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.
https://www.youtube.com/watch?v=Irc5...ymd_15wWIhGyHg
https://www.youtube.com/watch?v=Ixcc...ymd_15wWIhGyHg
This is the screen set.
Re: Arduino controlled coolant nozzles
thats pretty cool!
cheers, john