An independent audio output for your computer

 

Walter W9KJO in writing to the list says,

” The yellow wire on the volume control does not have enough audio for my Signal Link to work with.  I have to reconnect to the 3.5mm Audio Out jack and turn the volume up about half way.  which is too loud for my headphones so I need to install a second 3.5mm for my Head Phones.  

“I would be much better if I could find a way to get enough audio separate from the actual audio out to the 3.5mm jack.”

Clark Martin, KK6ISP replies “You could use the second audio amp in U1.  The TDA2822 is a dual amplifier.”   He provides the following guide [with some additions from the editor for the sake of clarity].

Modifications to the µBITx to add a second audio channel for computer use 

  • Remove R75
  • Connect U1 pin 6 to VOL-H.  This will give you an auxiliary sound output that is independent of the volume control.
  • Connect the + terminal of a 470 µF, 16V electrolytic capacitor to U1 pin 3.
  • Connect the – terminal of the above cap to your auxiliary out mini jack.
  • Earth the auxillary out mini jack sleeve connection.
Additional Notes
  1. The 470 µF could very likely be much smaller, depending on the input impedance of your Signal Link.   Experiment, it won’t hurt.
  2. You may also want to add a resistor divider between the cap and jack to reduce the signal strength, depending on how much your Signal Link can tolerate.
  3. Considering the problem others are having with the TDA2822 you probably should add a resistor in series with the cap, unless you implement the resistor voltage divider, that will provide the same protection.
  4. Rather than use a voltage divider on the output of your second audio amp, you may want to incorporate a trimmer potentiometer between VOL -H and pin 6 of U1 similar to the primary volume control to set the auxillary audio output level.
Reference

Audio Pop Fix

Don Cantrell ND6T saw a suggestion from Wayne Chang, VA7AT for the audio pop problem in going between RX and TX (and TX and RX).  This was the first solution that seemed sensible to Don. He suggested rewiring the preamplifiers to be permanently powered and inserting serial gating in each of the inputs, controlled directly from the TX and RX power busses.

This modification, although the most complex of those that Don had tried, actually works!

It only requires 9 components, all quite common, and costs less than 25 cents. It requires 2 traces to be cut and 2 small jumpers to be placed across traces. The new circuit is then connected using 6 jumpers from the new circuit board; The connection to the T7, 2 control inputs from the TX and RX busses, 2 outputs (one for the microphone preamp, one for the receive preamp), and a jumper to a common ground point.

For full documentation of this fix see his blog posting here.

Don’t be too scared off with the surface mount technology and the miniature circuit board.  This circuit can be built with regular hole through components to a much larger scale!

Port Expander for the uBITx

Mike, WA6ISP has a small PCB that will add 16 more I/O Lines.  It runs on the I2C lines, along with 5V and earth.    It is 1.750″ x 1.100″  and has 3 address lines, so you can run a several of them and they won’t interfere with the SI5351 (which also uses i2C lines).  The chip uses the Adafruit Library for Microchip I2C Expander.  Mike has a few built up versions and a few bare PCBs.  Email him if interested using his BITX20 list email address.

Reference

TDA2822 problems

The TDA2822 is used as the µBITx final audio amplifier to drive headphones or speakers.  The kit provides wiring instructions to wire to a panel mount “see through” stereo jack.

Several constructors have found that this little IC has gone up in smoke, much to their surprise and frustration!

Reasons for failure

It is not entirely clear why the TDA2822 is failing.  In some cases it seems to be the result of inserting a plug into the stereo headphone socket.   Inserting a mono headphone plug in the stereo jack could result in a short from the ring to sleeve.  Even inserting a stereo plug could result in shorts.

However, there are also reports of the device going up in smoke spontaneously.   One theory, from Jim Sheldon W0EB, is that this is because loud pops or extra loud signals cause the 470µF capacitor (C77) in the output circuit to draw high current during charge up, damaging the chip.  However, it could equally as well be a run of bad chips, or the fact that the device is running near its voltage maximum (the original chip was rated for 15v maximum).

The first batch of µBITx shows an FCI PI1 TDA2822M chip:

These FCI  branded devices have yet to show up with issues.

Raj VU2ZAP tested the current draw from the FCI chip with normal audio use and current was 60-70mA.   A  dead short with varied drive shows the current draw was between 300 and 800mA. At 800mA the chip got hot! The current did not go above 1A at any time.

Reference

 

