¿ªÔÆÌåÓý

Date

Carriel 7.199 khz

 

Good evening, friends.I found at www: Ozqrp.com. A DDS Si5351A-B-GT clock generator, with an interesting OPTIONAL ATTENUATOR LOW PASS FILTER BOARD. This could be the solution to the carrier problem at 7,199 kHz. I have in test a DDS with AD9850 and a PIC16F628A also I have the carrier in 7,199 khz.
Good night, have a good rest.

cx4ol7cx3cc


Re: bitx40 display flashes and audio clicks when powered on.

 

John, you are absolutely right in How/when it happens. as for RV1 mine was cranked almost all the way up (turned almost all the way counter-clockwise) I am going to try and pull the mosfet tonight and see if the problem persists with the PA power hooked up to the board. I've got a proper power supply (adjustable) to use on it now as well.?
On a side note, I shorted the two PTT pins "as if pushing the ptt button" and the relay clicks, right when the unit flashes on for a second but of course clicks off when the unit powers itself down. so I'm assuming the relay is ok. I have found no solder bridges or other shorts to mention, I even checked with a magnifying glass so that I wouldn't miss those pesky little solder balls that are notorious for "unknowns" I'll post my findings tonight when I get a chance to troubleshoot further.
73's
KE0AJP

On Wed, Feb 15, 2017 at 5:38 PM, John Backo via Groups.Io <iam74@...> wrote:
True, Jerry.

He turns on power, the rig clicks and turns off, and after REMOVING the PA power, RX is ok when power is applied.
This is almost certainly the output transistor going into avalanche. What is amazing is that it didn't blow up. I suspect that is
because the IRF510 can take about 4.5A continuous current, but he is only feeding it 1.5A. The regulated voltage shuts
down before heating can destroy it completely. In any event, that is not a proper way for any decent MOSFET to act. Hi.

There still might be another problem. Hmm...maybe a solder bridge drain to gate? Or VHF oscillation? How interesting...
I am beginning to think that it might all come back to RV1. Mine happens to have the slot aligned with the "B" of Bourns.
One wonders where his is?

john
AD5YE





Re: bitx40 display flashes and audio clicks when powered on.

 

True, Jerry.

He turns on power, the rig clicks and turns off, and after REMOVING the PA power, RX is ok when power is applied.
This is almost certainly the output transistor going into avalanche. What is amazing is that it didn't blow up. I suspect that is
because the IRF510 can take about 4.5A continuous current, but he is only feeding it 1.5A. The regulated voltage shuts
down before heating can destroy it completely. In any event, that is not a proper way for any decent MOSFET to act. Hi.

There still might be another problem. Hmm...maybe a solder bridge drain to gate? Or VHF oscillation? How interesting...
I am beginning to think that it might all come back to RV1. Mine happens to have the slot aligned with the "B" of Bourns.
One wonders where his is?

john
AD5YE


Current limit for PA

M Garza
 

Hello all,
Has anyone thought about implementing something like this to protect the IRF510?? I am still waiting on a reply from the post office, to see where mine is.? It looks promising, especially if it protects the IRF510.? It would have to be changed, to limit to about 1.5A.? From the page:

"Once I got tired of replacing the FETs, I built a current sense circuit, which shuts off the bias once the amplifier draws more than about 3 amps from the PSU. I think this circuit is essential. You can build it into the Power Supply or into the Amplifier. I built it into the Amplifier because the power supply, which is also homemade, does not limit until 7 amps. With the current limit circuit the amplifier now survives transmitting into any SWR from an open circuit to a short."



I attached a pic of the circuit.

Marco - KG5PRT?


Re: VFO to DDS Conversion steps

 

I just lifted one of the L4 connections to the board and left it in place all be it not connected to the circuit at on end of the inductor. DDS works fine with no known issues.
--
Mike VK3XL


Re: bitx40 display flashes and audio clicks when powered on.

 

