-
Notifications
You must be signed in to change notification settings - Fork 334
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
PiFmRds on Raspberry Pi 4 #134
Comments
Did you use the latest version of the code? Support for the Raspberry Pi 4 was contributed by @markondej a few days ago. I personally don't have a RPi 4 to test. |
I've installed PiFmRds just yesterday using git clone https://github.com/ChristopheJacquet/PiFmRds.git |
I've just double checked it on RPi4 2GB and on July's Raspbian lite distro it works like a charm (I do always use lite distros). Maybe there's a problem with used DMA channel, try changing definition of DMA_BASE_OFFSET from 0x00007000 to 0x00007500, 0x00007900 etc. (there are 15 DMA channels available). |
I'm going to install lite distro and I'll try again. At the moment I've changed DMA channels and it stills not work. |
I've installed Raspi Lite and PiFmRds and still don't work. When I play something, there are like some interferences. I've also triied in other frequencies. I attach video. https://drive.google.com/open?id=1CMSGVK1XaeZNwmoAK21N4mxBpRP288cy Also, when I've wrote "make clean" I've got this:
|
@markondej I've also tryied to install your repository and it doesn't work (https://github.com/markondej/fm_transmitter) |
Checked newest Raspbian release and yes, it doesn't work (26 sep 2019). When simply simulating carrier via clock output (on GPIO4) the generated signal is noisy. I have no idea if this is problem with output itself or with clock source (PLLD). Like I wrote earlier everything seemed to work on July's release. I guess they messed something up with firmware (were there any GPU performance releated changes etc?). I will try to change clock source to any other and find out if this would work. |
Okey, I hope you can fix it!! Thaanks |
@markondej have you been able to solve the problem? |
Nope, but I've managed to bypass it a little bit. You can switch to GPIO21 instead of GPIO4. I made branch with this "feature". https://github.com/markondej/PiFmRds It seemed to work, but there is still a lot of noise... |
It doesn't work for me... |
I am also having an issue transmitting with the PI 4. I pulled the branch using GPIO21, and also had could not get this working properly. I can see the change in GQRX when I start he fm_rds command, but, nothing is distinguishable. |
I seem to be having the same issue =/ |
Maybe this is a pointer to the right solution Richard G Hirst added RPi4B support to his ServoBlaster and comments on DMA as follows: The DMA channel used depends on the SOC type. If the Pi has a BCM2711 Source = https://github.com/richardghirst/PiBits/tree/master/ServoBlaster |
Hi all, I have the Raspberry Pi4 with 4GB RAM, running the latest Raspbian Buster distro. Downloaded and compiled the source with no issues (thank you!). However the problem is I can't seem to get the signal to output an audible signal. The progeam does not generate any error, but when I tune my car radio to the signal it's supposedly outputting signal to, the only thing I can hear is pulses. Something is there though because it is clearly different when the program is running vs not running. But yeah, all I can hear is small pulses, no matter which .wav I used on the -audio tag (I tried all the different supplied samples). Any pointer in the right direction would be much appreciated! I know a problem is already recognised in the above convo, just in case this is a bit different. Thanks in advance, and keep up the great work! |
I'm in the same boat. I have rasberry pi 4 2gigs. I'm running kali and ssh into it I feel like everything's install commands run but nothing happens. Just s tiny bit of static? I'm not sure if it's running properly. Maybe my signal isnt strong enough but the cord is right next to my antenna. I think this is updated to work for pi 4 but idk if the make clean and make command is working? Let me know if you get it to work. |
There was just a kernel update today to 4.19.97-v7l+, so I tried it again with much anticipation, but unfortunately yielded the same result. Still the same static and pulses. I do have a short wire same as you do, but the radio antenna and the wire is pretty much touching each other so I assume that's not an issue, but thought I should mention it just in case. Thanks everyone. Any info would be appreciated. |
Same with mine I get nothing but I do see something happening but seems not strong enough to take over. Theres another kernel update recently but I haven't done either of them. Is there a way to do it on kali I just dont wanna reinstall it all again just to update the kernel |
Since the new kernel update, I can't even get the pulsing sound I get before. Now it's as if nothing happens when I activate the program. Go figure. Haha |
Lately I've had some time to play with spectrum analyzer, and this is what worked for me:
Finally use frequencies below 93.5 MHz
|
Wow @markondej, now it works!! But the audio quality is not like before... |
There's like a distorsion |
Hello |
Hi there - same deal. I'm on a Raspberry Pi 4, with 4GB of RAM. But instead, I've installed Ubuntu 64bit. I've had no luck running the application, or any available variation. It uses a different architecture (armv8a + aarch64). Given the FPU is not available on this platform, am I right in speculating we won't be having much luck for a while? I'm not good with such low-level code myself. |
The Pi 4 is known to have issues, see this repo that mentions it. |
Bonjour, quand je veux compilé le programme sur ma raspberry pi 4 4g en utilisant make, il me met des message d'erreur comment les résoudre ? |
@doctorsax A priori le programme ne fonctionne pas, ou pas bien, sur RPi 4. Cependant la compilation devrait réussir. Vérifiez que vous avez bien toutes les dépendances listées dans le README. |
@ChristopheJacquet Bonjour j'ai regarder mais toujours le même message d'erreur |
@doctorsax C'est pas une erreur, mais juste un avertissement. Tu peux l'ignorer, je pense. |
@makeworld-the-better-one Justement j'ai essayer mais le programme ne veut pas se lancer |
Quel est le résultat quand tu exécutes |
Weird. I'm running the compiled binary just fine on my Raspberry Pi 400. |
Hey all, I think I have a fix for this issue. I've successfully transmitted RDS on my pi 4, and put a pull request for the code change. Fingers crossed this works for group! I should mention, this is thanks to @1anakin20 for his fix on the pi-rc project. @ @ |
Ooooo. Can't wait to test once I get back home. |
still cant get this to work on my rpi4 running raspbian lite, i have an antenna and i am standing next to mi radio but only white noise, there is a difference when i start/stop the broadcast, but no actual audio plays |
This worked perfectly |
@StefCoders ooh nice! did this let you use a display output with the pi4 simultaneously? |
Nope, headless pi and ssh.. |
@StefCoders what else did you do to make work PiFmRds? Which repository did you use? Thanks in advance |
I just used this one. Nothing else. |
this Soultion witch not working pifmrds fm transmitter Put the cable in pin Numbers 6 |
Hi all, |
I have used a similar program (PiFmAdv) and it works on both of my 4s. I am not sure why it works so much better but the noisy audio, limit at 93.5mhz, and muffled audio are all fixed. There are some benefits with PiFmRds as the stereo pilot reaches -20dBFS instead of what I am guessing is around -22 with Adv (small stuff here) and the way it deactivates the signal as PiFmAdv will continue transmitting a bare carrier instead of stopping the transmission, which PiFmRds does well. Both seem to have a similar modulation efficiency with a flat area at the top that is about half the size of a commercial transmitter. The audio quality of Adv is better but the volume by default is very low, but I found out that this can be fixed by setting the --mpx parameter to >50. The RDS works well on both but I had an issue with the control pipe in PiFmRds, but that could just be because my python script to change ps text and rt to display the song name was made and tested for PiFmAdv. I have great respect for both options, but if you are using a Pi 4, PiFmAdv is the way to go for now. Hope this helped. |
Hi
I've buyed a Raspberry Pi 4, 2gb RAM. Before I've had the Raspberry Pi 3 with PiFmRds working. Now I've installed PiFmRds on the raspi 4 and when I run the command, the console says me that it's working in X frequency but in really not, when I tune the frequency that I've set, there's white noise.
Has the new raspberry the gpio4 FM disabled or something like this?
Thanks
The text was updated successfully, but these errors were encountered: