Re: [Hamlib-developer] Introduction and Question about S-Meter-Reading
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Richard E. <DO...@ho...> - 2025-04-13 09:48:12
|
Oh, forgot to paste the right link. https://github.com/DO9RE/midi2hamlib/blob/main/functions/levels/get_strength 73 Richard, DO9RE Am 13.04.2025 um 11:07 schrieb Phil GM3ZZA via Hamlib-developer <ham...@li...>: IIRC hamlib does its best to standardise all meter level readings for the different rigs. So S9 should always be a reading of 0 regardless of how the rig CAT encodes it. Phil GM3ZZA Get Outlook for Android<https://aka.ms/AAb9ysg> ________________________________ From: Stephen Pattinson via Hamlib-developer <ham...@li...> Sent: Sunday, April 13, 2025 5:56:49 AM To: ham...@li... <ham...@li...> Subject: Re: [Hamlib-developer] Introduction and Question about S-Meter-Reading Hi Richard, Sounds like an awesome project - good on you. As it happens, I've just finished getting STRENGTH data from an Icom-7300, so I can explain how that works. However, looking through various posts and the documentation, I suspect the return of STRENGTH information may not be perfectly aligned across various rigs. The IC-7300 returns a dB figure, with 0dB corresponding to S9 - 50 microvolts into 50 ohms. Given this, any positive number is dB above S9. To determine S0 to S8, just consider that for each 6dB the STRENTH value decreases below S9, its one less S point My implementation is (Python, but probably valid C code as well) spoint= 9 + ((int((levInt+1)/6))-1) where levInt is the value returned by STRENGTH when negative Any positive value of STRENGTH is just S9 Officially, S9 is really -73dBm, so if you want a dBm figure from the IC-7300, just subtract 73 from the STRENGTH amount. Cheers Steve VK3SPX On 13/04/2025 04:36, Richard Emling wrote: Hello. My name is Richard. I have been blind since birth and am currently working on a project that uses Hamlib to develop a system that helps blind individuals, especially those who are not very computer-savvy, to operate amateur radio transceivers. Particularly, people who have lost their sight later in life and older individuals often lack the ability to adapt to the changed situation and therefore require special assistance. A Raspberry Pi hosts the Hamlib, transceiver functions can be controlled via a connected numeric keypad, and a speech output reads everything aloud. Optionally, a MIDI controller can be connected to control the functions of the radio device. Anyone interested in seeing the current progress of the project and willing to provide tips on how I might use some Hamlib functions more effectively is welcome to visit https://github.com/do9re/midi2hamlib . My first question concerns reading the S-meter on a transceiver. As I understand it, the STRENGTH level provides this information. But where can I find a conversion table that tells me which S-level corresponds to the read value? I am excited to be part of the Hamlib family and look forward to a good exchange. 73 Richard (DO9RE) _______________________________________________ Hamlib-developer mailing list Ham...@li...<mailto:Ham...@li...> https://lists.sourceforge.net/lists/listinfo/hamlib-developer _______________________________________________ Hamlib-developer mailing list Ham...@li... https://lists.sourceforge.net/lists/listinfo/hamlib-developer |