pu2clr / RDA5807

Arduino Library for SINGLE-CHIP BROADCAST FM RADIO TUNER RDA5807
MIT License
94 stars 16 forks source link

rds on RDA5807_07_NANO_OLED_V2.ino #12

Open z34pec opened 11 months ago

z34pec commented 11 months ago

Hello. Is there a way to implement RDS on this ( RDA5807_07_NANO_OLED_V2.ino ) sketch ? It us good to put it instead of pin7 - bass. Thank you

pu2clr commented 10 months ago

Please, check the folder https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_03_ATTINY_84_85

This folder has 10 examples that can help you to use OLED in your project. They are aimed at ATTiny84/85. However, you can adapt them to your favorite microcontroller. There are no big differences if compared to RDA5807_07_NANO_OLED_V2.ino but they implement RDS.

In my free time I will try improve the RDA5807_07_NANO_OLED_V2.ino.

pu2clr commented 10 months ago

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version: https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

z34pec commented 10 months ago

Good morning Ricardo. I must apologize for my late replies because at this moment I am on summer vacation out of my country. I have limited internet access so just couldn't reply to you. I am back in a couple of days and for sure will check changes and reply to you. Thank you very much for your understanding and help about this project. Stay well and 73. Regards Petrika Z34PEC

On Sat, Aug 12, 2023, 22:18 Ricardo Lima Caratti @.***> wrote:

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version: https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1676063002, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YG4R5FJB2XDPCDJ7HKTHDXU7JHZANCNFSM6AAAAAA2LQJQHQ . You are receiving this because you authored the thread.Message ID: @.***>

z34pec commented 10 months ago

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version: https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

I got error: Compilation error: 'class RDA5807' has no member named 'getMute'; did you mean 'setMute'? Same is for Bass option.

pu2clr commented 10 months ago

You need to install the latest version of the library. I forgot that. Let me update the latest release on the Arduino Platform server. This way, your Arduino IDE will do that for you. It will tell you that a new version is available. Wait for some hours, update your installed libraries and try it again. 73. Ricardo. PU2CLR.

On Tue, Aug 15, 2023 at 6:49 PM z34pec @.***> wrote:

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version: https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

I got error: Compilation error: 'class RDA5807' has no member named 'getMute'; did you mean 'setMute'?

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679665540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVSJNDBYRTKNT6PMCTINJTXVPVIBANCNFSM6AAAAAA2LQJQHQ . You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

z34pec commented 10 months ago

Good morning. Now everything is ok after update of library. I notice that receive of rds signal is "strange" because it did not display proper rds info. I was wondering if there is rds standard for this information and maybe it is different in your country and mine (Brazil and EU rules for transmitting of rds information). Regards Petrika

On Wed, Aug 16, 2023, 00:43 Ricardo Lima Caratti @.***> wrote:

You need to install the latest version of the library. I forgot that. Let me update the latest release on the Arduino Platform server. This way, your Arduino IDE will do that for you. It will tell you that a new version is available. Wait for some hours, update your installed libraries and try it again. 73. Ricardo. PU2CLR.

On Tue, Aug 15, 2023 at 6:49 PM z34pec @.***> wrote:

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version:

https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

I got error: Compilation error: 'class RDA5807' has no member named 'getMute'; did you mean 'setMute'?

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679665540, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAVSJNDBYRTKNT6PMCTINJTXVPVIBANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679723368, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YG4R5XP7DXKWWPOHURHNLXVP3RPANCNFSM6AAAAAA2LQJQHQ . You are receiving this because you authored the thread.Message ID: @.***>

pu2clr commented 10 months ago

Can you give me details about the RDS/RBDS service provided by the stations in your area? I know there are two types: RDS and RBDS. The decode processes are a bit different. I’m using the RDS here (same used In Europe).

But the station name and time should work. Can you show me a video with your experiment ?

On Wed, 16 Aug 2023 at 00:43 z34pec @.***> wrote:

