Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

seekStation for whole freq form 0.15-30 and 30-230 #1

Open
Airrr17 opened this issue Sep 5, 2020 · 6 comments
Open

seekStation for whole freq form 0.15-30 and 30-230 #1

Airrr17 opened this issue Sep 5, 2020 · 6 comments

Comments

@Airrr17
Copy link

Airrr17 commented Sep 5, 2020

As I understand this radio works on 0.15-30mHz AM and 30-230MHz FM
so I want to define only two bands:
{0, 19, 150, 30000, 28000, 3},
{1, 9, 300, 2300, 1270, 1}
As long as i use encoder this works nice, but once comes to seekStation
it only seeks within one of the predefined bands or even narrower:
760 to 900 kHz on AM and 87-108 MHz FM.
How to expand seeking on whole range without being using pin #4 of akc6955 as feedback?
Thank you!

@pu2clr
Copy link
Owner

pu2clr commented Sep 5, 2020

Try to use setAM with the akc695x_am_band parameter greater than 17 (custom band). If you use setAM method with the first parameter (akc695x_am_band) greater than 17, then the radio will be set to custom band. Doing that, the seekStation method will consider the custom limits.

That same approach you can use for setFM method.

More information on API Documentation

@Airrr17
Copy link
Author

Airrr17 commented Sep 6, 2020

That is how i set bands:
radio.setAM(18, 150, 30000, 27000, 3);
or
radio.setFM(8, 300, 2300, 1170, 1);
Band 18 for AM or 8 for FM should be good.
After calling
radio.seekStation(1, updateScreen); // updateScreen is my version of your showFrequency.
I see it searching only 88-108 and some narrow AM about 800khz - 1.4mhz...
Doesn't goes beyond those limits..

May be the problem is my chip marked "AKC6951(55)" but 6951 doesn't support custom bands?
Is mine 51 or 55?
But I'm able to set "radio.setFM(8, 300, 2300, 1170, 1);" and tune on over whole band with encoder!
Looks like I must use "tund" pin as sensing.

@pu2clr
Copy link
Owner

pu2clr commented Sep 6, 2020 via email

@pu2clr
Copy link
Owner

pu2clr commented Sep 25, 2020

Some changes have been made that may have solved this problem.

@Airrr17
Copy link
Author

Airrr17 commented Sep 29, 2020

not solved. still seek works on two predefined bands only.
hope someone will test it on true AKC6955, not AKC6951(55).

@pu2clr
Copy link
Owner

pu2clr commented Sep 29, 2020

Ok. I will check this out more deeply. Also I'll bay some some AKC6955. Thanks for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants