Page 6 of 7

Re: OpenDTG Pretreater Control Board

Posted: Sat Apr 08, 2017 4:18 pm
by MetalGuru
My new nozzle came in, and I am now getting a great even spray!

I am using the 95015evs now. It is even across the whole spray area @ 60PSI.

The reason it was uneven on the edges previously was because  I was using the wrong type of nozzle tip.

I am very happy now.

I got the electronics box from Amazon. 

Re: OpenDTG Pretreater Control Board

Posted: Tue Apr 11, 2017 10:38 am
by MetalGuru
What is the code I need to change to increase the max speed of the motor?

Thank you!

Re: OpenDTG Pretreater Control Board

Posted: Wed Apr 12, 2017 7:30 am
by Andy
MetalGuru wrote:What is the code I need to change to increase the max speed of the motor?

Thank you!

Code: Select all
          speedval = map(speedval, 0, 1023, 1050, 50); // was 1250 and 450
This is on about line 182 depending if you made changes.
1050, 50  are the 2 numbers that control the speed.  Lower numbers make it go faster.
1050 is the slowest speed. 50 is the fastest speed.

Re: OpenDTG Pretreater Control Board

Posted: Wed Apr 12, 2017 10:15 pm
by MetalGuru
Thank you for the info!

So I set 50 to 10 and it did speed up the motor a little bit, however it is still not fast enough.

I am running a nema 17 using 12v powersupply to the Pretreat board.

I also experimented with changing the ejectspeed on the settings tab.

I changed it from 200 to 80. The motor was moving way faster!

However that eject maxspeed is not transfered to the regular max speed.

Is there a way to change the regular maxspeed any other way?

Seems like the high speed value is not being read/interpreted at the correct value from the potentiometer.

What does the other mapping values represent?

Re: OpenDTG Pretreater Control Board

Posted: Thu Apr 13, 2017 6:27 am
by Andy
The reason it is slower during the spray than homing is the time it takes the microcontroller to read the potentiometer every step to get the speed is pretty significant. So no matter how low you put the number there is still going to be that delay from getting the reading.

You can greatly increase the speed by moving the code that reads the speed potentiometer to the same place that it reads the one for length. So when you push the Start button it is going to read the length and speed then do the cycle with those locked in. 

The upside is you can get greater speed. The down side is you won't be able to adjust the speed while it is spraying. 

Hope that makes sense

Re: OpenDTG Pretreater Control Board

Posted: Thu Apr 13, 2017 9:39 am
by MetalGuru
Great!

I will try this tonight.

At current settings/max speed, I am getting about 20g of pretreat. I would like to get it to a minimum of 12-15g hopefully.

Re: OpenDTG Pretreater Control Board

Posted: Thu Apr 13, 2017 8:54 pm
by MetalGuru
I cut and pasted this part under the length part in case 5.
Code: Select all
 speedval = analogRead(speedpot);  
 speedval = map(speedval, 0, 1023, 1050, 50); // was 1250 and 450
The motor/nozzle now moves very fast!

Thank you!

I would probably recommend that as the best way to have the code. Dont think there is much need to adjust the speed while it is spraying? 

All set now! Very stoked!

Re: OpenDTG Pretreater Control Board

Posted: Thu Apr 20, 2017 12:40 pm
by MetalGuru
I have been using my new pretreat machine in full production for past couple days. 
WOW!

My life just got better lol.

Even pretreat and very consistant every spray.

My machine will do fine for now, but after building one, I have some things that I might change.
  • I would use a 1/4 tube from the pump to the solenoid. Get the 1/4 adapters to make it all work correctly.This allows less pretreat needed to fill the tubes.
  • Build in a manual adjustable height for the nozzle level. Similar to the new Viper 1000 or maybe a custom plate that moves the solenoid/nozzle assembly up and down a couple inches
That is about it. 

Re: OpenDTG Pretreater Control Board

Posted: Thu Apr 20, 2017 3:14 pm
by Andy
MetalGuru wrote:I have been using my new pretreat machine in full production for past couple days. 
WOW!

My life just got better lol.

Even pretreat and very consistant every spray.

My machine will do fine for now, but after building one, I have some things that I might change.
  • I would use a 1/4 tube from the pump to the solenoid. Get the 1/4 adapters to make it all work correctly.This allows less pretreat needed to fill the tubes.
  • Build in a manual adjustable height for the nozzle level. Similar to the new Viper 1000 or maybe a custom plate that moves the solenoid/nozzle assembly up and down a couple inches
That is about it. 
I'm glad it's working good. I used a wagner for years and yes the auto sprayers are nice.
As you're seeing the beauty of DIY is you can improve and adapt the machine to your liking and needs. Some people don't want to spend the time to DIY it but for those of us that do there are some perks. I just built me a DIY CNC router and same as with you I have a list of upgrades for it already

Re: OpenDTG Pretreater Control Board

Posted: Sun Jul 16, 2017 4:11 pm
by inksterx
right now i have only manual dtg. i chose build pretreater first seems more simple than auto dtg first.  i use wagner spray and move to diy pretreater i build from here soon. i have many parts and like to test pump and ebay nozzles i have before buying all kit right now here. can i use just arduino with tb6600 driver and wire for test pretreater using download code here?i pay membership before looks like this code i download for pretreater is not complete? i no see all the code line that's speak of here above. only complete code come with buy board here? many confusion as new to build with arduino