Near as I can tell, he never hits the PTT switch to transmit. ?And the IRF510 is still heating up.

I did tell him that the gate to the IRF510 should be zero volts during receive. ? If it isn't then the next step would be to figure out why. ?The 12v TX rail that powers the LM78L05 should also be zero volts during receive. ?If that is not zero volts, I suppose there could be some sort of relay fault or a short that keeps the TX rail at 12v during receive.?

But if the gate voltage is zero and the IRF510 is heating up, then this is just a blown IRF510. ?I'd remove the IRF510, then power up the board (including the PA +12v supply into the board) and see if everything works as it should, including pressing PTT to transmit (even though it won't transmit due to the missing IRF510). ?Then adjust RV1 on the main board for zero volts on the IRF510 gate, I believe that will be fully clockwise (and thus fully counterintuitive). ?Power down, install the new IRF510, and carefully adjust RV1 for 100ma into the PA 12v connector as per the wire-up instructions on hfsignals. ?Note that the RV1 setting is very touchy, and advancing it too far could blow the new IRF510. ?The correct RV1 setting for the new IRF510 (for 100ma of drain current) could be significantly different than it was for the old IRF510.


Re: bitx40 display flashes and audio clicks when powered on.

 

Guys thanks for all the input. I'm going to be doing some more troubleshooting tonight and we shall see what we come up with. I've ordered some irf510's just I case but I am highly suspecting that is the issue.?
I'll post here what I find.
73's
KE0AJP

On Feb 15, 2017 4:42 PM, "John Backo via Groups.Io" <iam74=[email protected]> wrote:
Regarding the IRF510:

There is no power on the gate on RX, but there is power on the drain, whether the connected
PA is to the to the Vcc source or another power source (though it is possible to have a second,
switched source for PA).

This sounds like a classic avalanche situation. Since he is feeding the rig with 1.5A max,
it is probably shutting down the regulator in that supply. That resets and begins the cycle
all over again with each TX power-up. First, set RV1 to zero volts on the gate on transmit.
If it still happens (which it probably will) then the IRF510 is bad and should be replaced.
Note that when this is done, start the TX alignment with RV1 at the zero level. You may also
have to adjust R136.

As above, the display problem is probably a contrast adjustment since RX appears to be ok.

john
AD5YE




Re: Calibration

 

Mine at first was off by 1 in the digit furthest to the right. Used it like that for a week then tried the recal process and it worked fine. Havnt had to adjust it since. This is on stock sketch.


Re: bitx40 display flashes and audio clicks when powered on.

 

Regarding the IRF510:

There is no power on the gate on RX, but there is power on the drain, whether the connected
PA is to the to the Vcc source or another power source (though it is possible to have a second,
switched source for PA).

This sounds like a classic avalanche situation. Since he is feeding the rig with 1.5A max,
it is probably shutting down the regulator in that supply. That resets and begins the cycle
all over again with each TX power-up. First, set RV1 to zero volts on the gate on transmit.
If it still happens (which it probably will) then the IRF510 is bad and should be replaced.
Note that when this is done, start the TX alignment with RV1 at the zero level. You may also
have to adjust R136.

As above, the display problem is probably a contrast adjustment since RX appears to be ok.

john
AD5YE


Re: Raduino not working

 

The blink program used to be (and still is) a separate program.
However the latest bootloader program has a blink function included.

If your Uno or Nano has a blink, but nothing else, it's likely that
it has just the bootloader in it. You need to upload the Raduino
program.

If I suspect a problem, first I modify to blink program
to about 2 sec on/off and upload that. That provides a check
that everything is working and then I can upload the main program.

john
AD5YE


Re: Calibration

G4NQX
 

I knew it was writing to eeprom but there is no matching call in the code to read it back. Either to apply it or pass it.? Neither does the library call it.? It can't possibly, how would it know which address it was ?? It's being assigned to a int32 but isn't called.

In the notes it is mentioned that the calibration value in eeprom be called in setup but it isn't.? It also mentioned that eeprom was used for the dual vfo's, that's not either.

