uBITx FMSOS – Another new firmware branch for the uBITx!

Bob GM4CID placed a comment on our article “Ubitx modders are hard at work”  about another very interesting Raduino solution from BG1REN.   This can be found here:  https://github.com/qiwenmin/ubitx-fsm

The objective of BG1REN’s code (taken from the Readme) is “to implement a new firmware for ubitx, based on FSMOS. I am trying the FSM modal in this project, to verify that FsmOs is useful or useless.”

FSMOS is “a tiny and simple finite-state machine based embedded operating system. Currently, it supports Arduino and Linux/macOS platforms.”

Bob notes, “CAT commands use an Icom protocol and are well featured and Google translate does a good job with the Chinese documentation.”

Google  Translate says that the FSMOS implementation of the µBITx:

  • Supports LSB, USB, CW, CWR mode reception and transmission
  • Support VFO mode and channel (MEM) mode
  • Supports A and B dual channels
  • Support SPLIT, can operate in different modes
  • There are 20 memory channels, each channel can store the mode and frequency of A/B two channels, Split status and currently active channel
  • Supports manual keying (both mono and stereo plugs are supported) and paddles (optional Iambic A or B mode, and left and right hand modes)
  • Adjustable CW sidetone frequency, auto key speed, CW stop delay, key mode
  • You can set ITU zones (1, 2, or 3) to limit the frequency range that can be transmitted according to different zone settings
  • Support ICOM CI-V command, can use common software to operate radio, support Ham Radio Deluxe v5.24.0.38, WSJT-X, OmniRig, FlDigi, etc.
  • Supports automatic transmission from PC software
  • Supports the display of your call sign
  • Oscillator calibration function (10MHz transmit mode calibration or Zero Beat receive mode calibration) to ensure accurate frequency
  • Provides BFO calibration (CW and SSB calibration separately) to ensure optimal signal quality

The developer has drawn heavily on Ian Lee’s (KD8CEC) code and implementation concepts and acknowledges this. 

The screen display

After the boot information is displayed, the radio enters the home screen.  Ubitx-main

As you can see from  above, the main interface information mainly includes:

  • The most important information is displayed on the second line, including:
    • Channel mode: VFO mode or MEM mode. If VFO mode, V is displayed, and if channel mode, M is displayed.
    • Channel: The current job is A channel or B channel. The VA  (above) indicates that the VFO mode and A channel are currently selected.
    • Working mode: CW, CWR, LSB or USB. The CW mode is shown above.
    • Frequency: The frequency in the figure above is 7.023 MHz.
  • Status information and information for the other VFO are displayed on the first line, including:
    • Locked state: When the lock state is turned on, the frequency or channel remains unchanged when the knob is rotated, preventing accidental changes to the frequency or channel due to accidental touch of the knob. When lock is turned on, a lock icon is displayed in the upper left corner of the screen.
    • Split mode: The S character is displayed when split mode is on.
    • The middle and right sides show the mode and frequency of the other VFO.

If you start transmitting, the radio changes as shown below:

Ubitx-tx

In the main interface, the available operations are:

  • Rotate the knob: If the lock is not turned on, turn the knob to adjust the frequency (VFO mode) or change the channel (channel mode).
  • Short press the F button (press duration is less than 0.8 seconds): Enter menu mode.
  • Press and hold the F button (press for longer than 0.8 seconds, less than 1.6 seconds): Enter frequency adjustment accuracy mode.
  • Press and hold the F button (for more than 1.6 seconds): Turn lock mode on or turn off lock mode.

This new software option looks really interesting and many will probably be downloading the sketch to have a look at what it does!

VE1BWV/VU2SPF firmware update to add CAT and SPLIT functions

JoeVE1BWV has announced that the team (Joe and Dr VU2SPF) have just released version 2.9U of their firmware to support CAT control  and split TX/RX operation particularly useful for 40m operations and contesters. The new code is available at http:// vu2spf.blogspot.ca

The team has  also been testing it with WSJTX FT8 mode and all is working quite well… Occasional episodes of rig time out appear to be related to limitations in hamlib.
See http:// vu2spf.blogspot.ca  for more details and instructions for downloading the updated sketch.

uBITx modders are hard at work …

There are a number of very talented people involved in modding the µBITx.  A number of BITX20 IO group members have mods under way that we can look forward to hearing reports on in due course. This news item provides a bit of a round up of what’s in store for the µBITx constructor community.

Mods under development

