How to Use an Android Tablet as a Raspberry Pi Display

The Raspberry Pi is an excellent computing device; however, it may not always be the most convenient to access. Unless it is consistently connected to a display, the typical methods of accessing it include SSH, VNC, or RDP.

How to Use an Android Tablet as a Raspberry Pi Display

 

However, what if you lack a compatible display? How can you utilize it then? One possible solution involves repurposing an old Android tablet as a display for the Raspberry Pi.

What You Need to Use a Tablet Display With Raspberry Pi

Interested in configuring your Android device as a display for your Raspberry Pi? It's actually easier than you might imagine.

Here are the essential requirements:

  • A Raspberry Pi 3 or a newer model (older versions require 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 a suitable case to position your Android device as a monitor

Unfortunately, it's not feasible to directly connect your tablet's display to a Raspberry Pi. The GPIO and DSI ports on the Raspberry Pi are not compatible with tablet displays. Consequently, using an old tablet screen as a Raspberry Pi display is not possible. Even if you manage to establish a connection between the devices, the visual output will be unsatisfactory.

In some cases, acquiring a new Raspberry Pi may be necessary.

Using an Android Tablet as a Screen for Raspberry Pi

Instead of directly connecting your Raspberry Pi to an Android tablet, you can utilize remote desktop software.

There are two options available for using your Android tablet or phone as a display for your Raspberry Pi:

  1. RDP (Remote Desktop Protocol): Microsoft's Remote Desktop Protocol.
  2. VNC (Virtual Network Connection): A virtual network connection.

Both options allow you to access the complete desktop of your Raspberry Pi through your Android device. Fortunately, setting up either option is not complicated. Although they have been tested with a Raspberry Pi 3, they should work with older versions and even the Pi Zero.

It's crucial to ensure that both your Raspberry Pi and the Android tablet are connected to the same network. Additionally, this method won't work if you are using the Android device as a wireless access point. In that case, you would need two Android devices—one for the wireless access point and another for the display.

For both RDP and VNC options, you need to ensure that SSH (Secure Shell) is enabled on your Raspberry Pi. Enabling SSH simplifies the “headless” setup, allowing you to configure RDP and VNC from your PC before establishing the connection from your Android device.

There are three ways to enable SSH:

  1. Via the command line: Use the raspi-config screen, select “Interfacing Options,” then “SSH,” and finally “OK.” Reboot your Raspberry Pi when prompted.
  2. Via the Raspbian desktop: Go to “Preferences,” select “Raspberry Pi Configuration,” navigate to the “Interfaces” tab, and choose SSH. Click “OK” to confirm.
  3. With your Raspberry Pi powered down, remove the SD card and insert it into your desktop PC's file browser. In the boot directory, create a new file named “ssh” (without any file extension). Safely remove the SD card and insert it back into your Raspberry Pi. When you power it up, SSH will be enabled.

To establish a connection with your Raspberry Pi using SSH, you can utilize the terminal app in Linux and macOS. Similarly, there are several reliable options available for SSH on Windows.

To use SSH, you will require the IP address of your Raspberry Pi. You can find this information by entering the following command:

ifconfig wlan0

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

Connect Android to a Raspberry Pi via RDP

Let's start by attempting it with RDP, which is the recommended option as it offers more capabilities for remote access. RDP is particularly suitable for graphic-intensive sessions, whereas VNC might struggle in such scenarios. Linux has its own RDP software called xrdp.

Here's what you'll need:

  1. RDP software installed on your Raspberry Pi.
  2. An RDP app installed on your Android device.

To proceed, establish an SSH connection to your Raspberry Pi and enter the following commands to update the package list and install xrdp.

sudo apt update

sudo apt install xrdp

Tap Y when prompted.

Now, search for an RDP app on your Android device. Microsoft Remote Desktop is a recommended choice.

Download: Microsoft Remote Desktop for Android (Free)

To establish an RDP connection to your Raspberry Pi from your Android device, follow these steps:

  1. Launch the Microsoft Remote Desktop app.
  2. Tap the “+” button to create a new connection.
  3. Select “Desktop” as the connection type.
  4. Enter the hostname or IP address of your Raspberry Pi.
  5. Click “Save” to store the connection settings.
  6. When you're ready to initiate the connection, tap on the connection tile you just created.
  7. You will see a warning stating that the remote PC cannot be verified (this is because of your Pi's Linux OS).
  8. Click “Connect” to proceed with the connection.

After establishing the RDP connection, you will be presented with the xrdp login screen. Here, you need to enter your regular Raspberry Pi account credentials. By default, the username is “pi” and the password is “raspberry,” but it is highly recommended to change these credentials for security purposes. Once you have entered your credentials, click “OK” to proceed.

Connect a Raspberry Pi to an Android Tablet With VNC

Another option available to use a tablet as a Raspberry Pi screen is through VNC (Virtual Network Computing) software. By setting up VNC on both your Raspberry Pi and Android device, you can achieve desktop access. When a keyboard is connected, the experience will be akin to directly connecting to the Pi.

VNC is a popular choice for remote connections to a Raspberry Pi from a PC. But how does it work on Android?

To proceed, you will need the following:

  1. VNC server software installed on the Raspberry Pi.
  2. VNC viewing software installed on your Android device.

When you are ready, install a VNC server on your Raspberry Pi. The Raspberry Pi OS usually comes with RealVNC pre-installed, but it is not enabled by default.

You can enable VNC in two ways:

  1. Via the raspi-config screen, select “Interfacing Options,” then “VNC,” and finally “OK.” Reboot your Pi when prompted.
  2. Via the Raspbian desktop: Go to “Preferences,” select “Raspberry Pi Configuration,” navigate to the “Interfaces” tab, and choose VNC. Click “OK” to confirm.

Next, find a VNC client for your Android device. There are several options available, but the VNC Viewer from RealVNC is highly recommended.

Download: VNC Viewer for Android

Once the app is installed and your Raspberry Pi is booted up, follow these steps:

  1. Open VNC Viewer on your Android device.
  2. Click the “+” symbol to create a new connection.
  3. Enter the IP address of your Raspberry Pi along with the session number (e.g., 192.168.10.21:1).
  4. Click “Create” to establish the connection.

At this point, you will receive a notification stating that the connection is unencrypted. You can accept this connection (considering you are on your home network) and proceed to enter the password when prompted. Once you click “Continue,” the connection will be established.

Enter the password as prompted, and now you can enjoy access to your Raspberry Pi using your Android tablet as a display, along with the convenience of a connected keyboard!

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

Add a Simple Raspberry Pi Display With an Android Tablet

Utilizing an Android tablet as a display for a Raspberry Pi is an excellent solution, especially when repurposing an old device. The setup process is straightforward, and as long as the tablet's battery remains charged, it should provide reliable performance. If you're interested in portable projects, there are practical methods available to power a Raspberry Pi.

Furthermore, by equipping your Raspberry Pi with a keyboard, mouse, and a convenient battery recharger, you can make it fully portable. Having an internet connection via your Android tablet's 4G connection can also be incredibly useful. Additionally, combining a Raspberry Pi with a tablet touchscreen enhances portability even further. For those looking to delve deeper into this topic, our guide on building your own Android tablet with a Raspberry Pi can provide valuable insights.


About The Author

Muhammad Bilal

I am highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.

Scroll to Top