pu2clr / rda5807 Goto Github PK
View Code? Open in Web Editor NEWArduino Library for SINGLE-CHIP BROADCAST FM RADIO TUNER RDA5807
License: MIT License
Arduino Library for SINGLE-CHIP BROADCAST FM RADIO TUNER RDA5807
License: MIT License
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
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);
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.
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
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!
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
Could u please suggest how to change bass boost and band select registers without soft resetting the RDA5807.
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!
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?
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)
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?
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.