Android DIY

How to Use an Android Tablet as a Raspberry Pi Display

Christian Cawley Updated 30-07-2020

The Raspberry Pi is a great computer, but it’s not always the most convenient device to access. Unless you have it permanently connected to a display, you probably access it via SSH, VNC or RDP.

Advertisement

But what if you don’t have a suitable display? How will you use it? One solution is to use an old Android tablet as a Raspberry Pi display.

What You Need to Use a Tablet Display With Raspberry Pi

Looking to set your Android device up as a display for your Raspberry Pi? It’s simpler than you’d think.

Use a tablet as your Raspberry Pi display

All you need is:

  • A Raspberry Pi 3 or later (older versions will need a wireless networking dongle)
  • Both devices connected to the same network
  • A keyboard and mouse connected to the Raspberry Pi (USB, Bluetooth, or wireless)
  • A tablet stand or suitable case for your Android device to use it as a monitor

This works.

Advertisement

Sadly, directly connecting your tablet display to a Raspberry Pi is not possible. Neither the GPIO nor the DSI port are compatible with tablet displays. This means using an old tablet screen for a Raspberry Pi display is impossible. Even if you manage to connect the devices, there won’t be any pleasing images.

And you might need a new Raspberry Pi.

Using an Android Tablet as a Screen for Raspberry Pi

Rather than connect the Raspberry Pi directly to your Android tablet, you can use remote desktop software.

You have two options available for using an Android tablet or phone as a display for your Raspberry Pi.

Advertisement
  1. RDP: Microsoft’s Remote Desktop Protocol
  2. VNC: Virtual Network Connection

Each of these options can provide full desktop access to your Raspberry Pi via Android. Fortunately, neither is difficult to set up. Both have been tested with a Raspberry Pi 3, but should work with older versions, and even the Pi Zero.

Important: you’ll need to ensure that your Raspberry Pi and the Android tablet are on the same network. Also, this won’t work if you use the Android device as a wireless access point.

(In that scenario, you would need two Android devices; one for the WAP, and another for the display.)

For both options, first ensure that SSH is enabled on your Raspberry Pi. This will make “headless” set up simpler, allowing you configuration of RDP and VNC from your PC. Then you can establish the connection from your Android device.

Advertisement

You can enable SSH in three ways:

  1. Via the command line: use the raspi-config screen and select Interfacing Options > SSH > OK. Reboot when prompted.
  2. Via the Raspbian desktop: go to Preferences > Raspberry Pi Configuration > Interfaces and select SSH. Click OK to confirm.
  3. With your Pi powered down, eject the SD card and open it in your desktop PC’s file browser. In the boot directory, create a new file called “ssh”, with no file extension. Safely remove the card and replace in your Raspberry Pi. When you power it up, SSH will be enabled.

Enable SSH on the Raspberry Pi

You can connect to your Raspberry Pi via SSH using the terminal app in Linux and macOS. You’ll find several good options for using SSH on Windows How to Use SSH in Windows: 5 Easy Ways SSH is an encrypted network protocol used for remote access. Here's how to use SSH in Windows using native and third-party apps. Read More .

To use SSH, you’ll need to know the IP address of your Raspberry Pi, which you can find by entering

Advertisement
ifconfig wlan0

Make a note of the IP address, as you’ll need it later.

Connect Android to a Raspberry Pi via RDP

First, let’s try it with RDP. This is the better option, as you can do more with the remote device. For instance, graphic-intensive sessions will run over RDP, but may struggle with VNC. Linux has its own RDP software, known as xrdp.

You’ll need:

  • RDP software installed on your Raspberry Pi
  • An RDP app on your Android device

Connect to your Raspberry Pi via SSH then enter the following to update the package list and install xrdp.

sudo apt update

sudo apt install xrdp

Tap Y when prompted.

Install xrdp RDP client on the Raspberry Pi

Next, find an RDP app for Android. Microsoft Remote Desktop is a good option.

Download: Microsoft Remote Desktop for Android (Free)

