Skip to main content

Add extended switchs to uBITX with Firmware CEC Version 1.073

Add extended switchs to uBITX with Firmware CEC Version 1.073

This document will be published for use as a manual for the uBITX Firmware CEC Version 1.073 Beta release. Version 1.073 will be released within a day or two as testing ends. (You can download it from github and use it, but it can be modified.)


Since uBITX Firmware CEC Version 1.073 Beta, it supports 4 extended switchs.
For the time being, the firmware that supports the expansion switchs will be distributed separately for stability. Extension switchs Function If the firmware is stabilized, all firmware will have an expand switchs function. Whether to use the extension switchs can be set in uBITX Manager.


1.Preparations for adding function switchs
 You need 4 switchs and 4 different types of resistors.
 resistors does not matter anything around you.
 However, the difference between the four resistor values is better.

The recommended resistance value is more than 100k ohms.
This is because you can add more switchs later.
I found 100k ohms resistors in the parts box.
I used 470k, 330k, 200k, and 150k.



2.Connecting wires to the Function switch
Your encoder (Knob) will probably have a red line and a yellow line connected.
It is 4th pin and 5th pin based on radiono.




Now, when you press the function switch, the red line is connected to GND (yellow line).

3.Switch and resistor connection
For ease of viewing, I soldered the resistors in the air.




Connect the line from the switch to the Function key in parallel.

4.Setting the switch to ubitx
Now you need to save the switch information you created in uBITX.

Run uBITX Manager.

Extended switch setting is supported from uBITX Manager Version 1.03 or later.

Connect -> Read


'Decode =>' -> Scroll down
You will see a screen that manages the 'Extended Key' as shown below.


Press the Read ADC button.



It will probably have a value of about 254.
This is the ADC value of A6 to which function key is connected divided by 4.
The reason for dividing by 4 is to reduce the usage of EEProm.

You should now measure the value when you press the button.

Click 'Read ADC' while holding the switch to be used as 'Select Mode'.

Try one or two more.


Enter the measured value into the 'Mode' value on the left.


I connected the 470k resistor to the 'Select Mode' switch, so the ADC result was 235.
I set the range to -1 to +1 to prevent the switch from malfunctioning.

The values vary depending on the resistance you have used, the state of the switch, and the length of the cable.


In this way, enter values for the 'Band Up', 'Band Down' and 'Tune Step' switch.













If the switch is not fixed, it will be difficult to click on the 'Read ADC' while holding down the switch.

In this case, select '5 Sec Delay' and click 'Read ADC' button.
Then count down the ADC for 5 seconds as shown below.




Below is a video taken when I write this article.



Comments

  1. Hi Ian.
    Just done the extended button mod, it works great.
    For the ADC values I went 2 bits either side ie 233 - 237, to allows for any drift.

    Philip G7JUR.

    ReplyDelete
    Replies
    1. Great, And Thanks for your efforts.
      I like VfoA / B Change.
      Ian KD8CEC

      Delete
  2. Thanks for the excellent features. I just built a ubitx and is trying out things. Your alternate f/w really helped. I have a question regarding s-meter. I am running 1.073 version with a 20x4 display. To enable s-meter, what hardware modifications need to be done. A blank 3rd line in a 4 line display is not cool :)

    ReplyDelete
    Replies
    1. Sreejith
      I agree that I do not like the empty 3 lines. :)
      S-Meter has a lot of ways. Any S-meter on the Internet does not matter. Just connect to the A7 line.
      Please refer to ubitx.net.
      If you wait a few day, I will post about S.Meter.

      Ian KD8CEC

      Delete
    2. Cool Ian.. thanks s ton for all the great work. In fact the ubitx and customisations possible made me come back to ham radio after 20 years. 😀

      Delete

Post a Comment

Popular posts from this blog

How to upgrade uBITX Firmware

uBITX is based on Arduino Nano. So uBITX's firmware upgrade method is the same as Arduino.
There are two ways to upgrade the firmware of uBITX.

The first is to compile the source from the Arduino IDE, and the second is to upload the compiled hex file using the Firmware Upgrade Tool.

I'll show you how to upload a compiled hex file as a second method.

1.Connect the uBITX's USB cable to the computer.


2.Run Device Manager on your computer.
  The way to open the Device Manager for each OS Version differs slightly.
  In most Windows, you can easily launch the Device Manager by running.

  On your computer, press the Windows key + R.



 Type devmgmt.msc and press OK Button.




On most operating systems, there will be a serial port named Ports with CH340. If so, the next step is skipped.

If the serial port is not installed as below, you need to install the driver.



Included in uBITX is the Adonano, which uses the CH340 USB To UART part.

Download the latest CH340 driver from the Internet.

CAT Support uBITX Firmware CEC Version 1.06 Release (Added WSPR)

uBITX Firmware CEC Version v1.06 (changed v1.061)

I deployed 1.06 and received feedback from WSPR's beta tester, Philip (G7JUR).
It was a problem that the LPF was not automatically selected according to band selection during WSPR transmission.

I modified it soon and changed uBITX Firmware CEC Version to 1.061.
uBITX Manager also changed Version to 1.01.

-----------------------------------------------------------------------------------

I released version 1.06 which added WSPR function to uBITX.
Beta testers have been very helpful when embedding WSPR functionality. WSPR will continue to improve in the future.

By using WSPR before and after QSO, you can check where your uBITX is spreading all over the world.  If uBITX Manager is used to put WSPR information into uBITX, uBITX no longer needs any external device to transmit WSPR.

The uBITX group's excellent tester also shared a way to use CW Beacon using the Autokey feature (Autokey is a memory keyer built into CEC Firmware.) I will…

CAT Support uBITX Firmware CEC Version 1.01 Release(Changed from v1.0)

CAT Support uBITX Firmware CEC Version 1.01  Release (Changed from v1.0)

uBITX Firmware CEC Version 1.06 has been released.
Please click the link below.
http://www.hamskey.com/2018/03/cat-support-ubitx-firmware-cec-version_24.html

This version of the concept is an upgrade without hardware modifications. No hardware modifications are required to use this firmware. Continuous release and testing has been done in the uBITX group. I tried to put only the basic functions that an HF transceiver should have. The features have been upgraded with the advice of people who have great ideas in the uBITX group.
It was a project that started to contribute to the original source in github. The project was intended to fix some simple bugs and request merge to the original source. And I was planning to delete the project. At the beginning of the project there was a bit of discussion about this in the uBITX group.
Since then, I've keeping the original source type to allow code share with any user fork…