1

I'm having some issues with PiFm on the raspberry pi zero - I found this thread but nothing to alleviate my problem. PiFM not working for me

I installed PiFm on a raspi-zero and it seems to be nearly working. I can get only a single tone (or sometimes random sounding noise) on the frequency that I have chosen but nothing is intelligible. I am able to adjust the frequency, so that suggests the hardware is working to some level. I can get some change in the tone based on adjusting the sampling rate but I've ensured I'm matched up with the sampling rate at the high and low end for various sounds.

I'm guessing it might have something to do with the pi-zero vs the regular editions. I am away from home right now so I don't have an o-scope handy or my micro-hdmi to test the regular audio. Just seems like I am missing something fundamental here any near term help would be most appreciated.

I've played the sounds (wav and mp3) on my pc and they seem fine, also i've checked the permissions, gpio status, etc as others have suggested.

Thanks in advance to any suggestions.

bk79
  • 132
  • 9

2 Answers2

1

I think the issue was one of software, after some more digging I found about 4 or 5 different sources with fm software. I started with this one - http://www.icrobotics.co.uk/wiki/index.php/Turning_the_Raspberry_Pi_Into_an_FM_Transmitter and that is where I was running into issues. I found this other git that worked the first time, maybe due to compiling locally https://github.com/somu1795/fm_transmitter Confirmed this works on both versions of the raspi-zero (1.2 and 1.3) haven't tested big raspis yet. Thanks to everyone who commented. I'll update if I learn anything else

If anyone can figure out the software issues, I'll choose your answer - otherwise I'll just leave this here. Thanks again!

bk79
  • 132
  • 9
-1

Powering the pi zero over gpio didn't work for pifm for me same device 1.3 powered over the mini USB and pifm works.d