Skip to main content

Reducing CW Key Errors in uBITX

Reducing CW Key Errors in uBITX

uBITX uses ADC to distinguish CW Keys.
Unmodified uBITX uses A6 of ADC I / O as CW Key input.
The A6 is connected to 5Volt with a 4.7K ohm resistor.



The Arduino ADC has a value between 0 and 1023.
As shown in the figure above, A6 is connected to 5Volt at 4.7K, so you will get a value of 1023.
1023 / 5 * 5(input) = 1023

If you press the straight key, A6 will have a value close to zero.
1023 / 5 * 0(input) = 0

To use Paddle with uBITX, we need to use 2.2k and 10k resistors.

When press the Dot key of Paddle
5 * 2.2 / (4.7 + 2.2) = 1.594
1023 / 5 * 1.594  = 326

When press the Dash key of Paddle
5 * 10 / (4.7 + 10) = 3.4
1023 / 5 * 3.4 = 695

When both Dot and Dash are pressed
5 * 1.8 / (4.7 + 1.8) = 1.3
1023 / 5 * 1.3 = 265


The above values are ideal values.
In actual use, errors occur in the measured value due to the error rate of the resistance, the length of the wire, and the resistance of the key contact.
Therefore, we use a wide range of values as shown below.


With the above code, can use CW Key in most environments.

However, if for any reason a strange value occurs, it will behave as if the wrong key is pressed.
The video at the bottom of this document deliberately caused the contact to become unstable, resulting in an error.

To reduce these errors, CEC Firmware 1.0 and later versions allow you to optimize the range of ADC values for your environment.
The video made the worst case and minimized the ADC range to avoid the worst unreliable contact errors.



Press the function key


Press the function key, when 'Setup On?' appears.



Press the function key

Press the function key, when 'ADC Line Monitor' appears.



Confirm the position marked A6.


1023 is displayed when no key is pressed.


327 is displayed when 'Dot' key is pressed.


Enter the 'dot' range in uBITX Manager.
Please refer to other documents for basic usage of uBITX Manager.




I made the range of values considerably smaller because I made the worst.
Your CW Key has a better contact point than a screwdriver, so you may want a larger range of values.


698 is displayed when 'Dot' key is pressed.


Input ADC Range for Dash Key


285 is displayed when 'Dot' and 'Dash' key is pressed.



Input ADC Range for both Key

Store the value in uBITX.



Reboot and test uBITX.



Test video


Comments

  1. This comment has been removed by the author.

    ReplyDelete
  2. Casino - Bracket betting guide for your chance to win
    The Casino is a unique casino that has been around for over a dental implants decade. It has managed to offer great games such https://septcasino.com/review/merit-casino/ as Blackjack, Roulette and Video gri-go.com Poker,

    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.