Skip to content

360 Feature: Speed Control

VK2EFL edited this page Apr 15, 2020 · 4 revisions

CW Speed Adjustment

The CW sending speed can be adjusted several ways:

  • The W command in command mode
  • The command line interface \w command
  • The memory macro \w, or \y and \z for incremental increases or decreases
  • Holding down the command button (button 0) and pressing the left and right paddles
  • Potentiometer Speed Control
  • Rotary Encoder Speed Control

Potentiometer Speed Control

Adjusting the speed pot will immediately change the CW speed during manual sending or memory playing, however its changes will not be written to non-volatile memory. If the speed is changed using other methods (command mode, command line interface, memory macro, command button shortcut) that will override the pot setting until the pot is adjusted again.

The potentiometer functionality is enabled by uncommenting this line in keyer_features_and_options.h:

#define FEATURE_POTENTIOMETER

The pin the potentiometer wiper is connected to is defined in this line in keyer_pin_settings.h:

#define potentiometer A0

Only enable this functionality if you have a potentiometer connected, otherwise stray voltage on the Arduino pin will cause erratic and unexpected speed changes.

You can enable or disable this feature in the command line using the \v command.

If you wish to adjust the range of the speeds available through the pot, find initial_pot_wpm_low_value and initial_pot_wpm_high_value in keyer_settings.h. The defaults are a low of 13 and a high of 35. If you find your speed is fluctuating between values, you may want to reduce the difference between the high and low. Also note, the highest you can go will be one less than the value of the initial_pot_wpm_high_value variable.

#define initial_pot_wpm_low_value 13     // Potentiometer WPM fully CCW
#define initial_pot_wpm_high_value 35    // Potentiometer WPM fully CW

Rotary Encoder Speed Control

Speed can also be controlled using an inexpensive rotary encoder. The functionality is enabled by uncommenting this line in keyer_features_and_options.h:

#define FEATURE_ROTARY_ENCODER

The pins for connecting the encoder are defined in these lines in keyer_pin_settings.h:

#define rotary_pin1 0 // CW Encoder Pin
#define rotary_pin2 0 // CCW Encoder Pin

The center pin of the rotary encoder should be connected to ground.

Mayhew Labs LED Ring

To use the Mayhew Labs Rotary Encode LED Ring with the rotary encoder speed functionality, uncomment this feature line:

#define FEATURE_LED_RING

…and define pins here:

#define led_ring_sdi 0 //Data
#define led_ring_clk 0 //Clock
#define led_ring_le 0 //Latch

You can adjust the behavior of the LEDs with these settings:

#define led_ring_low_limit 10
#define led_ring_high_limit 50
Clone this wiki locally