To connect to Raspberry Pi over RDP from Android:

  1. Launch Microsoft Remote Desktop
  2. Tap the + button
  3. Select Desktop
  4. Input the hostname or IP address of your Raspberry Pi
  5. Click Save
  6. When you’re ready to start, tap the connection tile
  7. Observe the warning that the remote PC cannot be verified, (this is due to your Pi’s Linux OS)
  8. Click Connect

Configure RDP to use Raspberry Pi and an Android display

You’ll then see the xrdp login screen. Input your usual Raspberry Pi account credentials (the default is pi:raspberry, but you should change these Securing Your Raspberry Pi: From Passwords to Firewalls Anyone can use Google to find the default username and password of your Raspberry Pi. Don’t give intruders that chance! Read More ) and click OK.

Connect a Raspberry Pi to an Android Tablet With VNC

The second available option to use a tablet as a Raspberry Pi screen is to use VNC software. Simply set this up on your Raspberry Pi and Android device to get desktop access. With a keyboard connected, it will feel like you’re connected directly to the Pi!

VNC is a popular option for remote connecting to a Raspberry Pi from a PC, but how does it work on Android?

For this to work, you’ll need:

  • VNC server software installed on the Raspberry Pi
  • VNC viewing software installed on your Android device

When you’re ready, install a VNC server. Although the Raspberry Pi OS ships with RealVNC built in. However, by default it is not enabled.

You can enable VNC in two ways:

  1. Via the raspi-config screen select interfacing Options > VNC > OK. Reboot when prompted.
  2. Via the Raspbian desktop: go to Preferences > Raspberry Pi Configuration > Interfaces and select VNC. Click OK to confirm.

Next, find a VNC client for Android. Several are available—the VNC Viewer from RealVNC is perfect.

Download: VNC Viewer for Android

With the app installed and the Pi booted up:

  • Open VNC Viewer
  • Click + to create a new connection
  • Input the IP address and session number (e.g. 192.168.10.21:1)
  • Click Create

Use VNC with Android as a monitor for Raspberry Pi

At this stage, you’ll be informed that the connection is unencrypted. Accept the connection (you should be safe on your home network) and then input the password. Click Continue when you’re ready, and the connection will open.

Enter a password when prompted and enjoy access to your Raspberry Pi via keyboard and your Android tablet as a display!

Use an Android tablet as a Raspberry Pi display

When you’re ready to end the connection, click X.

Add a Simple Raspberry Pi Display With an Android Tablet

Using an Android tablet as a display for a Raspberry Pi is a great way to use an old device. It’s simple to set up, and if the battery remains charged, it should be reliable. You can also look into these handy ways to power a Raspberry Pi for portable projects.

Better still, with a keyboard and mouse, and a handy battery recharger, you can make your Raspberry Pi fully portable. Having an internet connection via your Android’s 4G connection could also prove invaluable. And combining a Raspberry Pi with a tablet touchscreen gives you even more portability. Take this further with our guide to build your own Android tablet with Raspberry Pi How to Build Your Own Android Tablet With Raspberry Pi Fancy building your own tablet? Here's how to build an Android tablet for under $100 with a Raspberry Pi and touchscreen display. Read More .

Related topics: Android Tips, DIY Project Ideas, Raspberry Pi, VNC.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

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

  1. Reneng
    May 8, 2020 at 11:12 am

    I can connect with Microsoft Remote Desktop. I can login my Pi with xrdp session Xorg but than I see a blue screen with a keybord. And I can't for instant reboot my Pi. Can anyone help me out?

  2. suman
    January 9, 2020 at 5:45 pm

    When I am trying to connect the raspberry Pi 3 to Android it is showing connection refused both mobile SSH and windows putty

  3. Ritvi
    January 13, 2019 at 4:09 pm

    Thanks! Very helpful! Though if you could suggest a way to find the way to figure out the dynamic ip, it would be great help! Thanks again!

  4. Doc
    March 25, 2018 at 12:23 am

    "This means using and old tablet..." **an** Proofread!