The original ST parts (now obsolete) claimed an Absolute Max of 15v, and also gave that as the maximum operating voltage.  This agrees with the specs for the NJ2073D and NTE7155 clones.   So running it at 12v should be legal, though nowhere else in the ST datasheet  is there mention of operation over 9 volts.  A bit of a red flag.  ST continues to build the SOIC8 variant, the TDA2822D.

Other manufacturers are making 8 pin DIP packages. These clones may or may not be marked. They are readily obtainable on eBay and AliExpress at very low cost (you can buy 10 for around US$1).

It is likely that cloned versions made in China have been used in some second batch µBITx products.  These items may not be an exact copy of the original and may not be as robust.  They may, in fact, be a low voltage version of the chip that is incorrectly labelled.

Several constructors have confirmed that their Batch 2 µBITx come with a WX branded TDA2822M as shown in the photo below.

Not all Batch 2 µBITx have this chip installed.    It is likely that all current Batch 3 kits are affected.   These WX chips seem to spontaneously combust at some point when used in a circuit with 12v DC applied, as illustrated in the photos below:

Testing by the GQRP club suggests that Chinese chips purchased online may not take more than about 6v DC (at around 45mA), and get very toasty at the original’s rated maximum voltage of 15v.

First reports of fried TDA2822’s seemed to be due to a shorted audio output, e.g. when plugging a mono plug into a stereo jack. In series with a proper 8 ohm load, the 470uF cap should be fine.  With a short to ground, there will be a quick surge current of unspecified amps from the TDA2822 till the cap is charged.   Though if that’s a failure mode, it is not the only one.   More recent reports suggest that these chips are being fried spontaneously, suggesting an over-voltage issue.

Protecting your TDA2822 against short circuits 

There are several possible approaches to short circuit protection for your TDA2822.

To reduce current in rush, the easiest approach would be to insert a 4 ohm 1/2 watt resistor in the output line to the speaker or headphone socket.  While this reduces audio output slightly, it also protects the chip against short circuits, and slows the current inrush to the DC isolating 470µF capacitor in the output circuit.

Another approach would be to reduce the size of C77, the DC isolation capacitor – perhaps to 100µF or even 47µF.    Circuits for the TDA2822 often use a 100µF capacitor. Experimentation may be required if the audio begins to sound a bit constrained.

One or other or both of these fixes is recommended fix for FCI chips, but these fixes won’t address the issues with a WX branded chip.

Protecting your TDA2822 against high voltage failure

The best option for all chip types would be to reduce the voltage feed into this chip to bewteen 5v and 9v.  Since the audio stage is connected to +12v (rather than to the relay switched RX line)  makes this a bit easier to achieve.   A regulator or buck power supply is recommended for the feed to the TDA2822.

If you have a WX branded part in your µBITx, a mod to reduce the voltage to this chip is considered ESSENTIAL.   The first step is to cut the short trace on the back of the board into the square pad of C76 (near X2).

Add an LM7805 regulator, pin 3 going to that square pad of C76, pin 1 going to
the feedthrough at the other end of the cut trace, and pin 2 going to ground. Maybe glue the LM7805 face down onto the back of the board, with the leads in the vicinity of C76.

Ideally, add a 0.33µF capacitor (and realistically any value of capacitor from 0.1 to 10µF) from pin 1 to ground.

This modification has now been shown to work, and details on how straightforward this is can be seen in Raj VU2ZAP’s experiment where he adds an 78L09 surface mount chip.

Replacing your TDA2822

If you need to replace the TDA2822, it should not be difficult to find a replacement IC.   If you don’t mind waiting these can be procured very cheaply from the Far East. If you want it more quickly, then they can be order through a local supplier.

Make sure that you also purchase a socket (or use machine pin headers).  This will make it easier to replace the chip in future if it blows again.

Removal of the IC is easily achieved by snipping the pins above the board, and then removing them one by one using a soldering iron, solder wick and needle nose pliers.

Replacing your TDA2822 with an LM386 Module

You could use an LM386 module as a replacement to the audio amplifier on the µBITx board.  LM386 modules are readily available on the internet for well under a US$1.  Buy several so you have spares in the junk box.  Source the audio feed from the volume control output and wire up the stereo jack or speaker to the output of the module.

Replacing your TDA2822 with an LM386 using a DIL socket adapter

The TDA2822 and LM386 are not pin compatible, but it is possible to make an adapter to plug into the TDA2822 DIL socket (using two further DIL sockets).

