Really universal soldering controller

A place to document your own projects.

Re: Really universal soldering controller

Postby WSlomo » Mon Feb 11, 2019 6:37 pm

eldemo72 wrote:Hey everyone,

I have taken the liberty to update the unisolder-chips web tool. Now it is much cleaner design and more informative (I have added some information from the unisolder-notes repository too in regards to some components). Feedback welcome.

Image

Very nice job, tool it's very useful.
You should replace Ra .. Rg with 0ohm resistor or just short pads with solder.
DS1(firs row of solder jonts ) and DS3(last row of solder jonts) should be replaced with gold pin sockets. DS2 should be removed.
Q15, Q17 should be also removed.
Could you also add second side of front PCB and mark pads that you need to short with solder.
WSlomo
Newbie
Newbie
 
Posts: 5
Joined: Sat Feb 02, 2019 3:50 am

Re: Erratic HOLDER temp

Postby minkok » Tue Feb 12, 2019 1:08 am

salavat wrote:Thanks for clarifying, so basically hibernation would not work in any shape or form unless supported by firmware?

yep, basically software - needs to be assigned new input pin for it ( let say pin4 - CN8 ), new function Hibernation ( the same like "sleep", interrupt point for the function ( at this point needs to stop completely the heater, only at that point differs from "sleep"), display message and return vector. At hardware level is the same as pin8 - CN11, unfortunately I don't have enough knowledge and that is only suggestions.
And most important is to refine the code to support quick tip exchange.
minkok
Full Member
Full Member
 
Posts: 193
Joined: Wed Jun 21, 2017 11:54 pm

Re: Really universal soldering controller

Postby roor » Tue Feb 12, 2019 3:15 am

Doomedahab wrote:
Tony wrote:Hey

Now I did as you wrote, it should be OK. I tested, it works properly.

Tony

roor wrote:Thnx, but it is not the same, now all menu is switched. If you can compile from source, then apply my changes please and make a build, or anyone else


Hi Tony,

Thanks for the change, but still it's not perfect. if you go 1 level deeper in the menu the "up" button still is programmed to decrease the value and vice versa. For instance if you want to change t1 value. Can you maybe change that behaviour as well so it is consistent?


If i understood problem correctly, here is a fix

menu.c
line 225
change
Code: Select all
if(BTicks[0].d && (pars.b[CPar] < ParDef[CPar].Max))pars.b[CPar] += 1;
if(BTicks[2].d && (pars.b[CPar] > ParDef[CPar].Min))pars.b[CPar] -= 1;

to
Code: Select all
if(BTicks[0].d && (pars.b[CPar] > ParDef[CPar].Min))pars.b[CPar] -= 1;
if(BTicks[2].d && (pars.b[CPar] < ParDef[CPar].Max))pars.b[CPar] += 1;


line 237
Code: Select all
if(BTicks[0].d && (IronPars.Config[0].CurrentA < 256)) IronPars.Config[0].CurrentA++;
if(BTicks[2].d && (IronPars.Config[0].CurrentA > 0)) IronPars.Config[0].CurrentA--;

to
Code: Select all
if(BTicks[0].d && (IronPars.Config[0].CurrentA > 0)) IronPars.Config[0].CurrentA--;
if(BTicks[2].d && (IronPars.Config[0].CurrentA < 256)) IronPars.Config[0].CurrentA++;


so it should change changing values in menu for general settings and calibration as well

Tony, can you make another build :D, and test it first, because i'm not 100% sure that it'll work but should. Would love to see this build as well, since i didn't tested previous build in menu for values.
Last edited by roor on Tue Feb 12, 2019 7:27 am, edited 2 times in total.
roor
Newbie
Newbie
 
Posts: 19
Joined: Mon Feb 04, 2019 5:23 am

Re: Really universal soldering controller

Postby Tony » Tue Feb 12, 2019 5:08 am

Hi roor

Unfortunately, there are some errors on the T1 to BRIGHTNESS menu. It's best if you see it yourself. Write what OLED you have SH1106 or SSD1306.

Tony

roor wrote:...Tony, can you make another build :D, and test it first, because i'm not 100% sure that it'll work but should. Would love to see this build as well, since i didn't tested previous build in menu for values.
Tony
Newbie
Newbie
 
Posts: 31
Joined: Sun Mar 11, 2018 12:04 pm

Re: Really universal soldering controller

Postby roor » Tue Feb 12, 2019 7:28 am

i have SSD1306

I have edited previous solution, now should be all fine, thnx for testing, was quite stupid error
roor
Newbie
Newbie
 
Posts: 19
Joined: Mon Feb 04, 2019 5:23 am

Re: Really universal soldering controller

Postby Tony » Tue Feb 12, 2019 8:58 am

Roor
It works, beautifully. I do not see any errors. Thank you on behalf of the UniS group. How would you find a line where you can change the MENU opening time. It would be great.
Tony

roor wrote:I have edited previous solution, now should be all fine, thnx for testing, was quite stupid error
Attachments
SH1106_plus or minus changed_OK.zip
(82.75 KiB) Downloaded 53 times
SSD1306_plus or minus changed_OK.zip
(82.6 KiB) Downloaded 53 times
Tony
Newbie
Newbie
 
Posts: 31
Joined: Sun Mar 11, 2018 12:04 pm

Re: Really universal soldering controller

Postby roor » Tue Feb 12, 2019 10:11 am

thnx for build, Tony
Tony wrote:How would you find a line where you can change the MENU opening time. It would be great.


I would say it is
line 116
for opening
Code: Select all
if((BTicks[1].o <= 100) && (BTicks[1].n > 100))


for closing
line 202
you need to change those pars of 100, i would say less value less time

but for me it is not clear what "o n d" states of buttons are
open, double, none? i have no clue
roor
Newbie
Newbie
 
Posts: 19
Joined: Mon Feb 04, 2019 5:23 am

Re: Really universal soldering controller

Postby Tony » Tue Feb 12, 2019 12:40 pm

Roor

See line 206, for me it changes the menu time.

Tony
Tony
Newbie
Newbie
 
Posts: 31
Joined: Sun Mar 11, 2018 12:04 pm

Re: Really universal soldering controller

Postby eldemo72 » Tue Feb 12, 2019 12:54 pm

WSlomo wrote:You should replace Ra .. Rg with 0ohm resistor or just short pads with solder.

I've actually added a note that appears below, when R[a-g] is selected, I might edit it to make the 47 ohm value disappear completely to avoid confusion.
WSlomo wrote:DS1(firs row of solder jonts ) and DS3(last row of solder jonts) should be replaced with gold pin sockets. DS2 should be removed.

Good idea, i will make an update once I am able too and make a special note appear when clicked that states how should the OLED be inserted as well as the lack of support for LED displays by the firmware.
WSlomo wrote:Q15, Q17 should be also removed.

I've added notes in regards to these (when these are clicked on or found by typing the designator, a note appears below and tells that they shouldn't be installed).
WSlomo wrote:Could you also add second side of front PCB and mark pads that you need to short with solder.

