Hello Sascha,
Great detective work in pinpointing the problem.
Your mod should work as in non-AM mode you revert to the standard CW timeout logic.
It is easy to verify but trying to send in CW.?
The timeout you are seeing is the one set as the CW delay to return to Rx which can be changed in the menu.
If the key has not been pressed for that delay value, the rig returns to Rx, and since we are never closing the key (Arduino input A6) in that AM mode it simply returned to Rx automatically.
Thanks for keeping us informed.
73, John
|
Re: Original Bitx20 design
I guess I need to rephrase the question. I think the original design could be a great place for me to start from because then I could try different mods and see the difference. I just was wondering if spurious emissions would be to too strong with the original design. I am excited that I will finally get to build this soon whether the original or the 3b. Thank you.
|
Okay, I changed the condition to
if ((0 < cwTimeout && cwTimeout < millis())&&(isAM==0)
and was astonished, that this seems to do the trick.
However I do not know if this is recommendable or if this way any other problems will occur.
I will test it with the loop controller tomorrow, but I hope this works out.
I still don't know what the cause of the problem was, though I suppose now that it could be that the cwKeydown() function was started out of the cwKeyer function(). This could mean the cwTimeout never gets assigned the current time.....
Sascha
|
So, I really start to close in on the problem:
In the ubitx.keyer file in? the cwKeyer function is in line 251? a "stopTX()".
If I do comment this out, in my fake AM mode TX is not stopped again after being triggered, and I can still switch back to RX via cat (in fake AM and the usual CW).
If I uncomment it again, transmitting immediately stops in AM I I had triggered TX by CAT.? If I switch to the usual CW mode and trigger TX by CAT? it remains transmitting.
So now I need to find out, why I don't get pushed out of AM in the normal CW mode and why this happens in AM mode.....
So somehow in AM mode the condition
if (0 < cwTimeout && cwTimeout < millis()){ ????????? cwTimeout = 0; ????????? keyDown = 0; ???????? stopTx(); // this causes the problem
is met while not being fulfilled in the normal CW mode.
|
Re: Inexpensive eBay Amplifier Kits
Welp., I managed to fry mine. No power, seems like a DC short on the power wire. I was trying different coax cables making sure I had the best cable, then auto tuning ?and it just died. Fan stopped moving. Is it the mosfets?
toggle quoted message
Show quoted text
On May 16, 2019, at 3:50 PM, Joe Puma via Groups.Io < kd2nfc@...> wrote:
Thanks Curt. I was just reading some other posts where someone mentioned that the harmonica on the other frequencies will be seen as a high swr on the meter. Sounds good to me, I¡¯ll wait for the filters. The transformers were put together nicely. Wires not shorted to tube or anything. I made a PTT from the uBitx buy using a octocoupler and wired it to the T/R on the raduino. ? <image1.jpeg>On May 16, 2019, at 2:43 PM, Curt M. < Kc3hjp@...> wrote: Hi Joe, I would wait until you get the filters and then see what your SWR is. ?It's been a while since I've had mine on the Bird 43 looking at forward and reflected power. ?It was OK from what I remember. ?Be sure that you solder those tubes for the transformers into the supports and thatcher's the tubes are not loose. ?That make help you also if you did not already do that.
I tested the filter set on the analyzer and it looked pretty good in it's respective bands. ?I've see better and I've definitely seen worse but they are more than usable. ?I use them with the Bitx40 and uBitx without the amp.
Curt
|
Re: Inexpensive eBay Amplifier Kits
Thanks Curt. I was just reading some other posts where someone mentioned that the harmonica on the other frequencies will be seen as a high swr on the meter. Sounds good to me, I¡¯ll wait for the filters. The transformers were put together nicely. Wires not shorted to tube or anything. I made a PTT from the uBitx buy using a octocoupler and wired it to the T/R on the raduino. ? 
toggle quoted message
Show quoted text
On May 16, 2019, at 2:43 PM, Curt M. < Kc3hjp@...> wrote: Hi Joe, I would wait until you get the filters and then see what your SWR is. ?It's been a while since I've had mine on the Bird 43 looking at forward and reflected power. ?It was OK from what I remember. ?Be sure that you solder those tubes for the transformers into the supports and thatcher's the tubes are not loose. ?That make help you also if you did not already do that.
I tested the filter set on the analyzer and it looked pretty good in it's respective bands. ?I've see better and I've definitely seen worse but they are more than usable. ?I use them with the Bitx40 and uBitx without the amp.
Curt
|
Would you consider a write-up or a youtube video on the process?
|
Re: Inexpensive eBay Amplifier Kits
Hi Joe, I would wait until you get the filters and then see what your SWR is. ?It's been a while since I've had mine on the Bird 43 looking at forward and reflected power. ?It was OK from what I remember. ?Be sure that you solder those tubes for the transformers into the supports and that the tubes are not loose. ?That may help you also if you did not already do that.
I tested the filter set on the analyzer and it looked pretty good in it's respective bands. ?I've seen better and I've definitely seen worse but they are more than usable. ?I use them with the Bitx40 and uBitx without the amp.
Curt
|
Ok, more small progress - finally received good SSB signal, approximately 300 miles away, on 80m.? Very clear.? No tones.? So it CAN work from time to time!
There's been much mention of the low audio level - but I have continuous static.? At the very lowest level (knob almost to OFF) there is static/white noise.? To increase it for "manual audio gain" - I might increase the signals I'm hearing, but it will increase the "white noise" as well, so in the end, plenty of signals are buried in my white noise.? Normal?? no?
We're getting there!
Thanks, everyone.
|
Re: Inexpensive eBay Amplifier Kits
Right Joe, if you need many of them you end up paying more. And the ones I mentioned, rated at 300w, might not even needed for that amp. However if some have some ferrous toroids (say red, yellow or white) in the drawer buying just the mica caps may make nice filters based on a good and simple design.
toggle quoted message
Show quoted text
Il 16/mag/2019 15:51, "Joe Puma" < kd2nfc@...> ha scritto: Iz, is it because the LPF is multiband while these filters you posted are mono band. If you add up all that mono band filters you will spend more on those then the eBay multiband band one. :)
Joe? KD2NFC? http://www.communication-/fl1-15/
|
Re: Inexpensive eBay Amplifier Kits
Iz, is it because the LPF is multiband while these filters you posted are mono band. If you add up all that mono band filters you will spend more on those then the eBay multiband band one. :)
Joe?
toggle quoted message
Show quoted text
On May 16, 2019, at 3:09 AM, iz oos < and2oosiz2@...> wrote: http://www.communication-/fl1-15/
|
Re: Inexpensive eBay Amplifier Kits
I am in the opinion that a LPF like that at 50usd is overpriced. Toroids seem small, what about the capacitors? Are these ceramic or silver-mica, rated at what voltages? You may have a look to http://www.communication-/fl1-15/,? the manuals are instructive.
toggle quoted message
Show quoted text
Il 16/mag/2019 04:09, "Joe Puma" < kd2nfc@...> ha scritto: Hey Curt,
So I got the amp assembled but without a filter. Tests look good into a dummy load. On a antenna for just a brief keyup my turner couldn¡¯t keep the swr low at all. It kept tuning. Any thoughts? I read that blog where he mentioned a resistor change to get better swr and make the amp more stable. I¡¯m sure not having a filter is playing a role here too.?
Joe Kd2nfc? On May 14, 2019, at 7:36 PM, Joe Puma via Groups.Io < kd2nfc@...> wrote: Thanks Curt. Okay that¡¯s the filter I was going to get as well. I also saw the blog where the blog suggested to increase bias voltage. I am also waiting for a similar sized heatsink too, next will be a case for the filter and amp.?
Joe
On May 14, 2019, at 4:08 PM, Curt M. < Kc3hjp@...> wrote: Hi Joe,?
The filter set that Oliver has listed above is the one that I am using.? They used to be $50 or so which in my opinion was overpriced especially compared to what they are now.? I mounted mine filters in an aluminum enclosure with a switch on the front to select the individual bands.? Be sure to get yourself a fan to mount on the side of the heatsink.? Tehy ahve convienently pit a connector on the board to power the fan.
Here is an old picture of mine while I was still in the testing stages and before I mounted the fan on the side.? There is a heatsink and fan available on ebay that fits the board perfectly.? I also made a PTT cable up for when I use it with the FT-817ND.
Curt M.
<FullSizeRender.jpg>
|
I was going to build the Bitx20 3b but I have been mulling over the original design. Would it produce bad results to build the original design? I ask because I have most of what I'd need for that design. My intention is to build it in modules so I can experiment. That said I don't want to run afoul of best amateur practice or anything. Please let me know if it's a stupid idea. Thanks.
|
Re: treble only SSB modulation
Do not use receivers that have an antenna connected. Remove the whip of the degen if possible. Transmit into a 50ohm dummy load and not to the antenna for these tests.
toggle quoted message
Show quoted text
Il 15/mag/2019 21:48, < laurent.bury@...> ha scritto: Hello,
thank you all for your excellent replies: I'm going to make the BFO calibration procedure, and listening by myself on my good old DEGEN 1103 chines receiver.
And yes, I was surprised at first by the too higly pitched received modulation: it is a good second facts that leads to a BFO calibration problem.
I will let you know!
All in all this uBitx is a great transceiver for the price, and for many like me a chance to transmit with something else but commercial hardware.
And many thanks again for great support.
Best 73's. -- Laurent F5FIE.
|
Re: Inexpensive eBay Amplifier Kits
Hey Curt,
So I got the amp assembled but without a filter. Tests look good into a dummy load. On a antenna for just a brief keyup my turner couldn¡¯t keep the swr low at all. It kept tuning. Any thoughts? I read that blog where he mentioned a resistor change to get better swr and make the amp more stable. I¡¯m sure not having a filter is playing a role here too.?
Joe
toggle quoted message
Show quoted text
On May 14, 2019, at 7:36 PM, Joe Puma via Groups.Io < kd2nfc@...> wrote: Thanks Curt. Okay that¡¯s the filter I was going to get as well. I also saw the blog where the blog suggested to increase bias voltage. I am also waiting for a similar sized heatsink too, next will be a case for the filter and amp.?
Joe
On May 14, 2019, at 4:08 PM, Curt M. < Kc3hjp@...> wrote: Hi Joe,?
The filter set that Oliver has listed above is the one that I am using. ?They used to be $50 or so which in my opinion was overpriced especially compared to what they are now. ?I mounted mine filters in an aluminum enclosure with a switch on the front to select the individual bands. ?Be sure to get yourself a fan to mount on the side of the heatsink. ?Tehy ahve convienently pit a connector on the board to power the fan.
Here is an old picture of mine while I was still in the testing stages and before I mounted the fan on the side. ?There is a heatsink and fan available on ebay that fits the board perfectly. ?I also made a PTT cable up for when I use it with the FT-817ND.
Curt M.
<FullSizeRender.jpg>
|
Hey Curt,
I¡¯m feeding the ubitx with a cheap lab bench power supply. It¡¯s intended more for electronics hobbyists than for ham radio, so it¡¯s entirely possible that it is not a clean power source.?
Unfortunately, I don¡¯t have a scope with which to confirm this theory. I¡¯ll ask around my local club and see if I can either borrow a scope or another low wattage HF unit with which to try the PS.?
In the mean time, I¡¯ve managed to upgrade the firmware on the ubitx and will go through the calibration routine that you recommended, and then report back.?
toggle quoted message
Show quoted text
On May 15, 2019, at 2:32 PM, Curt via Groups.Io < wb8yyy@...> wrote: Jon
maybe I should have asked what kind of power supply you are using -- a battery or something 'intended' for ham radio use?? a PC type power supply might garble things pretty well (it depends).?
the ubitx gets its local oscillator from a crystal source, being a very nice (but inexpensive) PLL.? about the only way to easily mess it up is to feed it cruddy power.?
while its possible it is less likely that something on the board has gone bad.? if one or more capacitors were damaged enough to completely break them) - something could be distorted.? but I would expect obvious physical damage.?
CW is harder to distort with a bad BFO setting - if you can hear it there should be a place to tune it in - unless BFO is so far off that it is coming in way down the skirt of the crystal filter.?
okay if you power supply is clean (such as other rigs are happy with it) - then I would investigate your BFO setting.?
Curt
|
So once again I made some progress. I have not located the exact cause of the end of the transmission yet, but I am sure the problem lies within the fake AM mode of the uBITX:
So, i used my USB to TTL-Adapter to spy on the communication between the Loop Controller and the uBITX on both lines, RX and TX, and could not find anything unusual in the commands.
No that's actually not correct:
In fact I noticed that the uBITX switched back to RX even before the loop controller had sent the command to do so. You could see these also by watching the commands on the computer monitor and the power output of the swr-meter. The timing just did not fit as it should have.
Otherwise the commands were actually okay - as well as the loop controllers answers:
I did some serial.printing here and made it give out? the measured forward and reflected? power, the calculated power and the VSWR. Until here everything was okay.
Then I made it print the value of the Progess variable - before and after a new value should have been assigned:
????? trx_set_am_mode();????????????? // AM mode ????? delayloop(50); ????? if (radio.pwr_available) trx_set_min_pwr();? // Set Minimal power ????? delayloop(50); ????? trx_set_tx();?????????????????? // TX mode ????? delayloop(250);???????????????? // Give time for Power to come up ????? measure_power_and_swr();??????? // Ensure we have one measurement available ?????? Serial.print("FWD:"); ?????? Serial.println(fwd_power_mw/1000); ?????? Serial.print("REF:"); ?????? Serial.println(ref_power_mw/1000); ?????? Serial.print(" PWR "); ?????? Serial.print(power_mw/1000); ?????? Serial.print(" SWR "); ?????? Serial.println(measured_swr); ?????? myState = tune.Progress;??? // myState ends up with the value 0 or 1 ?????? Serial.println("alter Fortschritt");? //old progress ?????? Serial.println(myState);? ????? progress = SUCCESS;?????? // Setup for Autotune is initiated ????? myState = tune.Progress;??? // myState ends up with the value 0 or 1 ????? Serial.println("neuer Fortschritt");? //new progress ?????? Serial.println(myState);?
It turned out the variable? does not get updated. I did then another round of serial printting withing the SWR-HUNT function, in the section where the output power was checked again - and voil¨¤, not power anymore.
??? // FAIL - Not enough Transmit Power to determine SWR ??? else ??? { ????? tune.Prepare = false;???????????????????? // Clean up for next time ????? tune.Progress = NOPWR; ????? Serial.println(ref_power_mw); // tested forwared AND reflected power here ????? Serial.println(MIN_PWR_FOR_SWR_CALC); // minimum output power to do the calculation ????? Serial.println("shit"); // abort due to no power
Sorry for the german language within the screen shots.
So the loop controller just sends the commands:
0000000003 (report frequency and mode)
0400000007 (change mode to AM) 0000000008 (start TX) 0000000088 (end TX) 0000000007 (change mode to LSB)
The uBITX answers with 8 zeros
00000000
I did again some reverse engineering within the uBitx code (changed out "0"? to "1" in the Serial.prints) and found out that the change mode command as well as ther start and stop tx commands are always answered with "00" by the uBITX So four times "00" makes 8 zeros. Nothing unusual here.
Then I came to coclusion that the next reasonable thing was to turn off the loop controller and just use the uBITX cat control with the PC, triggering AM mode and TX via PTT.
I did this then with Ham Radio Deluxe and noticed that HRD always switched back to CW after switching to AM. Of course, the uBITX did react to the "get into AM" command, but if asked what mode it was in, it still answered with CW.
So i modeified the uBITX code a bit to make it also send back the AM identifier within the cat_libs.
void CatGetFreqMode(unsigned long freq) //for remove warning messages { ? int i; ? byte tmpValue; ? unsigned BCD_LEN = 9;
? if (BCD_LEN & 1) { ??? CAT_BUFF[BCD_LEN / 2] &= 0x0f; ??? CAT_BUFF[BCD_LEN / 2] |= (freq % 10) << 4; ??? freq /= 10; ? } ? for (i = (BCD_LEN / 2) - 1; i >= 0; i--) { ??? tmpValue = freq % 10; ??? freq /= 10; ??? tmpValue |= (freq % 10) << 4; ??? freq /= 10; ??? CAT_BUFF[i] = tmpValue; ? }
? //Mode Check ? if (cwMode == 0) ? { ??? if (isUSB) ????? CAT_BUFF[4] = CAT_MODE_USB; ??? else ????? CAT_BUFF[4] = CAT_MODE_LSB; ? } ? else if ((cwMode == 1)&&(isAM == 0)) ? { ????? CAT_BUFF[4] = CAT_MODE_CW; ? } ? else ? { ????? CAT_BUFF[4] = CAT_MODE_CW; ? } ? if ((cwMode == 1)&&(isAM == 1)) // else davor? ? { ????? CAT_BUFF[4] = CAT_MODE_AM; ? } ? SendCatData(5); }
This did the trick and HRD stayed on AM after having it set to AM.
So I finally was able to try to make it switch to TX on AM:
The result was the same as with controlling the uBITX with the loop controller.
TX starts and when it is about half a second in transmitting, it switches back to RX. Also the sidetone is still in function and does not get turned off, though I have the "keyup()" command on two locations.
Once in the CatSetPTT()? (which did never work at all)
void CatSetPTT(boolean isPTTOn, byte fromType) //inTx==1 bei Sendebetrieb, egal ob cw, ptt oder cat { ? // ? if ((!inTx) && (fromType == 2 || fromType == 3)) { //fromType normal : 0, TX : 1, CW_STRAIGHT : 2, CW_PADDLE : 3, CW_AUTOMODE : 4 ??? Serial.write(ACK);? //already checked ??? return;? ? } ? ? // Set PTT Mode ? if (isPTTOn) // isPttOn = indirect logic: Ptt=1 means RX ? { ??? if (!inTx) ??? { ????? txCAT = true; // if TX due to CAT ????????????? if (isAM == 0) ????????????? { ??????????????????? startTx(TX_SSB, 1); ????????????? } ????????????? else? {startTx(TX_CW, 1); ??????????????????? cwKeydown(); ??????????????????? } ????? //Exit menu, Memory Keyer... ETC ????? if (isCWAutoMode > 0) { ????????????????????????????? isCWAutoMode = 0; ????????????????????????????? printLineF2(F("AutoKey Exit/CAT")); ???????????????????????????? //delay_background(1000, 0); ???????????????????????????? } ??? } ? } ? ? else // if already in TX miode ? { ??? if (inTx) ??? { ????? cwKeyUp();// is not working ????? stopTx(); ????? txCAT = false; ??? } ? }
and once in the CATSetMode() (which worked with the loop controller)
As the CatSetMode is not triggered with HRD ( where just? the TX-Mode gets stopped) I strongly suspect that the problem is caused by a function / condition within the ubitx firmware, which collides with the fake AM mode.
I also assume it is related to the CAT-Code as the TX-mode is not aborted if I use my external CW-KEY (aka skrewdriver) to make the rig send.
I did try to find this condition, but was unsuccesful. I also could imagine, that this is a programming gap as normally the cw key is not controlled via cat. Could this be possible?
I first thought that it must work as you John are using it with your antenna tuner - but then i remembered having read somewhere, your CW-Signal is generated not with the CW but the SSB clock?
I would be glad if anyone had an idea what to do.
This was a long post now (which surely could have been a lot shorter if focused on the results of the experiments), but I wanted to write down how i came to these results / conclusions. Maybe I did not interpret everything correctly.
Sascha
|
Re: treble only SSB modulation
Hi!
I highly recommend doing it using a sound card microphone input. That way you can adjust the passband using something like fldigi to monitor the noise floor in the passband.
-adrian
toggle quoted message
Show quoted text
On Wed, 15 May 2019 at 12:48, <laurent.bury@...> wrote: Hello,
thank you all for your excellent replies: I'm going to make the BFO calibration procedure, and listening by myself on my good old DEGEN 1103 chines receiver.
And yes, I was surprised at first by the too higly pitched received modulation: it is a good second facts that leads to a BFO calibration problem.
I will let you know!
All in all this uBitx is a great transceiver for the price, and for many like me a chance to transmit with something else but commercial hardware.
And many thanks again for great support.
Best 73's. -- Laurent F5FIE.
|
Re: treble only SSB modulation
Hello,
thank you all for your excellent replies: I'm going to make the BFO calibration procedure, and listening by myself on my good old DEGEN 1103 chines receiver.
And yes, I was surprised at first by the too higly pitched received modulation: it is a good second facts that leads to a BFO calibration problem.
I will let you know!
All in all this uBitx is a great transceiver for the price, and for many like me a chance to transmit with something else but commercial hardware.
And many thanks again for great support.
Best 73's. -- Laurent F5FIE.
|
Jon
maybe I should have asked what kind of power supply you are using -- a battery or something 'intended' for ham radio use?? a PC type power supply might garble things pretty well (it depends).?
the ubitx gets its local oscillator from a crystal source, being a very nice (but inexpensive) PLL.? about the only way to easily mess it up is to feed it cruddy power.?
while its possible it is less likely that something on the board has gone bad.? if one or more capacitors were damaged enough to completely break them) - something could be distorted.? but I would expect obvious physical damage.?
CW is harder to distort with a bad BFO setting - if you can hear it there should be a place to tune it in - unless BFO is so far off that it is coming in way down the skirt of the crystal filter.?
okay if you power supply is clean (such as other rigs are happy with it) - then I would investigate your BFO setting.?
Curt
|