Good morning. Now everything is ok after update of library. I notice that receive of rds signal is "strange" because it did not display proper rds info. I was wondering if there is rds standard for this information and maybe it is different in your country and mine (Brazil and EU rules for transmitting of rds information). Regards Petrika

On Wed, Aug 16, 2023, 00:43 Ricardo Lima Caratti @.***> wrote:

You need to install the latest version of the library. I forgot that. Let me update the latest release on the Arduino Platform server. This way, your Arduino IDE will do that for you. It will tell you that a new version is available. Wait for some hours, update your installed libraries and try it again. 73. Ricardo. PU2CLR.

On Tue, Aug 15, 2023 at 6:49 PM z34pec @.***> wrote:

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version:

https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

I got error: Compilation error: 'class RDA5807' has no member named 'getMute'; did you mean 'setMute'?

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679665540,

or

unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAVSJNDBYRTKNT6PMCTINJTXVPVIBANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679723368, or unsubscribe < https://github.com/notifications/unsubscribe-auth/A7YG4R5XP7DXKWWPOHURHNLXVP3RPANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679913963, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVSJNES52N4SYVWNU7A3D3XVQ6VRANCNFSM6AAAAAA2LQJQHQ . You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

pu2clr commented 10 months ago

Please, at line 146 (RDA5807_07_NANO_OLED_V2.ino) change rx.setRDS(true); to rx.setRBDS(true); Tell me if it solved the problem. If not, let me know. I will change some code in the library to check it out again. 73. PU2CLR.

On Wed, Aug 16, 2023 at 12:43 AM z34pec @.***> wrote:

Good morning. Now everything is ok after update of library. I notice that receive of rds signal is "strange" because it did not display proper rds info. I was wondering if there is rds standard for this information and maybe it is different in your country and mine (Brazil and EU rules for transmitting of rds information). Regards Petrika

On Wed, Aug 16, 2023, 00:43 Ricardo Lima Caratti @.***> wrote:

You need to install the latest version of the library. I forgot that. Let me update the latest release on the Arduino Platform server. This way, your Arduino IDE will do that for you. It will tell you that a new version is available. Wait for some hours, update your installed libraries and try it again. 73. Ricardo. PU2CLR.

On Tue, Aug 15, 2023 at 6:49 PM z34pec @.***> wrote:

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version:

https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

I got error: Compilation error: 'class RDA5807' has no member named 'getMute'; did you mean 'setMute'?

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679665540,

or

unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAVSJNDBYRTKNT6PMCTINJTXVPVIBANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679723368, or unsubscribe < https://github.com/notifications/unsubscribe-auth/A7YG4R5XP7DXKWWPOHURHNLXVP3RPANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679913963, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVSJNES52N4SYVWNU7A3D3XVQ6VRANCNFSM6AAAAAA2LQJQHQ . You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

z34pec commented 10 months ago

Hi, I am still at work. I think I find the problem :) It is in our radio's RDS emmiting protocol. Every radio has it's own way how to emit RDS. I try it across al radio band and there are couple of stations where rds is OK. So do not bother any more. It is our stations fault. Regards, Petrika

On Wed, Aug 16, 2023 at 1:44 PM Ricardo Lima Caratti < @.***> wrote:

Please, at line 146 (RDA5807_07_NANO_OLED_V2.ino) change rx.setRDS(true); to rx.setRBDS(true); Tell me if it solved the problem. If not, let me know. I will change some code in the library to check it out again. 73. PU2CLR.

On Wed, Aug 16, 2023 at 12:43 AM z34pec @.***> wrote:

Good morning. Now everything is ok after update of library. I notice that receive of rds signal is "strange" because it did not display proper rds info. I was wondering if there is rds standard for this information and maybe it is different in your country and mine (Brazil and EU rules for transmitting of rds information). Regards Petrika

On Wed, Aug 16, 2023, 00:43 Ricardo Lima Caratti @.***> wrote:

You need to install the latest version of the library. I forgot that. Let me update the latest release on the Arduino Platform server. This way, your Arduino IDE will do that for you. It will tell you that a new version is available. Wait for some hours, update your installed libraries and try it again. 73. Ricardo. PU2CLR.