I don't understand how others get it to work.? I can't unless I alter the code.

Perhaps Farhan can comment ?
--
Rob G4NQX


Re: VFO waveform problem

Baruch Atta
 

My issue is that the waveform is not a nice sine - so i hear all sorts of signals on different frequencies (I dont have a freq counter, so I rely on my big rig to determine the freq.)
I have decided to put a little wire off the base of Q7 where the nice sine wave is, and hook up the big rig to listen there. ?

On Wed, Feb 15, 2017 at 4:31 PM, <vk4bap@...> wrote:
Nice discussion of diode DBM but to return to the original posting of the time domain waveforms, if it is a double balanced mixer where the sine wave gets squared off by the diodes going into conduction would you not expect (and want) the "squaring off" to be equal in both directions? Could it be that one half of the mixer is not working? Broken or poorly soldered wire on the toroid?



possible good case

 

?






Re: VFO waveform problem

 

Nice discussion of diode DBM but to return to the original posting of the time domain waveforms, if it is a double balanced mixer where the sine wave gets squared off by the diodes going into conduction would you not expect (and want) the "squaring off" to be equal in both directions? Could it be that one half of the mixer is not working? Broken or poorly soldered wire on the toroid?


Re: VFO to DDS Conversion steps

 

When I got my QRP Labs VFO kit I simply removed L4 and plugged in the cable from the VFO. You can remove the trimmer cap next to L4 also but there's no need really. It made no difference for mine.


--
Ryan Flowers KC7RYS?


Re: Rarduino WAY off Freq ... there is more

 

You seem to know how to use that scope, and have a good idea of how this works. ?You'll probably figure it out. ?If you want hints, here's what I'd be looking for:

Ashhar is right, triple check that the 5v and 3.3v supplies are clean down on the Raduino. ?Yes, 12.5v should be fine going in.

Whenever the tuning pot changes the VFO frequency, the Nano will write to registers on the Si5351. ?Perhaps you have too much noise from the tuning pot into the Nano, so the Nano is continuously updating the Si5351 at 26hz? ? Look at the SDA, SCL lines from Nano to Si5351, see it there is traffic there, when things are stable those wires should be pulled high to 3.3v. ?If you do see traffic, perhaps hack the sketch so it ignores the tuning pot and updates the Si5351 once every second, always writing the same frequency. ?Perhaps somebody else out there with a Raduino and a scope can tell us if they see similar gaps in the VFO's output when the tuning pot is turned. ?I believe there have been reports of Raduino tuning causing noise in the receiver audio, though that my have been mostly noise from updates to the display. ?Look hard for cold solder joints using bright lighting and magnification.


Regarding the initial complaint of a VFO freq that is 5x lower than it should be, I only have wild guesses:

1) ?Power supply trouble on that 3.3v rail. ?This seems an unlikely cause.

2) ?Dirt on those SDA,SCL lines from the Nano, but I doubt that would give consistent results like this.

3) ?Perhaps most Si5351's power up with one of the output dividers in a particular state, your's powers up in a different state. ?And the Si5351 library has a bug, isn't initializing the register that controls that output divider?

2) The 25mhz oscillator into the Si5351 isn't operating properly. ?You might look for a 25mhz signal at the crystal with a 10x scope probe. ?It is possible the act of probing it will shut it down, but I don't think so. ?

4) Some weird failure within the Nano ? Perhaps even writing a fresh sketch to it somehow doesn't program the flash correctly, resulting in a bug where it writes to the Si5351.

3) You have a hardware failure in the Si5351


Since you had been beating your head against this for several days, I sent that post about putting in a new Si5351 in part to warn you that it might not be a trivial task. ?Ashhar says all these units get checked before shipping, an Si5351 failure should not happen very often. ?But could happen.

If you don't want to deal with it, might be worthwhile to ask hfsignals if they would take it back. ?They might want to figure this out themselves, just to make sure it does not happen on future units. ?But may only want it back if you have not been making mods to it.

