Skip to main content

Show Posts

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

Messages - max0o

1
Project logs / Re: Really universal soldering controller
Hi minkok,

I got hold on better equipment and I was able to measure all the voltages of page 139 as well as the one you mentioned, with the following results:

Always should voltage/measured DC voltage:
U15:8: 3.3V / 3.24V
U15:1/4: GND / 0V
U15:5: 3.124V (independently of Rc2)

Page 139:
U14:2 2.1V  / 2.0V
U12A:3 2.7V / 2.6-2.7V
current through calibration resistor ~380uA, so, voltage drop on it 3.8mV: 0mV !!
U16A:2 3.8mV / 0.68V !!
U18B:5 3.8mV / 0.68V !!
U18A:3 0V / -0.001V
U13A:1 106mV / 3.22V
U17:3 53mV / 1.547V !!
U17:6 1.5V / 3.186V !!

So I guess I have an new problem, the previously working current through the calibration resistor is not existing anymore! Any idea, what might be wrong? If I turn off the PCB and measure the resistance between the sense A and the Vout1- pads, I get the correct 10 ohm.

I guess the measurements above which are way off are to be expected if there is no current through the calibration resistor?

Also I double checked the SCL/SDA pins on all ICs. All have 1.8kOhm to the 3.3V net, which is exactly as expected since it is the pull up resistance. Also there is no short between SDA and SCL since I could measure 3.6kOhm between them (so 2x pull up resistance). So I guess that should definitely be okay.

Best regards
3
Project logs / Re: Really universal soldering controller
[quote author="minkok"][quote author="max0o"][...] Unfortunately it shows only 1023 as the ADC value in the calibration submenu. I already tried to resolder the solderjoints of all the ICs in this region in order to make it less likely that it is a problem of a bad solder joint.. unfortunately no success, still 1023 :/

Any ideas what might be wrong?

Best regards[/quote]
If I can understand you, rotating  RC2 does not change the value of ADC. In that case measure the Vtemp the time of rotating RC2 and look for changing its value. It will give a direction where to look for, before or after that point and will short the search.[/quote]

I tried to measure afedorov's voltages on page 139 with some success, some voltages seemed correct while others were heavily fluctuating - but I guess that's maybe because of a layer of flux residuals which leads to a bad connection to the tips of the multimeter. So I guess I might have to repeat that if I can get hold on some better equipment with finer tips.

Then I tried your approach and measured Vtemp while rotating RC2. This seems to work, I can change Vtemp in the range of 2,x - 3,x V (not sure about the exact voltages, did that a couple of days ago and I had only two hands available for the PCB and the two tips ;)). Is that somewhat correct or what should be the voltage range of Vtemp adjustable by RC2?
Then I assumed if Vtemp seems good then it could be some problem with the bus. But all pins of U15 seem to be soldered just fine as well as all other SCL/SDA pins. I'm not so sure what the problem could be when the analog part seems to be working and the corresponding IC also..
5
Project logs / Re: Really universal soldering controller
New day, no problem ;)

I replaced the broken resistor R53 (I indeed managed to burn off one of its terminals) and I tried to calibrate the Unisolder. Unfortunately it shows only 1023 as the ADC value in the calibration submenu. I already tried to resolder the solderjoints of all the ICs in this region in order to make it less likely that it is a problem of a bad solder joint.. unfortunately no success, still 1023 :/

Also I thought that wenn the ADC shows 1023, it might be due to a missing/broken/wrongly connected pull down. Since the ADC is measuring "Vtemp" (as the only value directly influenced by the trimmer) I also checked the whole chain from Ground to Vtemp at U15 (marked yellow in the attachment) and all resistances are as expected.

Any ideas what might be wrong?

Best regards
6
Project logs / Re: Really universal soldering controller
Turns out it works just fine if you mount R27 and R28 correctly and not rotated by 90 degrees.. at least it now shows "no instrument", but I guess I'll better wait with connecting the iron until I get a new R53.
8
Project logs / Re: Really universal soldering controller
[quote author="afedorov"]max0o, since you're using SH1106 module, first of all you'll have to apply the patch from page 111. Then, in case of complete patch, in block #ifdef DISP_SH1106 of OLED.c change 0xAD,0x8A to 0xAD,0x8B. Next, change the build profile to the one having _SH1106 suffix (depending of desired firmware type - standalone or bootloader). Rebuild and flash.[/quote]

Hi afedorov,

thanks for your help! It took me quite some time today to get everything running, but I was able to change the software accordingly and flash the resulting hex file. The OLED is now indeed working, but unfortunately I'm stuck now with the error code 13. If I see this right in the source code, this means that the PIC is not able to enable I2C 4 since it would show at least "14",  if it would work, am I right?

Code: [Select]
DmaEnable(1);
OLEDPrintNum816(0, 0, 2, 13);
OLEDUpdate();
   
I2CEnable(I2C4, FALSE);
OLEDPrintNum816(0, 0, 2, 14);

I found that that might be related to R63 and 65 mounted in the wrong direction, but that is definitely right. Do you have any suggestion what could be wrong?

Best regards

Edit: There is a slight chance that I fried R53 while trying to resolder all connections in this area due to possible problems, might that be the case?
9
Project logs / Re: Really universal soldering controller
[quote author="afedorov"]max0o, firmware expects display with external VCC supply. If you're using generic module, which uses internal charge pump, you should change display initialization code. It is commented, so you easily find what to change. But of course you have to recompile the code using MPLAB X.[/quote]

Hi afedorov,

thanks for the hint, I wasn't aware that the charge pump might be an issue. Since I'm not much of a software guy: All I have to do is to change "0x8D, 0x10, //disable charge pump" to "0x8D, 0x14," in OLED.c and get hold on this XC32 v1.33 compiler, right?

Best regards
10
Project logs / Re: Really universal soldering controller
I'm at the moment building my own Unisolder station and I finished the soldering and connection of the PCBs so far. Also I was able to flash the PIC32MX by using pickle and the GPIOs of a Raspberry Pi. But in order to facilitate things I bought a fnished SH1106 OLED SPI Module from eBay, like the ones you normally use for Arduinos and stuff like that.

When I now power up the PCBs the OLED is not working (or not showing anything). Is there any easy way to debug this situation without an oscilloscope or other expensive equipment?

Since I was able to flash the appropriate firmware which I found somewhere in the middle of this threat and I bridged all the necessary pads on the front PCB in order to get the signals from the PIC to the pins of the 7 segment displays and I can measure 3.3V between the two pins for the energy supply of the OLED, I think it should show at least something.

Best regards

( ! ) 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.01732372504session_write_close ( )...(null):0
20.01762504080ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01762504856Database_MySQL->query( ).../DatabaseHandler.php:119
40.06192643576Database_MySQL->error( ).../Db-mysql.class.php:273