The pinout map supplied byClaude HB9CGL is as follows:

LM386 pin – TDA2822 corresponding pin

2 – 4
3 – 7
4 – 4
5 – 1
6 – 2

Howard K4LXY shows his “adapter” using the LM386 to replace the TDA2822:


Claude has left pins 1 and 8 of the LM386 unattached, and in this configuration the LM386 datasheet states that it has a voltage gain of 20, or 20*log10(20) = 26dB.   The LM386 on the Bitx40 has a 0.1uF cap between pins 1 and 8 to increase the gain to 46dB.   The original TDA2822 of the uBitx has a gain of 40dB, so you may want to try adding a cap between LM386 pins 1 and 8   if you need more gain there.  A larger value cap (up to 10uF) would improve low frequency response.  Howard decided to include this capacitor.

Reference

AGC Mod

Challenges with AGC circuits

Finding an AGC mod that works, and works well (with sufficient AGC range, that does not impact on the dynamic range of the receiver, and that does not distort) is proving to be difficult.  Nobody has probably tried out more AGC mods than John VK2ETA.

See his thread here for his experiences with a range of AGC mods.

MAX 9814 Circuit

John VK2ETA has now settled on using the MAX9814 circuit for his AGC.

He used the Adafruit MAX9814 board but there are a few variations on eBay with some probably requiring less hacking than the Adafruit design. John had to solder a wire on an SMD component to access the CT (time constant capacitor) pin of the MAX IC, and remove the Electret capsule.

Refer to the schematic and a few pictures of the AGC circuit. The 5VDC required for the Adafruit board is taken from the Raduino.

John took two sets of measures, one with the AGC turned down low and one with the AGC turned one third of the way up.

He used an A/B comparison with an FT-817, with the pre-amp off, receiving  a carrier at 1,500Hz from local radio stations (with attenuation). The FT-817 S-Meter seem non-constant in the steps between the S-units, but nevertheless, this was John’s reference for calibrating the AGC. The AGC voltage was taken on the CT pin of the MAX9814.

The AGC voltage fluctuates quite a lot, so he used the average value shown over time.

To determine whether any saturation was coming from the AGC circuit or the uBitx upstream at high signal strengths, he would bypass the AGC and keep the volume down to prevent the audio circuit after the volume pot from saturating. If harmonics of the audio disappeared, the AGC alone was producing distortion, otherwise it appeared at least prior to the AGC, and possibly from the AGC circuit as well.

Results

“Medium” AGC: input pot turned to about 30% of full scale.

FT817         AGC
S-Meter     voltage(mV)       Notes
S0                  0
S1               300
S2               350
S3               400
S4               460
S5               510
S6               650
S7               750
S8             1,700          Large variation. FT-817 S-meter S8 plateau issue?
S9            2,200          Some saturation of AGC noted (starts to appear in audio FFT, not noticeable)
S9+10     2,460           Saturation of AGC audible, but not unpleasant.
S9+20     2,460          Audible saturation of both uBitx and AGC (harsh sound).

The AGC kicks in early and keeps the volume pretty constant until saturation occurs. Saturation of AGC does limits the dynamic range of receiver.

“Low” AGC: input pot turned to about 7-10% of full scale.

FT817          AGC
S-Meter      voltage (mV)       Notes
S0 -S4               0
S5                50-200                  (100mv avg)
S6                  200
S7                  360
S8                  500
S9                1,260
S9+10         1,800
S9+20         2,300                 Saturation of both uBitx and AGC  (visible in audio FFT, but not really audible)
S9+30         2,400                 Audible saturation of uBitx and mostly of AGC.

This is the most “FT-817 AGC” like, from my perspective, and is what I have settled for.  I want to use the AGC voltage as an s-meter input and this setting does produce a gap at the bottom end, but this is not critical IMO.

In both cases I noted some small “clicks” when the AGC kicked in on strong sudden signals.

The maximum gain of the MAX9814 as set in the schematic attached is of 50dB and requires screened cables in the audio circuit. I originally had the input and output of the circuit fed to a two core “stereo” screened cable and I would get feedback. I had to use two single screened audio cables.

Reference

KD8CEC documentation

Ian Lee, KD8CEC has added further documentation on his website about his alternative firmware for the µBITx transceiver:

General features

http://www.hamskey.com/2018/02/cat-support-ubitx-firmware-cec-version.html

Memory Channels
http://www.hamskey.com/2018/02/using-memory-channels-in-ubitx-storing.html