Sure, I'll add it with the next release!

salavat wrote:Great tool, helped me a lot in assembling Unisolder. The first version had couple errors as compared to BOM (caps value was incorrect the one I remember), I do not remember which exactly. Have they been fixed in this one?

Since I've completely remapped the components, the wrong values should be gone (the only thing that is the same, are the javascript search functions from the original unisolder-chips, everything else was changed).
eldemo72
Newbie
Newbie
 
Posts: 3
Joined: Sat Feb 09, 2019 3:15 pm

Re: Really universal soldering controller

Postby jvolk » Tue Feb 12, 2019 1:01 pm

minkok wrote:try to re solder with an iron ( not by hot air ) U11 and U15 and U5/ pin11


salavat wrote:'iron heats up while 26 C is shown' - you probably reversed plus and minus wires for iron heater somewhere.
'jumpy readings' - read one my posts above - the reason could be in bad soldering, resolder again those mentioned in the post chips.


I checked all the pins and measure traces between components and all seems OK.
I checked heater connection and is connected properly.

I hooked up C245, but without middle connection (heater disconnected) and went to calibration menu. When it was cold ADC shows 0. Then I heat up iron with another iron up to 350°C and ADC value is rising steady and slowly up to 300 and over. I believe ADC part is working but when I connect heater and go to the main screen temperature stays at ~20 °C. I believe it has to do something with switching between heating and measuring temperature, but I can't figure it out where to check.
jvolk
Newbie
Newbie
 
Posts: 2
Joined: Sun Feb 10, 2019 9:59 am

Re: Really universal soldering controller

Postby roor » Tue Feb 12, 2019 2:16 pm

Tony wrote:Roor

See line 206, for me it changes the menu time.

Tony

for me its look like it is time for returning from menu if no buttons are clicked, but if it does what you have asked then it can be timer for button press, good find
unfortunately i cannot debug it on mine machine, if i would it would be much easier to find proper property
roor
Newbie
Newbie
 
Posts: 19
Joined: Mon Feb 04, 2019 5:23 am

Re: Really universal soldering controller

Postby Tony » Tue Feb 12, 2019 2:31 pm

Roor

Menu long time, plus patches + and -
I changed lines 206 and 207. Now it's OK

Tony
Attachments
SSD1306_Standalone_menu a long time.zip
(43.44 KiB) Downloaded 35 times
Tony
Newbie
Newbie
 
Posts: 31
Joined: Sun Mar 11, 2018 12:04 pm

Re: Really universal soldering controller

Postby minkok » Wed Feb 13, 2019 1:08 am

jvolk wrote:
minkok wrote:try to re solder with an iron ( not by hot air ) U11 and U15 and U5/ pin11


salavat wrote:'iron heats up while 26 C is shown' - you probably reversed plus and minus wires for iron heater somewhere.
'jumpy readings' - read one my posts above - the reason could be in bad soldering, resolder again those mentioned in the post chips.


I checked all the pins and measure traces between components and all seems OK.
I checked heater connection and is connected properly.

I hooked up C245, but without middle connection (heater disconnected) and went to calibration menu. When it was cold ADC shows 0. Then I heat up iron with another iron up to 350°C and ADC value is rising steady and slowly up to 300 and over. I believe ADC part is working but when I connect heater and go to the main screen temperature stays at ~20 °C. I believe it has to do something with switching between heating and measuring temperature, but I can't figure it out where to check.

Did you still get 21 error for a while?
Did you re solder U11 and U15? - re solder also R49, 50 and C66
Remove the iron, connect the calibration resistor and go to cal. menu - measure the senseA the time of jumps of adc and if it jumps also, re solder U10 and U12 and surrounding components.

read that also, from afedorov:
"The current through a 10 Ohm resistor in calibration mode should be about 380uA, thus voltage drop on it should be about 3.8mV. If it is not so, current source is not working properly (U10, U12, U14, Q22).
If it is OK, go along the signal path and measure voltages. U16:3=3.8mV, U16:8=0V, U16:13=3.8mV, U16:18=0V; U13:1=108.5mV; U17:6=1.53V
All values are calculated/simulated, so real measurements may vary slightly".
minkok
Full Member
Full Member
 
Posts: 193
Joined: Wed Jun 21, 2017 11:54 pm

Re: Really universal soldering controller

Postby roor » Wed Feb 13, 2019 2:00 am

Tony wrote:Roor

Menu long time, plus patches + and -
I changed lines 206 and 207. Now it's OK

Tony

Hi Tony,
for me line 207 is
Code: Select all
if(BTicks[0].n == 1)CPar++;

why do you changed it?

BTW, why you not like standard time, to long to short?
roor
Newbie
Newbie
 
Posts: 19
Joined: Mon Feb 04, 2019 5:23 am

Re: Really universal soldering controller

Postby Tony » Wed Feb 13, 2019 12:48 pm

Hi Roor

When I changed line 206, time difference worked only in main menu. Changing
different parameters, like temperature, caused menu timeout to be the same.
To solve this I had to edit line 222.

Why did I change? Good question. Many times I struggled to switch
parameters in 5 seconds windows, therefore I modified this value to 7
seconds. Last Hex had 20 seconds window, which I find way too long - this
was only for testing purposes.
Obviously when working with UniS, there is no need to mess with menus.
Summing up UniS is an excellent device which has very intuitive menu. Also
there is always the possibility to modify the code and at least but not
last - if anything gets broken, we can always fix it.

In my case lines 206 and 222 looks like following

Code: Select all
ModeTicks = 450; // It was 250, it is 450. It changes the MENU time.

Code: Select all
if(BTicks[0].n | BTicks[1].n | BTicks[2].n) ModeTicks = 450; // It was 250, it is 450. It changes the MENU time.
Tony
Newbie
Newbie
 
Posts: 31
Joined: Sun Mar 11, 2018 12:04 pm

PreviousNext

Return to Project logs