Author Topic: EDM RDS  (Read 1230 times)

Offline StickyWicket

  • Jr. Member
  • **
  • Join Date: Sep 2015
  • Location: Wenatchee, WA
  • Posts: 98
  • Kudos: 3
« on: December 04, 2017, 07:56:39 PM »
Just bought an EDM with RDS trying to get it to work and seem to be running into issues with it not fully installing the plugin.

Iíve made the cord and set the file to use GPIO 20/21

Tried swapping the wires with no change.

Do I have to do anything with the EDM and the cord it came with? I donít have a computer with a serial port.

Do we need to have a newer SHA hash?

The plugin stated that it failed to install. It does show up in the menus but I get the ďNoneĒ errors about it not having a send command. (Sorry donít have the exact text from that message)

Would love to get this working, I can do TeamViewer if needed.

Offline Bshaver

  • Developer
  • ******
  • Join Date: Aug 2014
  • Location: Denver, CO
  • Posts: 1,394
  • Kudos: 22
« Reply #1 on: December 04, 2017, 09:31:46 PM »
Usually running all the commands manually gets it running. There are a few posts describing what needs to be done.
Denver Colorado
45,000 blinky blinks mix of pixels and 130 AC Channels (powered by Minleon & Lynx) ALL Powered by FPP and Falcon!

Offline mdahm

  • Newbie
  • *
  • Join Date: May 2017
  • Location:
  • Posts: 14
  • Kudos: 0
« Reply #2 on: December 12, 2017, 12:03:33 PM »
Go to the following thread and on page 2 is a detailed instruction on how to add the script manually.  The install through FPP does not work.  http://falconchristmas.com/forum/index.php/topic,3894.15.html

Offline amcknight

  • Newbie
  • *
  • Join Date: Feb 2018
  • Location:
  • Posts: 1
  • Kudos: 0
« Reply #3 on: February 10, 2018, 05:24:38 PM »
[Mostly] Comprehensive guide to get FPP to send RDS info to the EDM-RDS

rev. 0 -- 2-10-2018

Below is the culmination of several articles and works completed by others, I cannot take credit for the actual programming work and troubleshooting done by these folks (drlucas and Bshaver to name a couple). I also cannot guarantee this method will work for absolutely everyone, but it's what finally worked for me. I'm going to assume that users have a general knowledge of how to use the FPP GUI, Linux command line operations and "nano" to edit and save.

NOTE: I've not currently been able to resolve an issue involving the failed termination of the PiGPIO process upon shutdown. I've not noticed any ill effects, however.

My hardware Setup: Raspberry Pi 3 w/Logitech wireless keyboard/trackpad, EDM-RDS (recent model, purchased in 2018), Behringer 302USB Mixer, Sabrent USB 3.0 powered hub, UGreen USB to RS-232 DB9 Serial Adapter Cable, 6ft USB 2.0 Mini-B cable with ferrite bead (modified with single pin connectors).

My Software Setup: FPP updated to v1.10 on the Pi. FileZilla v3.30.0 and MiniRDS v1.3 installed on a Windows 7 PC.

EDM-RDS Initial Hardware Programming:

To program the RDS module for the first time follow the instructions as provided by EDM Design in their instruction manual. (http://www.edmdesign.com/docs/EDM-TX-RDS.pdf)

I used a "UGreen USB to RS-232 DB9 Serial Adapter Cable" to connect to the "mini-usb to serial" cable that came with the EDM-RDS. (Be sure to figure out which COM port has been assigned to the USB to serial cable you've connected to your PC before you start trying to send info to the EDM)

I also chose to use MiniRDS rather than TinyRDS found here, noted as "Older Version": http://pira.cz/rds/show.asp?art=minirds_encoder

EDM Plug-in Installation:

At the time I'm writing this, the EDM plug-in cannot be installed from the FPP GUI "Plug-in" page even though you're able to select it. (Don't even bother, the install WILL hang.). The plug-in will need to be installed manually, but will require some editing of the installation files before everything will install properly. There have apparently been some changes to where the PiGPIO files were hosted and some permissions issues that others have since found workarounds.

I will also briefly cover the USB cable modification in Step 4.

Step 1: Copying the EDM plug-in to the Pi

a. Download drlucas's EDM plug-in from GitHub (https://github.com/drlucas/fpp-edmrds) and unzip into a temporary folder.

b. Using FileZilla, log in to your Pi; enter your Pi's IP address (typically displayed as one of the final lines of the FPP boot-up), Username: fpp, Password: falcon, Port: 22.

c. In FileZilla, navigate to the /home/fpp/media/plugins/ folder on your Pi and create a folder called "edmrds" (no quotes) within the "plugins" folder.

d. Copy the files you just unzipped from your PC into the "edmrds" folder you just created on your Pi. (Select all, drag and drop method worked for me)

Step 2: Modifying the plug-in's install files

a.  Log in to your FPP locally and from the command line navigate to the "edmrds" folder by typing: cd /home/fpp/media/plugins/edmrds

b. At the command line, type: sudo nano fpp_install.sh and make the following changes to this file (shown in bold red, other notes in bold blue).


pushd $(dirname $(which $0))

sudo cp pigpiod /etc/init.d
sudo chmod 755 /etc/init.d/pigpiod
sudo chmod +x /home/fpp/media/plugins/edmrds/callbacks.py
sudo chmod +x /home/fpp/media/plugins/edmrds/rds-song.py

Delete this line-->> /usr/bin/wget http://abyz.co.uk/rpi/pigpio/VERSIONS/pigpio-V22.zip
rm pigpio.tar
/usr/bin/wget abyz.me.uk/rpi/pigpio/pigpio.tar
Delete this line-->> sudo mv pigpio-V22.zip pigpio.zip
Delete this line-->> unzip pigpio.zip
tar xf pigpio.tar
sudo sed '2619s/data/str(data)/' -i pigpio.py
sudo make install

cd /etc/init.d
sudo update-rc.d pigpiod defaults 99
complete -W "$(ls /etc/init.d/)" service

service pigpiod start
sudo python /home/fpp/media/plugins/edmrds/rds-song.py -i


Press Ctrl-X to exit, press Y to overwrite then press Enter.

c. At the command line, type: sudo nano rds-song.py and make the following changes to this file (shown in bold red, other notes in bold blue).

Find the line that says s = bb_I2C.I2C(pi, 28, 29, 600)
and change it to s = bb_I2C.I2C(pi, 2, 3, 600)

Press Ctrl-X to exit, press Y to overwrite then press Enter.

Step 3: Running the Install

a. If you're not already there, navigate back to /home/fpp/media/plugins/edmrds

b. Type sudo ./fpp_install.sh and wait for the install to complete.

Step 4: Connecting to the EDM-RDS

a. You'll have to cut the USB "A-Male" end from your cable, strip back the outermost plastic insulation and isolate the red and black wires separately (with small pieces of shrink tube, just in case). Solder the appropriate single pin pigtails to the green and white wires (this was true in my case anyways). Twist the shield wires up and solder a black single pin pigtail to it as well. Attached is a standard pinout for a mini USB cable that held true for me.

b. Using the attached diagram for an Pi 2-3, connect the green wire to pin 3 ("GPIO 2"), the white wire to pin 5 ("GPIO 3") and the black wire to pin 9 ("GND"). Be sure not to accidentally connect to any 3.3v or 5v pins!! (It should be obvious now that the connection of the green and white wires corresponds directly to the changes we made to the rds-song.py file). Once connected to the Pi, plug the Mini-B end into the EDM-RDS.

Step 5: Verifying functionality

a. From your web browser, type //fpp and navigate to the "Input/Output Setup" dropdown and select "EDM RDS". You'll notice that the support instructions describe using a different set of pins than we programmed above. I just ignore it, but you could change any or all of the text if you're feeling adventurous.

b. You also have the option to set your "Station ID" by typing it in the appropriate input box and clicking "Set Station ID". If you've already chosen your station ID and written it to the EDM using MiniRDS, it should default to that setting if you choose not to change it within FPP.

c. Navigate to the FPP "Status Page" and start one of your playlists that includes audio, then go back to the "EDM RDS" page. Provided that your songs are tagged correctly, you should see the current song title next to the words "Now Playing:" and your station ID below that.

Information Sources:

« Last Edit: February 11, 2018, 09:05:20 AM by amcknight »

Offline Santacarl

  • Sr. Member
  • ****
  • Join Date: Mar 2014
  • Location:
  • Posts: 273
  • Kudos: 0
« Reply #4 on: June 03, 2018, 08:09:06 AM »
Hey all.....

I'm a tad late to this thread but after reading through it to decide if I want to go with the EDM RDS model I ran into a problem.....  The PI pins needed to re-wire the mini-USB so it will work with the EDM RDS are already taken (or a couple anyway) by my Rasclock......

Does anyone know if there will be some sort of workaround in the future that doesn't require all the rewiring and code changes?  I'm backing off the EDM unless something changes..... Any help or thoughts would be greatly appreciated....

Offline mdahm

  • Newbie
  • *
  • Join Date: May 2017
  • Location:
  • Posts: 14
  • Kudos: 0
« Reply #5 on: August 14, 2018, 12:40:34 PM »
Is your pi connected to your home network?  If so you can get time from that and don't need the rasclock.


Back to top