It's a tough problem.


Jerry, KE7ER



On Wed, Feb 15, 2017 at 11:17 am, Goran VE6GPO wrote:

I'll do more thorough testing and let you know.

?


Re: Calibration Opps...forgot...

Jack Purdum
 

Imeant to change this line as it is hard to read:

?? ? ?cal = (cal * 10000000l) / frequency;

Is it 10MHz, or 100.000001MHz? A good rule: When you use a type qualifier, make it uppercase:

? ? ? cal = (cal * 10000000L) / frequency; ? ? ? ?// Now it looks like 'L' and not a '1'

Jack, W8TEE


From: Jack Purdum via Groups.Io <econjack@...>
To: [email protected]
Sent: Wednesday, February 15, 2017 2:42 PM
Subject: Re: [BITX20] Calibration

Around line 275 in the Raduino.ino file are a series of calls that write the calibration number to EEPROM as a long?data type to the first 4 bytes of EEPROM. What's interesting is that there is no EEPROM.read() call in the code to fetch it on power up. Unless there is some way to write the offset to the Si5351, I don't understand what the EEPROM.write() is for. Also, the current code makes the programmer know (guess??) whether numbers are stored Big Endian or Little Endian.?

A more portable and easier way would be?in the calibrate() function:

? ? ? cal = (cal * 10000000l) / frequency;
? ? ? EEPROM.put(0, cal); ? ? ?????????????//Write the 4 bytes into the eeprom memory at location 0


? ? ? //cal = (cal * 10000000l) / frequency; ? ? ? ? ? ?// Original code...
? ? ? //Write the 4 bytes into the eeprom memory.
? ? ? //EEPROM.write(0, (cal & 0xFF));
? ? ? //EEPROM.write(1, ((cal >> 8) & 0xFF));
? ? ? //EEPROM.write(2, ((cal >> 16) & 0xFF));
? ? ? //EEPROM.write(3, ((cal >> 24) & 0xFF));

When you need to retrieve cal, use:

? ? ? ? EEPROM.get(0, cal); ? ? ? ? ? ? ? ?// Read 4 bytes from EEPROM at memory address 0

This might even save a few bytes of code space. The put() and get() methods work because the underlying C++ compiler can use indirection without the address-of operator (&) by using the variable as a reference object.?

Also, don't forget to replace sprintf() in the code, which will also save some code space. (That was discussed in an earlier post.)?

I haven't read through the code closely enough to see how the calibrate() function works. However, unless that result is stored in EEPROM or some other non-volatile code space, I don't see how it works on subsequent powerups.

Jack, W8TEE

From: Dr Fred Hambrecht <AAR4MI@...>
To: [email protected]
Sent: Wednesday, February 15, 2017 1:48 PM
Subject: Re: [BITX20] Calibration

Rob,
It appears the correction is saved in the first bytes of EEprom and used internally by the Si5351. It is not called by the program as it is an external process. I am sure one of the Gurus can elucidate further.
?
v/r
Fred W4JLE
?
?
?
From: [email protected] [mailto:[email protected]] On Behalf Of G4NQX
Sent: Wednesday, February 15, 2017 13:33
To: [email protected]
Subject: [BITX20] Calibration
?
Have any of you run the calibration successfully, by that I mean does it stick after powerdown.?
I don't believe it can due to the code but I'm confirming this with Jack.
I ran a test setup on the bench and it doesn't work either with the old or new si5351 library. It will calibrate and maybe write to eeprom but it doesn't appear to get called.
--
Rob G4NQX





Re: Calibration

Jack Purdum
 

Around line 275 in the Raduino.ino file are a series of calls that write the calibration number to EEPROM as a long?data type to the first 4 bytes of EEPROM. What's interesting is that there is no EEPROM.read() call in the code to fetch it on power up. Unless there is some way to write the offset to the Si5351, I don't understand what the EEPROM.write() is for. Also, the current code makes the programmer know (guess??) whether numbers are stored Big Endian or Little Endian.?

