DIY DTG - Build your own Digital T-Shirt Printer

 
MetalGuru
Contributor
Posts: 45
Joined: Fri Aug 12, 2016 10:16 pm

Re: OpenDTG Pretreater Control Board

Sat Apr 08, 2017 4:18 pm

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. 
 
MetalGuru
Contributor
Posts: 45
Joined: Fri Aug 12, 2016 10:16 pm

Re: OpenDTG Pretreater Control Board

Tue Apr 11, 2017 10:38 am

What is the code I need to change to increase the max speed of the motor?

Thank you!
 
User avatar
Andy
Site Admin
Topic Author
Posts: 1433
Joined: Mon Jul 25, 2016 5:59 pm

Re: OpenDTG Pretreater Control Board

Wed Apr 12, 2017 7:30 am

MetalGuru wrote:
What is the code I need to change to increase the max speed of the motor?

Thank you!



          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.
 
MetalGuru
Contributor
Posts: 45
Joined: Fri Aug 12, 2016 10:16 pm

Re: OpenDTG Pretreater Control Board

Wed Apr 12, 2017 10:15 pm

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?
 
User avatar
Andy
Site Admin
Topic Author
Posts: 1433
Joined: Mon Jul 25, 2016 5:59 pm

Re: OpenDTG Pretreater Control Board

Thu Apr 13, 2017 6:27 am

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
 
MetalGuru
Contributor
Posts: 45
Joined: Fri Aug 12, 2016 10:16 pm

Re: OpenDTG Pretreater Control Board

Thu Apr 13, 2017 9:39 am

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.
 
MetalGuru
Contributor
Posts: 45
Joined: Fri Aug 12, 2016 10:16 pm

Re: OpenDTG Pretreater Control Board

Thu Apr 13, 2017 8:54 pm

I cut and pasted this part under the length part in case 5.
 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!
 
MetalGuru
Contributor
Posts: 45
Joined: Fri Aug 12, 2016 10:16 pm

Re: OpenDTG Pretreater Control Board

Thu Apr 20, 2017 12:40 pm

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. 
 
User avatar
Andy
Site Admin
Topic Author
Posts: 1433
Joined: Mon Jul 25, 2016 5:59 pm

Re: OpenDTG Pretreater Control Board

Thu Apr 20, 2017 3:14 pm

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

Who is online

Users browsing this forum: No registered users and 1 guest