Rethinking encoder controls #26
Replies: 4 comments 2 replies
-
|
Hi Max,
Yes, using the marker under the digits is an option for step selection and used on many of the touch screen transceivers. Effectively, it allows direct entry.
This would be good to extend the battery life whilst listening. 73, Dave |
Beta Was this translation helpful? Give feedback.
-
|
Hi Max,
The Press + hold basically uses a counter incrementing every 1s, creating an index for the shortcut. The shortcut is then displayed on the display and releasing the button actions the shortcut. The example is setup with 3 shortcuts which will just rotate if the button is held, but it could have any number of shortcuts or could be overridden by the manual backlight on/off action. I think with more than a few shortcuts; it is quicker to use the normal menu system. After the shortcut has been selected, it will automatically become the default for the normal menu select, as per your current firmware. The timer could probably be reduced, but 1s seems to give plenty of time to release before the next shortcut is presented. I have shown the shortcut on the status bar, but it could probably be shown differently. I hacked the ATS_MINI code as a trial and a short video is shown attached. Apologies for the rather poor video. 73, Dave ATS_MINI.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
Hi Max, if (pb1_press_Idx > 0 && pb1_press_Idx < 4){ if (pb1_press_inc && (millis() - pb1_press_timer2 >= 1000)) { |
Beta Was this translation helpful? Give feedback.
-
|
Hi Max, 73, Dave |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The current encoder controls can be summarized as follows:
The click and rotate do the obvious things. The middle press is used as a volume control shortcut. The long press is used to disable/enable the screen. Press + rotate is used to trigger the auto-tuning process on AM/FM, or tuning with a larger predefined step on SSB.
The latter seems to be not so convenient. A proposed improvement is the following:
An implicit control logic includes modal modes (like the various menu options) and timeouts.
Also there was a debate in a radio community Telegram chat on how the display sleep should behave:
One proposed solution that allows both the locked state and blind tuning is to lock the encoder after the screen was locked for more than 3 seconds. If there was any movement within these 3 seconds, then the encoder won't be locked at all. The second solution is a Settings option that will define the desired behavior.
I also plan to experiment with light or deep sleep modes in ESP32 to save even more energy. It could be combined with the display sleep mode, but doesn't allow the blind tuning scenario.
Another idea is to use middle press or some other shortcut like press + rotate to define the current step. This could be a shortcut to the step menu, or a frequency digit selection like on my FX-4CR transceiver:
This nicely handles the steps that are multiples of 5, and allows to drop the step menu completely, but doesn't handle the 9kHz step.
Alternatively, this can be used as a direct frequency input method.
Cc: @G8PTN
Beta Was this translation helpful? Give feedback.
All reactions