g0orx / pihpsdr

Raspberry Pi standalone code for HPSDR (Protocol 1 and Protocol 2)
GNU General Public License v2.0
110 stars 73 forks source link

VFO Encoder Divisor not working #161

Closed plmathews closed 2 years ago

plmathews commented 2 years ago

I've just installed the latest version of pihpsdr on my Pi/14 bit pitaya system. All went fine but I find that the vfo encoder divisor is not working and it is needed with the 600ppr encoder I am using. Am I doing something wrong please? G4WJH

plmathews commented 2 years ago

Perhaps I should add......

I created a new SD card with the Raspberry Pi O/S and then followed the instructions in the Wiki to install pihpsdr Build date 2021-10-28 Build version v2.0.8-rc1 and WDSP version 1.18. The installation went absolutely according to the instructions. The hardware is a Raspberry Pi 4 (8 GB RAM) and a Stemlab 14 bit Red Pitaya. The PI has a 600ppr VFO encoder connected as well as 3 low resolution encoders with switches. All of these encoders and switches work. The only problem is with the VFO Encoder Divisor. I can set the divisor in Menu>Radio to anything from 1 to 60 but this has no effect on the "sensitivity" of the encoder. It feels as though the divisor is stuck on 1 which makes the VFO encoder much too coarse.

Could anyone help to resolve this problem please.

g0orx commented 2 years ago

I have pushed a fix to handle the encoder divisor.

plmathews commented 2 years ago

Many thanks for the fix John. I think there is still a problem though. The Divisor now works in that it adjusts the coarseness of the VFO encoder but when you adjust the VFO frequency (say upwards) by turning the encoder knob the frequency keeps changing upwards when you have stopped turning the knob. It only stops when you turn the knob to reduce the frequency and it then continuously reduces the frequency even though you are no longer touching the knob. Does this make sense?

plmathews commented 2 years ago

PS The effect described in my previous post is not apparent when the Divisor in Menu>Radio is set to 1. It is present at all other Divisor values.

g0orx commented 2 years ago

Latest push should fix this. Test OK on my Controller 2. -- John

plmathews commented 2 years ago

That's fixed it John. Very many thanks for the fixes and for all of your brilliant pihpsdr code.

Paul

From: John Melton @.*** Sent: 24 November 2021 13:44 To: g0orx/pihpsdr Cc: plmathews; Author Subject: Re: [g0orx/pihpsdr] VFO Encoder Divisor not working (Issue #161)

Latest push should fix this. Test OK on my Controller 2. -- John

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/g0orx/pihpsdr/issues/161#issuecomment-977891991 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJEMWNYGIUFY3HV6PVW3LMTUNTT27ANCNFSM5IFP7RPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub . Image removed by sender.

http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient Image removed by sender.

Virus-free. http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient www.avg.com