Because of the size and price of the raspberry pi zero it's a perfect tool for taking with you.
As many phones, my phone doesn't have HDMI in his USB port, but it has USB tethering.
I'm going to explain how to use a raspberry pi zero to stream video's from android to your HDMI TV over USB.
Let's get started!
Step 1: Setup Your Raspberry Pi
For installing software on the raspberry pi zero, you'll need an internet connection.
First burn a new Raspbian (Jessie) image to your SD card (4GB or more).
After that connect the Pi to a monitor and connect a keyboard and mouse to it. (Using a usb splitter or logitech nano receiver)
At first boot open terminal and enter
Now select "Expand filesystem" goto finish and choose reboot.
After reboot again open a terminal and enter
sudo nano /etc/network/interfaces
And press enter. At the end of this file add:
allow-hotplug usb0<br>iface usb0 inet static<br>address 192.168.42.10<br>netmask 255.255.255.0
That's it now reboot and connect your phone trough USB.
Now we're going to use our phone as WiFi point over USB tethering. I controlled the pi using a SSH App on my phone.
Connect a USB OTG cable to your raspberry pi and a standard micro USB cable to your phone.
Then on your phone go to settings, under WiFi press "more" choose "tethering" and enable USB tethering.
Now open your ssh app and enter as IP: 192.168.42.10
Open your ssh session, login and enter:
sudo apt-get install libao-dev avahi-utils libavahi-compat-libdnssd-dev libva-dev youtube-dl
wget -O rplay-1.0.1-armhf.deb <a href="http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb"> http://www.vmlite.com/rplay/rplay-1.0.1-armhf.deb</a>
sudo dpkg -i rplay-1.0.1-armhf.deb
Now on your phone open your browser and enter 192.168.42.10:7100/admin
There will be a popup where you need to enter:
Now go to the end of the page and add this licence code:
Now your done on your Raspberry Pi Zero
Step 2: Download Airplay App
I haven't found an app which mirrors my android phone completely, but I found an app in which you can now stream video's and music to you Raspberry Pi Zero. (I've noticed, that the app only streams .mp4 files)
Install the app, connect your phone by USB to your raspberry pi, enable USB tethering, go to allconnect, press the stream icon on the top (square with arrow) and stream your video's!
I hope you liked the tutorial. Feel free to ask questions, suggestions are also welcome.
If you liked it please vote for it!