Code Monkey home page Code Monkey logo

rda5807's People

Contributors

pu2clr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rda5807's Issues

rda5807fp

hi dear Ricardo and thanks for your great lib
as far as you also know RDA5807FP has I2S support
if possible please support this chip in both master and slave mode

setBand() does not change BAND

Hello.
I saw a problem that I cannot change the BAND parameter to cover all FM band range in my region. I guess setBand() does not properly set the internal parameter for BAND.
I made the following modification, and it looks to work fine.

--- RDA5807.cpp.orig    2020-12-21 10:33:40.000000000 +0900
+++ RDA5807.cpp 2021-10-02 07:51:56.440127500 +0900
@@ -414,7 +414,7 @@
  */
 void RDA5807::setBand(uint8_t band)
 {
-    reg03->refined.BAND = band;
+    reg03->refined.BAND = this->currentFMBand = band;
     setRegister(REG03,reg03->raw);
 }

@@ -1027,4 +1027,4 @@
 {
     reg04->refined.RDS_FIFO_CLR = 1;
     setRegister(REG04, reg04->raw);

Add new capabilities

Hello. Is it possible to add functions such as: getMute (); setSoftmute(); getSoftmute(); ???
something like:
RDA5807.h -> bool getMute();
RDA5807.cpp ->
bool RDA5807::getMute()
{
getStatus(REG0A);
return reg02->refined.DMUTE;
}
Sorry, I'm not a programmer.
It would help a lot. Thank you.

rds on RDA5807_07_NANO_OLED_V2.ino

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

setVolume() triggers seeking

Hi,
I was playing around with your library, quite nice I have to say !

One issue I found, setVolume() actually triggers seeking.
In setVolume() you're writing reg02, and the seek bit (bit 9) is set.
I commented out the reg02 write in the setVolume() function
for the time being, I haven't seen side effects as of yet, but
I haven't played with it much since then.

Let me know if you want me to investigate further.
There might very well be effects I haven't notice,
I'm sure there's a reason you're writing reg02.

I'm unsure if it'd be better just clearing the seek bit and still write it, or just do as I did.

Thanks!

Use with Wemos D1/R2 Mini (ESP8266)

Hi Ricardo,

I've used your RDA5807 library before, and it worked like a charm!
Now I made the (stupid) mistake to use it again with en Wemos D1/R2 mini (on the Arduino IDE), and got a whole lot of errors compiling it. (happy to share all the errors if you're interested).

Any chance to get this to work with an ESP8266?

Greetz,

Martin

RDS data gibberish

Hello
I am trying to decode the RDS, but the data are gibberish: I can "distinguish" the station name, but most of the time, it looks randomized. (I am running the code on a SAMD21)
I first thought my board was damaged, but I can have it work well with a Raspberry (station name/ text and time) using this code
https://github.com/franckinux/python-rd5807m
It would really cool to update the serial monitor to show the RDS data
thank you a lot for all your work!

showRDSTime far from real time

Hello again :)

This function gives new values each time:
24:10 -12:00
08:02 -00:00
00:02 -11:30
31:11 -02:30
24:46 -11:00
15:04 -00:00

All this is very far from real time. Is it because of 'Under Test and construction' status?

seek() can not work without showFunction

I try use rx.seek(RDA_SEEK_WRAP, RDA_SEEK_UP) or rx.seek(RDA_SEEK_WRAP, RDA_SEEK_DOWN), but it was not work.
But it works when I use rx.seek(RDA_SEEK_WRAP, RDA_SEEK_UP, showStatus) or rx.seek(RDA_SEEK_WRAP, RDA_SEEK_DOWN, showStatus)

Mute when volume = 0

Hello.
According to the RDA5807 documentation, the volume should be muted when set to 0.
"When 0000, output mute and output impedance is very large"
Do I understand correctly?

The signal is very poor when I use headphone for ANT

Hi,
I make a radio used your library with RDA5807 + STM32G030F6P6 + 128*64 LCD, it wroks. I'm very happy with it. But, I found the signal on the radio to be very poor when I use headphone for ANT. The signal is very good when I use other ANT.

Do you test with headphone for ANT? Is there any way to better with headphone for ANT?

Sorry, I'm a chinese and my English is very poor.

RDA5807 seek issue

Dear Ricardo, I am also facing the same issue, now the frequency change in vol up an down issue have resolved but rds and force mono button still have the same issue, it triggers seeking.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.