Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - afedorov

48
Project logs / Re: Really universal soldering controller
From my understanding, the original -Os optimization level was necessary to fit the firmware into the microctonrollers memory.
If I remember correctly, Sparky really accents that -Os is required. Firmware is highly performance optimized using all sorts of tricks, so maybe some compiler features  are really required for proper functioning. It may be even compiler version dependent. And even without -Os program size is well below 64k.
I assume he also tested if it works on his unisolder
No, it's not tested in hardware. It's just a successful build to prove environment integrity as the discussion was on installing and configuring MPLAB and its stuff. Compiler version was 2.41.
I've tested free v2.41 build just now and it works OK with T245.
49
Project logs / Re: Really universal soldering controller
I've played around a bit with my MPLAB compiler settings and tried enabling optimization (-O2), but that did not change anything either.
Just to clarify, did you tried the original Sparky's HEX files or always play with your custom build?
Can't see how CTemp calculation may be affected by hardware. Though, may be by the wave shaping code somehow. But it can be  disabled by changing WSLength in the iron profile to 0. Or heater resistance compensation, which should be 0 anyway for T245. The rest is basically calculating mV from ADC value and polynomial temperature calculation. It's not hardware dependent in any way. Also, I don't understand how CTemp can change that rapidly. In the moments when it's not at room temperature, it shows pretty much correct readings.
Here is how it should perform.
51
Project logs / Re: Really universal soldering controller
3A fuse for 160VA 110V transformer seems adequate. SC current of it will be about 15-20A anyway. For overload protection thermal fuse is a better choice.
In my build I characterized chosen transformer using this article, and also measured inrush current and then calculated I2t value for fusing using this video.
59
Project logs / Re: Really universal soldering controller
thanks a lot. It should be workable, I could scratch away the mask where needed. Although I probably will wait until an updated version is published. Afterall, I do not think this will improve my current solution with the resistor added to the wire.

What does C1 do in this circuit?
Scratching the mask on fabricated boards doesn't sound right. )
C1 is on power rail for energy storage and decoupling, though it's too far from IC's power pin, but this should not be a problem.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01882449784session_write_close ( )...(null):0
20.01922581408ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01922582184Database_MySQL->query( ).../DatabaseHandler.php:119
40.06292720944Database_MySQL->error( ).../Db-mysql.class.php:273