Open Airrr17 opened 4 years ago
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
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.
Your setup seems ok. I need to check the library and also the Datasheet. It is possible the internal device seek implementation (firmware) does not work for custom bands. My guess. I’m traveling now. So, I can’t check it with my prototypes. When I back home I’ll start working on it. For while I can just check the code and Datasheet.
Regards. Ricardo.
On Sun, 6 Sep 2020 at 11:17 Airrr17 notifications@github.com wrote:
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.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pu2clr/AKC695X/issues/1#issuecomment-687801735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVSJNEOTC625FNWTRS2MYLSEOKX5ANCNFSM4Q3AHH3A .
--
QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296
Some changes have been made that may have solved this problem.
not solved. still seek works on two predefined bands only. hope someone will test it on true AKC6955, not AKC6951(55).
Ok. I will check this out more deeply. Also I'll bay some some AKC6955. Thanks for testing.
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!