Martin AE7EU, has been building and testing his Top Board for the µBITx. A lot of constructors are watching  Martin’s project with interest, because the top board would make the µBITx into a very compact (6″ x 6″x ~1 & 1/4″) high performing QRP TXCVR.

Nik VK4PLN, is experimenting with replacing the finals in the µBITx and has been giving us updates.  He has already told us how to use the ADAFRUIT TPA2016 I2C module as an AGC device and given us the required code.  He is in the process of offering a number of circuit boards (his RaduinoI2C – a Raduino replacement board, a similar board with a Teensy 3.2 on board, and LPF and BPF boards).

John VK2ETA, has already reported on his mic compressor  using the SSM2167 module, but is also working on an S-Meter,  an SWR/POWER meter, an Arduino pro mini linked by I2C to the Raduino to measure power, swr, and the final’s current (using hall effect sensor).  He also plans to control an ATU plus shutdown the final’s bias if required.  His ATU is an L-Network with 2 servos controlling a variable capacitor and a two wafer rotary switch to get 6 coil positions on high impedance and 6 on low impedance.

Glenn VK3PE, has been experimenting on improving evenness of output across all bands, by focussing on the response of the PA driver stages.  He is using MPSH10’s in his test board build and FT37-43 toroids wound as either trifilar, or bifilar, according to stage needs, of 10 turns each.  Comparing the original uBITX driver which has a ~7db less gain at 10M end, this version has ~2dB drop.

Andy KB1OIQ has made some really important mods that can be used by any constructor, but has also built in features for the white stick brigade (blind ops).   His firmware can be found here, but does require the addition of a number of hardware features including a matrix keypad, an I2C LCD display (to free up digital pins), and voice synthesis module (Emic2).
 

Jack Purdum W8TEE, an accomplished author and reviewer, and somebody who has previously released enhancement to the BITX40, has been working quietly in the background on something – possibly a touchscreen, upgraded processor and associated software?

Gerry EI8DRB, has been doing some playing around with the Teensy 3.2.  It will be interesting to see what he brings to light.

Bill K9HZ is working on an antenna tuner, but has already contributed the design of the full rig power control unit and his practical solution to the problem of uneven power output across bands.   He may well be working on other projects!

Mike, WA6ISP has contributed a range of Raduino replacement circuit boards and also developed a port expander to get over the shortage of µBITx I/O ports.  I suspect he is also working on other new hardware for the µBITx!

Jim W0EB and Ron W2CTX have provided hardware and software fixes for the CW keying issues, and in combination with the Radi2cino board they have developed restores I/O lines for other purposes.  They have plans for further software releases and have previously talked about including CAT control.

Ian KD8CEC has released his firmware variant with all sorts of features including CAT control, Memory Channels and IF Shift. The most recent beta version even includes built in WSPR (no computer required).  He has also produced his uBITx Manager PC/Linux software for EEPROM management for the uBITx and his hack of the WSTJ-X software for the Raspberry Pi provides almost complete control of the µBITx within WSTJ-X.   However, he has plans for a v2 firmware release in conjunction with hardware mods.

Dr. SP VU2SPF and Jo VE1BWV have already shown their stuff with a 2.7″ touch-panel controlled µBITx and a firmware release to go with it.  They are no doubt hatching up a few more mods right now!

Have I missed somebody cooking up a mod?

There are bound to be others lurking or that I have missed in summarising keen µBITx developers.   If you are working on something, drop me a line at info@ubitx.net to bring your developments to light.

Mike ZL1AXG

 

 

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

Replacement to TDA2822 coming soon!

Sajid, VA3QY asked Ashhar Farhan where he could source a new and reliable TDA2822 audio chip.

Ashhar Farhan has replied, “I am working on an audio amp.  I am testing it live. I always personally use circuits on the air before recommending them. I hope that by Tuesday I will have something you can use.   About 100 out of 4000 boards have had this problem. and less than 20 of them have reported the blow out.”

Reference

Second lot of Radi2cino boards available to purchase

Jim Sheldon, W0EB has announced that the W0EB/W2CTX/N5IB “RadI2Cino” (pronounced rad ee too CEE no) I2C replacement for the Micro BITX (uBITX) Raduino card is again available for purchase.

NOTE: these are only for the uBITX, not the BITX40 and other earlier models.

This board is designed to utilize either a 2 x 16 or 4 x 20 I2C LCD Display (not included) instead of the parallel display originally included with the uBITX so that the digital I/O lines formerly used by the display can be used to run the CW keyer and a few other functions in a much more efficient manner.

Prices have lowered a little since the first offering.

Partial kits with the IC’s soldered in place are no longer being offered.