On Tue, Aug 15, 2023 at 6:49 PM z34pec @.***> wrote:

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version:

https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

I got error: Compilation error: 'class RDA5807' has no member named 'getMute'; did you mean 'setMute'?

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679665540,

or

unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAVSJNDBYRTKNT6PMCTINJTXVPVIBANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679723368,

or

unsubscribe <

https://github.com/notifications/unsubscribe-auth/A7YG4R5XP7DXKWWPOHURHNLXVP3RPANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679913963, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAVSJNES52N4SYVWNU7A3D3XVQ6VRANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1680451124, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7YG4R3JNL4PL2QTEAVTDMDXVSXANANCNFSM6AAAAAA2LQJQHQ . You are receiving this because you authored the thread.Message ID: @.***>

pu2clr commented 10 months ago

Ok. Thanks for reporting this. Anyway, I will find a way to check all possibilities of RDS and RBDS broadcasting services.

73. PU2CLR. Ricardo.

On Wed, Aug 16, 2023 at 11:59 AM z34pec @.***> wrote:

Hi, I am still at work. I think I find the problem :) It is in our radio's RDS emmiting protocol. Every radio has it's own way how to emit RDS. I try it across al radio band and there are couple of stations where rds is OK. So do not bother any more. It is our stations fault. Regards, Petrika

On Wed, Aug 16, 2023 at 1:44 PM Ricardo Lima Caratti < @.***> wrote:

Please, at line 146 (RDA5807_07_NANO_OLED_V2.ino) change rx.setRDS(true); to rx.setRBDS(true); Tell me if it solved the problem. If not, let me know. I will change some code in the library to check it out again. 73. PU2CLR.

On Wed, Aug 16, 2023 at 12:43 AM z34pec @.***> wrote:

Good morning. Now everything is ok after update of library. I notice that receive of rds signal is "strange" because it did not display proper rds info. I was wondering if there is rds standard for this information and maybe it is different in your country and mine (Brazil and EU rules for transmitting of rds information). Regards Petrika

On Wed, Aug 16, 2023, 00:43 Ricardo Lima Caratti @.***> wrote:

You need to install the latest version of the library. I forgot that. Let me update the latest release on the Arduino Platform server. This way, your Arduino IDE will do that for you. It will tell you that a new version is available. Wait for some hours, update your installed libraries and try it again. 73. Ricardo. PU2CLR.

On Tue, Aug 15, 2023 at 6:49 PM z34pec @.***> wrote:

Now the RDA5807_07_NANO_OLED_V2 is updated. See this video: https://youtu.be/6JvodLKfn28 See the latest version:

https://github.com/pu2clr/RDA5807/tree/master/examples/RDA5807_07_NANO_OLED_V2

I got error: Compilation error: 'class RDA5807' has no member named 'getMute'; did you mean 'setMute'?

— Reply to this email directly, view it on GitHub < https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679665540>,

or

unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAVSJNDBYRTKNT6PMCTINJTXVPVIBANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679723368,

or

unsubscribe <

https://github.com/notifications/unsubscribe-auth/A7YG4R5XP7DXKWWPOHURHNLXVP3RPANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1679913963,

or

unsubscribe <

https://github.com/notifications/unsubscribe-auth/AAVSJNES52N4SYVWNU7A3D3XVQ6VRANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1680451124, or unsubscribe < https://github.com/notifications/unsubscribe-auth/A7YG4R3JNL4PL2QTEAVTDMDXVSXANANCNFSM6AAAAAA2LQJQHQ>

. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/pu2clr/RDA5807/issues/12#issuecomment-1680779843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVSJNHH4NPHNDCALUVNCIDXVTN55ANCNFSM6AAAAAA2LQJQHQ . You are receiving this because you commented.Message ID: @.***>

--

QRZ: http://www.qrz.com/db/PU2CLR Skype: ricardo_caratti Mobile: +55 61 981442296