A more portable and easier way would be?in the calibrate() function:

? ? ? cal = (cal * 10000000l) / frequency;
? ? ? EEPROM.put(0, cal); ? ? ?????????????//Write the 4 bytes into the eeprom memory at location 0


? ? ? //cal = (cal * 10000000l) / frequency; ? ? ? ? ? ?// Original code...
? ? ? //Write the 4 bytes into the eeprom memory.
? ? ? //EEPROM.write(0, (cal & 0xFF));
? ? ? //EEPROM.write(1, ((cal >> 8) & 0xFF));
? ? ? //EEPROM.write(2, ((cal >> 16) & 0xFF));
? ? ? //EEPROM.write(3, ((cal >> 24) & 0xFF));

When you need to retrieve cal, use:

? ? ? ? EEPROM.get(0, cal); ? ? ? ? ? ? ? ?// Read 4 bytes from EEPROM at memory address 0

This might even save a few bytes of code space. The put() and get() methods work because the underlying C++ compiler can use indirection without the address-of operator (&) by using the variable as a reference object.?

Also, don't forget to replace sprintf() in the code, which will also save some code space. (That was discussed in an earlier post.)?

I haven't read through the code closely enough to see how the calibrate() function works. However, unless that result is stored in EEPROM or some other non-volatile code space, I don't see how it works on subsequent powerups.

Jack, W8TEE


From: Dr Fred Hambrecht <AAR4MI@...>
To: [email protected]
Sent: Wednesday, February 15, 2017 1:48 PM
Subject: Re: [BITX20] Calibration

Rob,
It appears the correction is saved in the first bytes of EEprom and used internally by the Si5351. It is not called by the program as it is an external process. I am sure one of the Gurus can elucidate further.
?
v/r
Fred W4JLE
?
?
?
From: [email protected] [mailto:[email protected]] On Behalf Of G4NQX
Sent: Wednesday, February 15, 2017 13:33
To: [email protected]
Subject: [BITX20] Calibration
?
Have any of you run the calibration successfully, by that I mean does it stick after powerdown.?
I don't believe it can due to the code but I'm confirming this with Jack.
I ran a test setup on the bench and it doesn't work either with the old or new si5351 library. It will calibrate and maybe write to eeprom but it doesn't appear to get called.
--
Rob G4NQX



Re: Rarduino WAY off Freq ... there is more

 

I'll check rails when I get home. I'm powering the Raduino from bench-top power supply set to about 12.5 V, but that shouldn't really matter since there is 7805 to regulate, right? I'll check for ripple on that PS, and on both Nano rails (3.3 and 5). Besides being off frequency, these 'pauses' every 38 ms (~ 26 Hz) were producing nasty sound from the speaker when connected to the Bitx mixer. Now with analogue VFO Bitx sounds really clean, as it should be.

It doesn't seem that Nano is going into reset because display is fine, always showing e.g. "A: 7.1000 LSB", and it changes nicely when pot changes, although frequency is ~5 times lower than it should be. I did reprogram the Nano once, with same results, and since it's very strange problem, wanted to get to the bottom of it before doing it again and fixing it without knowing what's really going on :) Just my curiosity.

Again, I'll do more thorough testing and let you know.

Goran VE6GPO


Re: VFO to DDS Conversion steps

 

Remove L4. Not sure if there was something else or not.

Rich
KC8MWG


On Wednesday, February 15, 2017 2:08 PM, Chris Coel <chriscoel@...> wrote:


Hi BitX Group, I got my DDS kit upgrade in the mail. I cant remember on yahoo groups if there was a conversion instruction for the VFO to DDS kit..
Aside from the plug in and calibrating which already exists on the HFSigs site.. What was the component or components that need to be removed/added to the board to allow it to work properly with the DDS kit that we could purchase from HFSigs?

Thanks!