Dfinitski / N7DDC-ATU-100-mini-and-extended-boards

304 stars 140 forks source link

mini ATU60-5X2 - L1 and L2 relays are constantly energized even during the tuning sequence #97

Closed satfan52 closed 2 years ago

satfan52 commented 2 years ago

Hello,

I have build two N7DCC ATUs, a QRO ATU-1200 (7X2) that works really great up to 1.2 KW, and a QRP ATU-60 (5X2) that has a strange error and does not work very well.

On my ATU-60, the two relays corresponding to L1 and L2 on the schematic diagram are constantly energized even during the tuning sequence, this corresponds to PIN 22 and 23 of the PIC16F1938. So in fact the tuner only "plays" with L3, L4 and L5 during any tuning sequence. As L1 and L2 inductance represent 330 nh, the tuning is clearly sub-optimal especially on high bands.

I have replaced the two 2N7000, the two relays and here is no change, pin 22 and 23 of the PIC16F1938 jump to 5V after I power on the ATU-60, there is nothing I can do to prevent that. I also verified that there is no short-circuit on the PCB. I even have replaced and reprogrammed the PIC16F1938 and there is absolutely no change.

I came to the conclusion that this is either a software programming issue or a hardware issue with the three PIC16F1398 I tried (damaged during soldering ?) .

I tried with the HEX file available from this repository for the 5X2 model as well as with the original HEX file provided by the seller. The problem is the very same, it does not matter what HEX file I use. I also tried with a 7X2 hex file out of curiosity and it is the same story.

I am using a pickit2 programing tool and the latest version of pickit2Plus programming software to write to the 16F1938, could the way I program the PIC be be the explanation for what I am seeing ? The programming of the 16F1938 is always successful with PICKIT2/PICKIT2PLUS and any additional verification I do after the programing is always ok!!! so I don't understand ! Should I have used MPLAB 6.0 and a PICKIT3 or PICKIT 3.5 instead ? What is your view on this ? Thanks .

Regards. Peter/on7yi

Dfinitski commented 2 years ago

Hi, Peter All L relays should be energized if rested, because this shortening infictances.

satfan52 commented 2 years ago

Thanks I understand I will update the title. The point is that when launching a tuning sequence L1 and L2 remain energized all the time so the tuner plays with L3, L4, L5 only.

Dfinitski commented 2 years ago

Start your tuner in manual mode and check again. Power up with pushed down buttons bypass and Auto. If it still there, change associated transistors or change the pic controller.

satfan52 commented 2 years ago

Thanks. I will change the pic controller. I have a PCB with a PIC16F1938-I/SS (SSOP package). These chips are out of stock with Mouser and Digikey and became very expensive (more than 6USD! ) to procure on ebay/aliexpress/taobao. Is there an alternate microchip device I could use ? I checked the PIC18F2520 but it is not available in SSOP package unfortunately :(

Dfinitski commented 2 years ago

No, I don't know what is alternate pic. 6 usd is not so expensive on my mind.