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. 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

    ReplyDelete
  3. Ian, I get the ADC readings of 3,5, and 6 and I used the same resistor values you used. What could I have done wrong
    Dan, W2DLC

    ReplyDelete

Post a Comment

Popular posts from this blog

Release CEC Firmware v1.200 for uBITX All version(include V2, V3, V4, V5)

Release CEC Firmware v1.200 for uBITX All Version (include v2, v3, v4, v5) I did the firmware work for v5 when uBITX V5 was released, but I release it now. I received the feedback from a thankful beta tester and tested it myself by converting my uBITX v3 to v5 but I was not sure. I ordered the uBITX V5 and delivered the correct uBITX V5, so I made a little more fine-tuning. If you use V2, V3, V4, you do not need to update this firmware.

Release EU1KY AA Firmware CEC Version 1.01 and 1.0a

Release EU1KY AA Firmware CEC Version 1.01 and 1.0a It is the stabilized final version of EU1KY AA. Updates starting with Version 0.1 continue to add features. Please refer to the link below for added features. I have separated the Version to 1.01 and 1.0A for users who want to use AA only for instrumentation purposes. *  If you want to use all the features added up to Version 0.71, please use Version 1.0A. *  If you want to use it only for instrument use, please use Version 1.01 Version V1.0A Version V1.01 1.Download Firmware Version 1.01 and 1.0a https://github.com/phdlee/antennaanalyzer/releases Version 1.01 (Version with only antenna analyzer function) https://github.com/phdlee/antennaanalyzer/releases/download/v1.01/AA_CEC_V1.01.zip Version 1.0A (Version with all features added up to Version 0.71) https://github.com/phdlee/antennaanalyzer/releases/download/v1.01/AA_CEC_V1.0A.zip ConvertRXP (Converters for using AA measurement data in other tool

uBITX with Nextion LCD (CEC Firmware) - Installation and Introduction

uBITX with Nextion LCD (CEC Firmware) -  Installation and Introduction uBITX CEC Firmware supports various LCD since Version 1.08 (16x02 Parallel, 20x04 Parallel, 16x02  I2C, 20x04 I2C, 16x02 Dual LCD with I2C). Supports Nextion LCD (Graphic LCD) from Version 1.09, Version 1.09x is primarily aimed at Nextion LCD support. Also 1.09x will continue to be Beta version. If you want a stable version, please use 1.08 or 1.1 version to be released in the future.