Replacement encoder

Jim W0EB  suggests a replacement encoder for the µBITx from Digi-Key :

part# PEC11R-4020F-S0012-ND

This appears to be a direct replacement for the original encoder and works really well. It’s a genuine Bourns encoder and not that expensive.

Reference

Testing your uBITx using the Reverse Beacon Network

Rob AG5OV says, “If you are like me and not having a lot of luck with SSB QSO due to the recent crappy conditions or want to debug your apparent low voice output the Reverse Beacon Network can come to the rescue.

“RBN listens for CW CQ’s and reports who heard them.  For the uBITX you can add in Ian’s (KD8CEC) wonderful firmware and even without a key you can send a message via the Automatic Key Memory function and see both who can hear you and what your uBITX output actually is under ideal conditions.”

What Rob did:

  1. Installed Ian’s (KD8CEC) firmware (1.04) http://www.hamskey.com/
  2. Downloaded the Ian’s Memory Manager http://www.hamskey.com/
  3. Edited the Auto CW memory to “TEST DE <YOURCALLSIGN> TEST DE <YOURCALLSIGN> #” (the # is the prosign for AR)
  4. If the TX/RX delay isn’t high enough you will flop back and forth with annoying clicks when you aren’t interactive anyways, I set mine to 1000ms and 400ms.
  5. Tuned to the CW/Data area of a band and set to either CWL or CWU
  6. Select Auto CW
  7. Push the PTT to send it
  8. Look yourself up on RBN http://www.reversebeacon.net/

