How to cast radios using Raspberry PI and use the phone as a remote

RS_player APP icon

Raspberry Pi can be used for multiple purpose but this one of the most interesting: transform Raspberry PI to stream radio channel and use Android phone/tablet as a remote with the RS_player APP that you can download from here

You can understand how to use RS_player APP from this post.

I suggest to use raspberry PI zero w integrated wlan

with mini HDMI to HDMI adapter

and the HDMI to VGA adapter (with audio output)

the follow procedure is important to install in Raspberry all necessary SWs (from mac operative system):

  1. install raspberryPI lite: 20xx-x-x-raspbian-stretch-lite.img. Download from this link:
  2. flash the img in the SD card: Format before the card with Fat32 with disk utility
  3. Use Etcher to flash the img in the sd card. Free download on
  4. put the SD card in raspberry PI and connect with a HDMI monitor or using the VGA adapter to a regular monitor with VGA output
  5. login using default user: pi and default password: raspberry
  6. from terminal: sudo raspi-config
  7. select "Interfacing Options" and Natigate and select SSH, choose yes
  8. always in raspi-config, boot option, B1 Desktop / CLI, Console autologin
  9. always in raspi-config, in network Options and after wi-fi, provide SSID and password of the home wifi
  10. reboot raspberry and control if wlan is assigned using the command "ifconfig", after try to ping a webpage e.g. ping to see if it is working
  11. sudo apt-get upgrade, sudo apt-get updade
  12. after try to connect with raspberry with ssh: ssh pi@192.168.X.XXX where 192.168.X.XXX is the IP address assigned to raspberry
  13. if you have the follow error "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" write ssh-keygen -R 192.168.X.XXX
  14. install FTP server with the follow istruction (from the file)
    - sudo apt-get update
    - sudo apt-get install vsftpd
    - sudo nano /etc/vsftpd.conf and inside the file find uncomment:
    and write at the end of the file:
    save the file: CTRL-X, Y and ENTER.
    - sudo service vsftpd restart
  15. use filezilla to enter in raspberry and save files
  16. sudo apt-get install vlc
  17. using ssh test the play with vlc: "cvlc"
  18. sudo apt-get install python-pip python2.7-dev
  19. sudo pip install tornado
  20. using FTP client (e.g.) FileZilla upload the folder "radioExec" in the folder /home/pi in raspberry. This folder is located here. You need to unzip before
  21. from ssh: add the follow line "/home/pi/radioExec/ &" at the end of the  .bashrc (located in the /home/pi). You can use for example nano (or vim) in ssh or update the modified file using ftp
  22. reboot raspberry

Once this procedure is fulfilled, raspberry PI is ready to play radio streaming and activate server to receive commands from RS_player APP.

About Author

IPTV admin

IPTV admin
I'm the administrator of this website

Leave a Comment

Your email address will not be published. Required fields are marked *