Addressing issues with an SWR meter and the Nextion display

Joel KD6AGW has been working on his UBiTx V5 for a few months now and added the KD8CEC update with Nextion screen and the I2C update.  He had all the features working (CW decode etc) except the SWR meter.

Joel also built a Kits and Parts SWR bridge and hooked it up to the second Arduino.  However, the meter never operated correctly.  The home brew Stockton bridge that Ian (CEC) used apparently did not have this problem.

After hooking up an oscilloscope to the forward and reverse outputs, Joel noticed that the reverse voltage would bounce up to 4 volts or so before settling down after a few seconds.  This was while the uBITx RX input was hooked to a 50 ohm dummy load.  When the probe was hooked up, the meter on the Nextion display would go high, and then settle down to a good swr reading.   However, as soon as he removed the probe to the oscilloscope, the meter would just stay pegged at very high SWR.

He ran across a blog item here (http://www.kk5jy.net/swr-meter-v1/)  about building a digital SWR meter and noted that:

“In order to prevent stray RF from getting into the A/D circuits,  a 0.05uF ceramic disc capacitor was placed between each line and the GND pin.  Since the A/D inputs are very high-impedance, and the SWR sensor outputs were meant to drive current devices (e.g., analog meters), a 75k resistor was placed across each of the 0.05uF caps, to drain the accumulated charge when no RF was applied”.

After doing these modifications, Joel has found the SWR meter to work great.

For information, here is a sketch of the circuit modification:

Following a question about power wastage in the Stockton Bridge SWR circuit Joel checked the output with the bridge in and out.   There was no perceptible difference in power out on the oscilloscope.

Reference

A couple of uBITx

Each year the Dutch radio society VERON organises a ham fair known as the “Day of the Amateur”.  The Netherlands is only a small country so it’s an easy journey for most hams in the Netherlands to get to the fair.

Cor PA4Q posted a couple of pictures of µBITx rigs on display at the fair.

The first is from PA0MBE:

And the second is from PH2LB:

These interesting examples may prompt others to add features to their µBITx.

Reference

 

New version of Allard’s firmware for BITx40

Just as the BITx40 goes out of production, Allard PE1NW has released a new version of his acclaimed firmware for the BITx40.

This is known as the Raduino v1.29 version, and can be downloaded from here: https://github.com/amunters/bitx40

New in this release:

  • Added Roger Beep (NASA style “Quindar Tone” as used in Apollo missions).
Note that the PTT sense, RX/TX and CW Carrier mods must be installed for this feature to work.
Press Function Button 7 times to toggle this function on/off.  It’s OFF by default as some find it annoying. Others find it helpful in pile-up situations though.
Allard says “Use responsibly!”

Allison KB1GMX commented that the “Roger Beep” was not a common thing until the CB mess broke down in the early 80s and it was often accompanied with other electronic noise makers and profanity. Then that mess started moved into the lower (CW) sections of the 10M band and they got tired of freebanding.

Most of us back when that used CB found it annoying and unneeded especially for SSB. The general feeling is it was those that were disruptive or trying to feel like they were running something important doing it initially. It was especially noxious when it appeared in the 80s. Then it became a feature on CB radios (a signal that those that were modified for non CB allocated frequencies) and later Chinese made HTs.

For the Space activities (Mercury and later) it was needed as the communications were actually full duplex on the data links and you had to have some way of knowing when the other guy was done as in really did release the button and it was also to confirm the button didn’t stick as in heard in the astronauts headphone when he released  the button (or VOX). Until CB adopted it if you heard a over beep is was likely a repeater (usually ham) or space based radio (space program).

To date I know of the use of “over beep” appearing is standard communications systems, those being Space program, Repeaters, military systems that use satellite links, and CB.

It does however represent what one can do with a MPU of reasonable power and some programming skills!

Reference

End of road for the BITX40

Ashhar Farhan VU2ESE has just announced that HF Signals has had to pull the plug on the bitx40 run.  Ashhar said, “The sales were sparse and frankly it had become a bit of a frankenstein.”

“There were too many connectors that one could plug in the wrong place.  We moved from analog VFO (that drifted due to heating of the pre-driver stage) to a raduino which wasn’t well integrated into the motherboard.”

“However, it was a big deal for us all.”

HF Signals was able to ship a full SSB transceiver for just US$50 dollars. This went over and above the ARRL challenge for a kit of parts for US$50.

It has served many well. Once you had it going, it performed pretty well.  With a triple tuned front-end and the favourite ‘down conversion’ to 12 MHz IF.

Many will miss this kit.   However, Sunil (at www.amateurradiokits.in) continues to ship the Bitx20 v3  kits, that can be modded to 40 meters.

Ashhar has indicated that if time permits and some in the group volunteer, we could update the original BITx with a more contemporary design while preserving the original’s bidirectional, single conversion scheme.

Ashhar suggests that “Until then, we will continue to see more scratch built bitxs, a kind of return to the roots.”

Reference

Variable bandwidth crystal filter

Some time ago we featured a design from Michael N2ZDB that used a Jones filter design from TenTec to produce a variable filter passband for his BITX40.

There has been more recent interest on the IOGroups BITX20 list in variable bandwidth filters in the µBITx.

Karl-Heinz DF9RU completed a build of a µBitx transceiver and found it to be an excellent learning platform. He has been toying with a variable CW filter.

Up until now audio filters have largely been adopted by members:  either active filters with operational amplifiers or DSP filters with microcontrollers.  Karl-Heinz acknowledges that these options represent easy solutions for integration into the µBITx.

Karl-Heinz has a CW transceiver HB-1B from Youkit. This transceiver has a quartz filter of variable bandwidth.  The bandwidth can be continuously changed using varicap diodes.  The circuit diagram of the HB-1B can be found here.

Karl-Heinz was impressed by the acoustic result of the simple circuitry of his HB-1B and wondered why this alternative had not previously been used?

TenTec has patented a filter design which describes the passband curves of this filter.  A German website  also documents results on the bandwidth of these filters, which match with data from the TenTec patent.

Thierry F1HSU suggests taking a look at Tasa’s site for a tunable quartz filter  : http://yu1lm.qrpradio.com/bp%20yu1lm.htm

Ashhar Farhan VU2ESE suggests that these filter designs are merely a variation of the min -loss cohn filters. As only the coupling capacitance is varied without varying the terminating impedance, we must expect high ripple at all settings except one. What does this mean? It means that the filter will exhibit ringing and phase delays.

A better option would be a smooth Butterworth response with minimum ringing at a fixed frequency.  You can vary the BFO for shifting the audio tone. A 400 hz bandwidth will be narrow enough and yet offer a brightness that we miss in more aggressive designs.

Wes wrote a paper on this on his website www.w7zoi.net.
Ted, KX4OM reminded us of the SSB6.1 transceiver, which employs a tuneable SSB filter with tuning diodes in place of the capacitors in a min-loss configuration. The rig is a basic SA612-based design which can be found here:

Allison KB1GMX suggests looking at this design as well.  It is not new and a bit tricky but works best with lower frequency crystals.

Reference

Monitoring your microphone level

Didier F5NPV notes that many options are possible to tune your AF level. Measurement tools like an ocsilloscope can tap directly at the output of the AF Amplifier.  Alternatively a spectrum analyzer can be very useful in monitoring spectrum quality.

It is also possible to use another RX, a SDR receiver or even WebSDR online to monitor your transmission in quite an accurate manner. When you establish the correct level  of gain required to generate a signal without distortion spikes you just need to calibrate a meter with the appropriate threshold value.

The µBITx does not have an AF level input monitoring system. It is simply impossible to know if the level applied from the microphone preamp is too high or too low.

in the picture above you will notice a little switch just below the vu-meter thatI use to monitor the AGC and AF input level.

Reference

Large screens, digital modes, and beefy processors

A couple of constructors have been busy pushing the limits …

Digital modes µBITx in a box

Felice IK1ZVJ  project stems from his passion for digital modes. He says “The union between µbitx and raspberry works well”.   Felice combines a µBITx with  a raspberry pi and a large pop-out screen in a single portable package for use with digital modes such as FT8.

The LCD screen is mounted on an old CD mechanism to provide automatic ejection from the enclosure.

The project includes a dual power supply with a built-in power supply and battery power for portable use.  He foresees his pr  ubitx, only being used with the raspberry pi on digital modes. The raspberry pi is loaded with WSTJ-x for use on the FT8 and FT4 modes, and for FL-DIGI for PSK and RTTY.  His enclosure uses a 3U rack  (9 cmx40cmx43cm).

You can see more on his video:  https://youtu.be/TlndGOyNtVc  or you can contact Felice via email.

Ashhar Farhan is pushing the boundaries

Ashhar Farhan VU2ESE, designer of the µBITx previewed a Raspberry Pi board for HF radios with a high end codec at the FDIM (prior to Dayton Hamfest 2019).

This is for a new radio that he is building to push the limits of what his homelab capability can produce.

The story so far is that there is a very low noise 24 bit codec on a custom board that plugs into the raspberry pi. The display is a 7 inch capacitive touch screen device.

The radio is a single conversion, very low distortion superhet without any amplification before the crystal filter and triple tuned filters for each band.

Ashhar says “Nothing is casual about this radio. Even the power supply had to be included to have low noise rating.”

Reference

 

Using two nanos to switch firmware

Martin, AJ6CL assembled his uBITx v5 and it seems to work OK.  It is completely stock, with the stock screen and the stock firmware.

He asked two questions:

Exactly what changes in the CEC Firmware v. 1.2 are required before uploading it in order for it to run properly on a stock Ver.5 uBITX?

Evan AC9TU replies, saying it depends on what you want for a display…  “I have the 3.2″ that Dr Lee had already created a full screen TFT file with the link from the web page.  That is what I would use.  This is a personal choice.  If you want bigger, then you will need to find the correct TFT file to match your display.  2.4 and 3.2 I believe are the two that Dr. Lee has programmed.”

“You do not need to compile the code if you use the correct hex file.  Use the uBITXV5 directory and read the FileNameInfo.txt file to help select the correct hex file to load into the Nano.  You will need the Hexloader program to go that route.  I believe that this is where I got the version that worked for me:
https://sourceforge.net/projects/hex-file-loader/

“In case you did not get it, here is the link to the Git Hub repository zip file:

https://github.com/phdlee/ubitx/releases/download/v1.20/uBITX_CEC_V1.200.zip

“For the calibration process, I would do a search on this site to learn the how to do it.  NOTE that the CEC software does not use the same method as the stock (it does not turn on the transmitter to zerobeat wit another receiver.  For the CEC firmware I would download the Memory Manager that Dr. Lee has created to make the adjustments and save the values after a change to be able to backtrack if something goes wrong.”

For the BFO calibration I prefer to use a PC based free audio spectrum analyzer that can be downloaded from here:
http://www.techmind.org/audio/specanaly.html

I connected a mic to the input of my PC, tuned the uBITX to an open frequency with just static, and adjusted the BFO to center the noise spectra between 500 and 2500 Hz.  I then went back and re-calibrated the maser clock, then back to the BFO for a final time.

Can you upload the CEC v. 1.2  firmware to a spare arduino nano processor and  swap out the arduinos with different firmware and still expect the radio to perform normally?

Evan says “Yes, you can use a second Nano to program and keep the first as originally received. There are issues that need to be taken into consideration.

1 – The calibration data is stored on the EEPROM of the Nano, which is not saved in the CEC software. You will need to calibrate before it will work correctly, especially the BFO setting.

2 – The CEC software is different for each display, and the original software only works with the original display. That would mean that you need to change the Nano AND the display if you do not use the original display version of the CEC software.

Reference

100PPR encoder – mods to KD8CEC code to make it work better

Using a 100PPR encoder with the KD8CEC firmware may cause some issues as the firmware can’t keep up with the pulse train from the encoder.

Sascha Bonnet suggests some simple code modifications make a big difference. He replaced two commands (“millis” to “micros”) in the KD8CEC’s source code and my encoder worked.   Here’s his code for you to use as a template for editing the KD8CEC arduino sketch:

  1. int enc_read(void) {
  2.   int result = 0;
  3.   byte newState;
  4.   int enc_speed = 0;
  5.   unsigned long start_at = millis();
  6.   while (millis()  start_at < 50) { // check if the previous state was stable
  7.     newState = enc_state(); // Get current state  
  8.     if (newState != enc_prev_state)
  9.       delayMicroseconds(1);
  10.     if (enc_state() != newState || newState == enc_prev_state)
  11.       continue;
  12.     //these transitions point to the encoder being rotated anti-clockwise
  13.     if ((enc_prev_state == 0 && newState == 2) ||
  14.       (enc_prev_state == 2 && newState == 3) ||
  15.       (enc_prev_state == 3 && newState == 1) ||
  16.       (enc_prev_state == 1 && newState == 0)){
  17.         result–;
  18.       }
  19.     //these transitions point o the enccoder being rotated clockwise
  20.     if ((enc_prev_state == 0 && newState == 1) ||
  21.       (enc_prev_state == 1 && newState == 3) ||
  22.       (enc_prev_state == 3 && newState == 2) ||
  23.       (enc_prev_state == 2 && newState == 0)){
  24.         result++;
  25.       }
  26.     enc_prev_state = newState; // Record state for next pulse interpretation
  27.     enc_speed++;
  28.     delayMicroseconds(1);
  29.   }
Reference

Full assembly of a uBITx

Jonathan Kayne, KM4CFT, who is studying at Virginia Tech in the USA asks on the IO Groups BITX20 list whether it is possible to do a full assembly of the uBITX.   That is, he wants to start with a bare PCB and hand solder on the SMD components. He plans to use it in a school project.

He received several replies to his query.    Jerry KE7ER suggests:

Be aware it might not be as trivial as it looks.

The transformers are described here:
http://www.hfsignals.com/index.php/ubitx-circuit-description/

Search for “Coil Details”.

The KiCad files are not available, that was some sort of requirement
when they set up HFSignals to build this stuff. Perhaps to get a business loan they had to keep some part of the design private. The remainder of the design is open source, and building from scratch is encouraged. The uBitx is a two layer board, the bottom side is mostly ground plane. Perhaps just build “ugly style” or “Manhatten style” on copper clad circuit board, that way you have a solid ground plane under the entire design, which is highly recommended.

All quartz crystals in that IF filter should be matched by hand to within 100hz or so, that means building a crystal oscillator and having some way to accurately measure frequency. If your quartz crystals have different characteristics than what hfsignals uses, you will need some way to determine the passband of the IF filter and adjust the filter shape as described in Experimental Methods in RF Design (and/or search for Dishal on the web).

You will need some way to sniff and measure RF, an Antuino would be ideal, though you might get by with a diode RF probe and a Harbor Freight DVM. A good scope would be nice, perhaps 50mhz or more of bandwidth. The nanoVNA would be worth looking into, shows complex of 1 and 2 port networks, and thus is an education in itself.

If you are serious about studying “RF and Microwave”, all of the above is worth the investment.

And lastly, maybe you could consider getting a working uBITx from HF Signals, simply so you can  know for sure what the signals levels really should be when yours doesn’t work.  Many have built radios like the uBitx from scratch, but few find it easy.

Ashhar Farhan VU2ESE, the designer of the µBITx has indicated he can arrange for a blank PCB.   He notes, however, that there is very little education in it!   To build an actual ubitx all by yourself would be a better learning experience.

Although the µBITx is a double conversion design, it is actually quite easy to build, stage-wise.  Ashhar suggests building the IF amplifiers first.  You have to build six of these. After getting one going, the rest can be duplicated.  He suggests that each is built on a separate 2″x2″ copper board.

After the IF modules have been built, you can hook up a raduino from the Si5351 board from qrp-labs and an antuino.   Using the antuino as a signal generator, you can test and align the 45 Mhz filter and the LPF.  At that point, you are done with the RF parts and you can choose to go with any audio amplification system.

Ashhar encourages experimenters to build their µBITx one stage at a time, then test, measure and move on.    He suggests it is a great education!!

Reference