¿ªÔÆÌåÓý

Keying needs debouncing


 

I got the W0EB/W2CTX sketch for my uBITX and found it a good solution for my 2-line display. uBITX will be used (if further stones are removed) for outdoor operations and I dont like a touch display there. So W0EB/W2CTX is my choice.
The paddle as well as the straight key are doing well. But surprisingly the mic (which was working for the other two sketches I tried so far) did not work anymore. No relay klick. Pulling the PTT down with the screwdriver and whistling in the mic brought output. Switching the PTT with the internal microswitch of the mic pulled the PTT also down to exactly 0V but the relay wont switch. The solution brought a 47n capacitor between GND and PTT.
I own a small device which may measure bounces with a limited resolution. It is intended for proper adjustment of bug keyers. This shows for the MIC switch abt. 30 up-down bounces in <= 100us. Wit 47n in parallel there is no bouncing detected. Had a look at the keyer.cpp line 254 where tx is switched on for SSB. This is handled in a interrupt routine. Much better than the slow ADC readings but no debouncing at software level and so it failed for the bouncing mic switch.

It is not a big thing. A capacitor will do the job in most cases.

Anoter thing is the keying speed. After flashing the nano with W0EB/W2CTX the keyer speed was unitialized -1 wpm. Should be initialized to any appropriate value. Else one gets a steady keying after changing the wiring when a keyer is plugged in.

73 Matthias, DD7NT


 

What version did you load.

rOn

On September 6, 2018 at 4:14 PM Matthias Zwoch <zwoch@...> wrote:


I got the W0EB/W2CTX sketch for my uBITX and found it a good solution
for my 2-line display. uBITX will be used (if further stones are
removed) for outdoor operations and I dont like a touch display there.
So W0EB/W2CTX is my choice.
The paddle as well as the straight key are doing well. But surprisingly
the mic (which was working for the other two sketches I tried so far)
did not work anymore. No relay klick. Pulling the PTT down with the
screwdriver and whistling in the mic brought output. Switching the PTT
with the internal microswitch of the mic pulled the PTT also down to
exactly 0V but the relay wont switch. The solution brought a 47n
capacitor between GND and PTT.
I own a small device which may measure bounces with a limited
resolution. It is intended for proper adjustment of bug keyers. This
shows for the MIC switch abt. 30 up-down bounces in <= 100us. Wit 47n in
parallel there is no bouncing detected. Had a look at the keyer.cpp line
254 where tx is switched on for SSB. This is handled in a interrupt
routine. Much better than the slow ADC readings but no debouncing at
software level and so it failed for the bouncing mic switch.

It is not a big thing. A capacitor will do the job in most cases.

Anoter thing is the keying speed. After flashing the nano with
W0EB/W2CTX the keyer speed was unitialized -1 wpm. Should be initialized
to any appropriate value. Else one gets a steady keying after changing
the wiring when a keyer is plugged in.

73 Matthias, DD7NT



 

Am 06.09.2018 um 22:51 schrieb W2CTX:
What version did you load.
rOn

On September 6, 2018 at 4:14 PM Matthias Zwoch <zwoch@...> wrote:


I got the W0EB/W2CTX sketch for my uBITX and found it a good solution
....


/**
* File name ubitx_V2_00R.ino
* This source file is under General Public License version 3.
*

73, Matthias DD7NT