markondej / fm_transmitter

Raspberry Pi as FM transmitter
1.32k stars 292 forks source link

Not Working on RPi4 #166

Closed AgentLoneStar007 closed 2 years ago

AgentLoneStar007 commented 2 years ago

Hi. Here's my issue. I downloaded and compiled the library just as needed. I added the support for Raspberry Pi 4. I'm broadcasting below 93 MHz. But the song is not playing. When I run the command my FM transmitter explodes in static, but I can't even make out a song. I'm using GPIO pin 40, so what's the issue?

Also, do I need to strip the entire wire, or just the end, or what? I'm using a wire from this package.

CookieGMVN commented 2 years ago

Which OS you using for your Raspberry Pi 4?

AgentLoneStar007 commented 2 years ago

Raspberry Pi OS(64-bit). It's based on Debian.

CookieGMVN commented 2 years ago

Well, I tried to run this software on Raspberry Pi OS 64-bit and it can't work, maybe by some magic errors like in-compatible. Also I have tested and to make this work, you need to install Raspberry Pi OS (32-bit) and not Lite version (I mean the recommended version by Raspberry Pi Imager) then try again to install. If you need better FM Transmitter, you can try Raspberry Pi Zero instead of Raspberry Pi 4, the Pi Zero will transmit the FM waves farther Pi 4.

CookieGMVN commented 2 years ago

image Choose the first option

AgentLoneStar007 commented 2 years ago

K. Worst-case scenario I have a Raspberry Pi 3 B just sitting, so maybe I can use it.

AgentLoneStar007 commented 2 years ago

Still not working. It's definitely broadcasting because the radio explodes in static when I run the command, but there's no perceivable music. What am I doing wrong? Do I need to strip the wire, or can I leave the casing on it?

AgentLoneStar007 commented 2 years ago

I tried it on my Raspberry Pi 3b+. I can hear the music now, but it's extremely slow. Why would it slow down the track so much?

CookieGMVN commented 2 years ago

I don't know why it slow down the track because my Pi 4 is working very well and the music is normal but that is super weak.

BobHasNoSoul commented 2 years ago

can confirm the pi4 is very awkward at the start using those cables if you have a broadcast but you are unable to hear the music pull the jumper lead off and solder directly too the gpio pin a different wire (literally any metal wire i use a 1.5mm copper neutral wire that is around 30ish cm in length.. i was not very accurate at measuring) i know it sounds weird to solder directly to the pin but works really well.. i have just done this and it amazed me how much power these throw out just by changing the way the wire for the antenna was.

AgentLoneStar007 commented 2 years ago

I sadly am not able to do that for three reasons: one, I do not own a soldering iron as of yet. I hope to get one on my birthday. Two is I don't have a bare wire; only insulated wires and they are pretty much impossible to strip. Three is I only have one Raspberry Pi 4, and due to the massive price tag on them, I'd prefer not to ruin(due to my lack of experience modifying electronics on the circuitry level) the only one I own. I guess I'll mark this as closed, with the reason being I chose a trash wire. Thanks for all the help, though!