Current options are:

  1. Bare Board (you supply the parts & you build it). $10 US shipping included. . International $15 US shipped.
  2. Complete Kit of Parts (less the Arduino NANO, LCD display and display I2C controller) – you build it. (All parts except the NANO, display and display controller are included in the kit.) $30 US shipping included.   International, $45 US shipped. All customs duties and VAT will be the responsibility of the purchaser.
  3. Completely assembled and tested RadI2Cino Including the Arduino NANO but less the display and I2C display controller.Assembled and tested RadI2Cino boards will be available by Special Order Only. They will require up-front payment by PayPal and up to a 1 week lead time to build and properly test) $75, shipping included in the U.S.

    No international orders will be accepted for assembled and tested boards at this time.

All orders will receive the complete assembly manual which includes a full bill of materials, full board layout diagrams and full schematics in PDF form via email.  This manual has also been attached here for your download:  RadI2CinoBoardConstruction. You can read through it and decide if it’s something you’d like to build.  The same manual will be included with the order by Email.

The bill of materials, included in the manual, has ordering information for the parts. Parts suppliers are Tayda, Digi-Key and Mouser.

Please, don’t post orders or info requests on the BITX20 list as Jim doesn’t always get the posts from the reflector.

Email w0eb (at) cox dot net for ordering or further information.

Variable power supply

One of the discussions on the BITX20 IO list over recent weeks has been a variable power supply to control power out on different bands.   This seemed like the wrong approach to addressing variable output of the µBITx to the editor of ubitx.net (where the problem of inadequate drive or inadequacies in the PA design should be addressed directly) until he spotted this circuit diagram drawn up by Walter W9KJO, based on earlier suggestions.     It is simple and straight forward with the TIP142 device at the centre of the “buck” function.   24v input can be adjusted downwards to set the power output of the µBITx PA stage.

Walter says, “It controls voltage nicely. Really helps limit output power while working digital.”

However the TIP 142 really generates some heat.  He has a heat sink on the device, but the heat sink will need to be much larger to be safe.

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.

Audio Pop mod from QCX submitted by Greg N3NW

This audio pop mod from Greg N3NW appeared on the BITX20 lO Group list before this website went live in January.   The implementation may not look that elegant (sorry Greg), but this was about an experiment to reduce pops not an entry in a beauty contest!

Greg “borrowed” a rather elegant circuit snippet from the QCX transceiver that takes care of the pop completely.  This is effectively the same mod as that submitted byJoe VE1BWV (and no doubt taken from the same source) who confirmed that it works.  The mod has now been confirmed independently by both Pete W8KS  and John AD0RW.    So this mod, is known to work, however, it may come with one downside, for which John AD0RW has a work around.

The circuit diagram for the popular QCX transceiver (developed by QRP Labs) can be found near the end of the very well documented assembly guide for this single-band CW rig.  An excerpt that contains the TX Mute circuit installed by Greg can be seen below:

The TX mute switch in the QCX involves just 4 parts – a BS170 (Q7 above), a 0.1µF capacitor (C52 above), a 1N4148 diode (D5 above), and a 120K resistor (R60 above).

Greg used a 300K resistor for R60,  and a 440nf capacitor for C52 to adjust the timing, which keeps BS170 open just long enough when switched back to RX to remove the pop.  The CW sidetone gets weaker with this, however in my uBITX board 10K R253 was replaced by a 1K resistor to make the CW tone just loud enough with this mod.

Pete W8KS has, however, found that the CW sidetone (even after replacement of R253 with a 1K resistor) to be insufficient and asked for suggestions to address this mod’s shortcoming.

John AD0RW found a much better place to connect the drain of the MOSFET. First he replaced R70 (in µBITx circuit diagram (see circuit excerpt above) with a 510 ohm resistor.  Then he connected the MOSFET drain to the relay side of that resistor, i.e. to the point M2 on the schematic above.

This setup still shorts the incoming audio to ground and kills the pops, but leaves a voltage divider of R253 and R70 connecting the sidetone to the volume control, increasing the amount of signal injected.  Depending on your value of R253, this may be perfect as is. The value of R253 varies (some early production kits had a 1K resistor and more recent kits get a 220K resistor).  John’s was 220 k and he needed more volume, so he put a 50 k trimpot across R253. It is just about right at maximum resistance, but can be adjusted downwards if more volume is required.  If your R253 is a smaller value and the sidetone is too loud, just replace it with something of higher resistance.  The volume control now has final control over the sidetone level and can be tweaked in operation if needed.

Reference 1
Reference 2