What he discovered is interesting.  He was being heard and maxing out at about 1.2a @ 12.0v on CW compared to his 800ma @ 12v for voice (while “eating” the mic.

He has figured out that, besides conditions, the audio input side of the world is letting him down.  He has ordered an assortment of 1206 SMD resistors and a package of replacement electret mics (both from Amazon) to see if he can fix the problem.  We will be waiting to hear the results.

Reference

How the uBITx works: A technical summary

uBITx 45MHz roofing filter (First IF stage)

Here’s a pretty complete summary of what’s going on within the uBitx, under its dual conversion IF system, as explained by Jerry KE7ER.

Actual frequencies are those used in the supplier’s original µBitx code:

Release version dated Dec 6, 2017 at:  https://github.com/afarhan/ubitx

uBITx 12 MHz Filter – 2nd IF stage

Local Oscillators

  • CLK0 (BFO) is fixed at 11996500 Hz, maybe 500Hz below the 12MHz filter’s 2000 Hz wide 3dB passband.
  • CLK1 (second local oscillator) is fixed at 56995000 hz for USB and 32995000 hz for LSB. You can find those three numbers in the file ubitx_20.ino at lines 166, 163, 164 respectively.

The VFO

The VFO is used to select the operating frequency Fop according to these formulas.

For USB:

Fop  = VFO – (CLK1-BFO)   so:

VFO = Fop + (CLK1-BFO)   where CLK1 is around 45 MHz + 12 MHz

For LSB:

Fop  = VFO – (CLK1+BFO)     so:

VFO = Fop + (CLK1+BFO)      where CLK1 is around 45 MHz – 12 MHz

To receive a 7.2MHz LSB signal (where 7.2 MHz is the frequency of the suppressed carrier), the VFO gets set to:

7200000+(32995000+11996500) = 52191500 Hz.

That formula gives an exact result, not an approximation.

USB vs LSB

The BFO corresponds to the carrier frequency of the station being received or transmitted. The 12mhz filter is always above the BFO, so within the 12 MHz IF it allows through only the upper sideband.

The VFO is always above the 45 MHz first intermediate frequency, and so always inverts the sidebands.

A carrier at 7200000 Hz would get translated to:

VFO-Fop = 52191500 – 7200000 = 44991500 Hz

A lower sideband at 7198500 Hz would get translated to:

52191500 – 7198500 = 44993000 Hz

In this example we assume the lower sideband is generated from a single audio tone into the mic of 1500 Hz.   We have chosen 1500 hz because it will land in the middle of the 12 MHz filter’s passband, assuming the filter has a 3 dB passband that’s 2000 Hz wide and the BFO is 500 Hz below that passband. The actual range of frequencies passed will be 500 to 2500 Hz. Those assumptions of 2000 Hz and 500Hz might be off by a couple hundred Hz.

Likewise, a high side CLK1 of 56995000 Hz  for USB always flips the sidebands when translating to 12 MHz, however the low side CLK1 of 32995000 Hz we use to receive the 7.2 MHz LSB signal does not.

Our 7.2mhz carrier:

44991500 – 32995000 =  11996500 Hz (exactly equal to our BFO frequency)

Our 7.2mhz lower sideband:

44993000 – 32995000 = 11998000 Hz  (in the middle of the crystal filter passband).

That’s how the original uBitx code works.

There is a problem because where an LSB signal hits the 45MHz filter will be 4khz removed from where a USB signal hits it, resulting in different audio quality between the two.

Reference

Screen protector

Jeff, AD6RH, mentions that he protected his LCD screen from getting scratched by using a screen protector for an iPad (a screen protector for any other device would work) and cut it to fit.    He reminds you to clean the surface well before applying!

Reference

A cheap logic analyzer to inspect uBITx CAT operation


Rod KM6SN notes that  KD8CEC software will run in a stand-alone separate Arduino Nano which is not connected to a uBITX.  This means you can look at the CAT serial link operations on your computer.

Rod mounted a spare Nano on perfboard so he could access the UART RX and TX lines and the Nano Reset line, and installed the KD8CEC software on the Arduino Nano.   The test jig and  ESD ground plate underneath are shown in the photo above.

Some time ago Rod  purchased a Saleae 8ch logic analyzer when they were still cheap. I used it, and enjoyed it for about a year.  Then, an ESD accident blew the Saleae. I looked online and did not like the new Saleae prices, so I purchased a cheap Saleae clone (USBee AX Pro) for about $12. See:

https://www.ebay.com/itm/USB-saleae-Logic-Analyzer-w-Lines-USB-Cable-24MHz-8CH-CAN-24MHz-for-SCM-Black/302384112773?hash=item46677f6485:g:q4QAAOSw~kJadP~k

Unfortunately, the folks at Saleae got upset at all the clones, and changed their software so that it would not work with the clones.

So, I went to the USBee web site to get software, only to find out they wanted $20 for it. Being a true blue amateur op, Rod did not want to pay $20 for  proprietary software linked to one piece of hardware only.

After some digging he uncovered what appears to be an excellent open source (i.e. FREE!) logic analyzer called  PULSEVIEW/sigrok.

PULSEVIEW/Sigrok

PULSEVIEW provides for decoding protocols, such as I2C, UART, CAN, 1wire, and many more.  Sigrok is the command line version, and PULSEVIEW is the GUI on top of the command line that provides a graphical display of decoded serial link.   PULSEVIEW/sigrok supports an impressive list of hardware analyzers. Furthermore, PULSEVIEW/Sigrok supports data collection from some digital multi-meters, and digital oscilloscope dongles.  For more information see:

https://sigrok.org/wiki/Supported_hardware

Apparently some logic analyzers have an analog channel, and PULSEVIEW can show the analog signal as you would see it on an oscilloscope.

Here is an example PULSEVIEW screen showing a UART serial link decoded.
Channel D0 is Nano UART RX, channel D1 is Nano UART TX, channel D2 is Nano reset line:

Not bad for a $12 investment!!

PULSEVIEW/sigrok installation instructions

For Windows:   https://sigrok.org/wiki/Windows#Windows_installers

 

For Linux:   https://sigrok.org/wiki/Linux

After installing Pulseview, install the firmware for the USBee AX using these instructions:

https://sigrok.org/wiki/Fx2lafw

In Linux, use sudo to copy the attached file 99SaleaeLogic.rules into /etc/udev/rules.d

Remember to add your username to the plugdev and dialout groups.

Missing components on uBITx board

Don’t worry about the two missing components on your µBITx board.

C210 and C216 are shown as of 0pF meaning they are meant to be not fitted on the board.  The 45MHz filter was originally just an LC circuit, but in the production version a 45MHz crystal filter was incorporated into the design.