Reducing CW Key errors
http://www.hamskey.com/2018/02/reducing-cw-key-errors-in-ubitx.html

You will also find additional resources on the website covering his AutoKey (built in software memory keyer), his uBITX Manager software and more.

Using the Adafruit si5351 Board

Many constructors are using the Adafruit si5351a i2c board with their µBITx as part of a Raduino replacement (often in conjunction with a processor upgrade and feeding the display with an i2c daughter board).

Note that the Adafruit board does not have 0.1uF capacitors on the outputs of the three clocks.   You will need to find a way to incorporate these capacitors in your circuit.

K9HZ Full Rig Power Control Unit

Bill Schmidt, K9HZ has  designed a fool-proof control circuit for the uBITx for power control.  This circuit prevents bad things from happening by shutting down the radio before any damage is done. 

It faults on:

  1. reverse voltage
  2. over power
  3. High SWR
  4. High PA Current 
  5. High voltage. 

It provides a visual indication of WHAT fault occurred, and the individual fault LEDs begin to flicker BEFORE the trip so you can fix the problem before you hit a hard trip. 

The fault conditions listed above can be expanded to any number by adding more SCR Trip components (they are set to trip at 1.8V whatever the fault is).

 When initially turned on, the transistorised RS Flipflop circuit comes up in the “Operate” mode.  If a trip occurs, it flips into “FAULT” and shuts down the PA. 

The circuit is reset with the “RESET” button, but ONLY if the fault has been resolved.  Turning the power off and on resets the circuit too.

Bill bread-boarded the circuit last week and has been using it on his radio for a while and found that it works flawlessly (yes transmitting and yanking the coax off the back of the radio shuts down the PA nicely!).  The circuit and a build list can be found in the BITX20 list’s files section.

Parts List for the uBITx Power Control Circuit

Capacitors Value Voltage
C1 10uf 16VDC
C2 0.01uf 50V
C3 0.01uf 50V
C4 0.1uf 50V
C5 0.1uf 50V
C6 0.01uf 50V
C7 0.01uf 50V
C8 0.01uf 50V
C9,C10, C11 0.01uf 50V
Diodes
D1 Green LED
D2 1N4148/ 1N4001
D3 1N4148/ 1N4001
D4 Red LED
D5 1N4148/ 1N4001
D6 12V 0.5W zener 1N759, or 1N5242, or 1N6002
D7 BT149G SCR
D8 BT149G SCR
D9 BT149G SCR
D10 BT149G SCR
D11 1N4148/ 1N4001
D12 1N4148/ 1N4002
D13 1N4148/ 1N4003
D14 1N4148/ 1N4004
D15 Red LED
D16 Red LED
D17 Red LED
D18 Red LED
D19 SB530
Transistors
Q1 2N3904
Q2 2N3904
Q3 2N3904
Q4 2N3904
Q5 2N2222
Resistors Value Watts
R1 1K 0.125
R2 1K 0.125
R3 10K 0.125
R4 10K 0.125
R5 10K 0.125
R6 10K 0.125
R7 10K 0.125
R8 100K 0.125
R9 2.2K 0.125
R10 47K 0.125
R11 1K 0.125
R12 2.2K 0.125
R13 1K 0.125
R14 1K 10-turn POT
R15 10K 10-turn POT
R16 88K 0.125 Can just use a 100K POT set appropriately
R17 12K 0.125 Can just use a 100K POT set appropriately
R18 10K 0.125
R19 100K 0.125
R20 1K 0.125
R21 1K 0.125
R22 1K 0.125
R23 1K 0.125
R24 10K 0.125
R25 10K 0.125
R26 10K 0.125
R27 10K 0.125
R28 62 OHM 2
R29 1K 0.125
R30 1K 10-turn POT 0.125
R31 10K 0.125
R32 100K 0.125
Switch
SPST Momentary contact
Integrated Circuits
U1 LM339 (Make sure to connect Vdd and ground!!!!).
U2 BTS660P
Fuses Value Voltage
F1 1A Poly Fuse 50V
F2 4A Poly Fuse 50V
Conectors
Your choice
Reference

Variable Power Control

Dave N4LKN has developed a potentiometer controlled version of his original zener power control.   He added high limit and lo limit resistors as illustrated in the circuit diagram below:

He says, “I will be adding a simple accurate circuit add on to this to report voltage and current supplied to the output stage using 2 analog inputs to my system health display.”

Reference