Raspberry Pi as Chromecast Device

In this segment we are going to “Convert Raspberry Pi 3 B Plus into Chromecast Device”

What is Chromecast ?

Chromecast is a line of digital media players developed by Google. The devices, designed as small dongles, enable users with a mobile device or personal computer to play Internet-streamed audio-visual content on a high-definition television or home audio system through mobile and web apps that support the Google Cast technology. Alternatively, content can be mirrored from the Google Chrome web browser running on a personal computer, as well as from the screen of some Android devices.

Source /> Wikipedia

   Equipment Equipment Required :

Equipment Raspberry Pi All Models

Equipment Micro SD Card 8 GB

Equipment Power Supply

Equipment Ethernet Cord for LAN Connection

    Equipment Optional :

Case Raspberry Pi Case

Keyboard Keyboard

Mouse Mouse

Software Required :

What is OpenMAX ?

OpenMAX (Open Media Acceleration), often shortened as “OMX“, is a non-proprietary and royalty-free cross-platform set of C-language programming interfaces. It provides abstractions for routines that are especially useful for processing of audio, video, and still images. It is intended for low power and embedded system devices (including smartphonesgame consolesdigital media players, and set-top boxes) that need to efficiently process large amounts of multimedia data in predictable ways, such as video codecs, graphics libraries, and other functions for video, image, audio, voice and speech.

OpenMax

Step-1 : Downloading & Installing “Raspbian Stretch with Desktop”

  • First of all we need to download “Raspbian” image to setup Chromecast.

Chromecast

  • After that, we need to open Terminal, then update and upgrade our Raspbian OS.
sudo apt-get update 
sudo apt-get upgrade

Enabling SSH in Raspbian OS

  • By default SSH is disabled in Raspbian. So, we need to enable it from desktop.
  • Launch Raspberry Pi Configuration.
  • Click on the Pi icon from Top Left Corner  –> Preferences –> Raspberry Pi Configuration

Chromecast

  • Navigate to the Interfaces tab
  • Select Enabled next to SSH
  • Click OK.Chromecast

Enabling SSH in Raspbian OS through Terminal

  • First of all Open Terminal and Type
sudo raspi-config
  • Secondly, navigate to Interfacing Options and press Enter.

Chromecast

  • Finally, select SSH and enable it by pressing the Enter.

Chromecast

Chromecast

Enabling SSH in Raspbian OS through Commands

sudo systemctl enable ssh
sudo systemctl start ssh
  • After that, to find out the IP Address, we use Wireless Network Watcher that will display the IP Address as shown below.

STEP- 2 : Installing OpenMax Image Viewer

  • First of all, clone the OpenMax image viewer for the Raspberry Pi Repository
git clone https://github.com/HaarigerHarald/omxiv
  • After that, Install the necessary packages from the below given commands.
sudo apt-get install libjpeg8-dev libpng12-dev
  • Finally, build and install ilclient
cd omxiv 
make ilclient 
make sudo 
make install

STEP- 3 : Install RaspiCast on Android

  • Firstly, open PlayStore and search for RaspiCast.
  • After that, click on Install to Install the APP. If already installed click on Open.

dot    Raspicast Download Link

  • Finally, follow the video to case the mobile screen to TV.

In conclusion, You are ready to use Raspberry Pi as Chromecast.
If you have any suggestions regarding this article please mention in the comment section down below.

Smile (“_”).

Please checkout my other articles:

Netflix on Raspberry Pi 3 Model BOpenMediaVault 5 on Raspberry Pi

Android Pie with Gapps on Raspberry PiOpenMediaVault 5 on Raspberry Pi

Did you Like my Work ?

Please LikeShare and Subscribe our YouTube Channel.

As a founder of the PcMac YouTube channel and website, Our goal is to provide Free Technical help to people and spread knowledge to everyone.

1 Response

Leave a Reply

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

16 + 2 =

Post comment

Pin It on Pinterest