Introduction: How to Connect Raspberry Pi to Mobile Screen

Picture of How to Connect Raspberry Pi to Mobile Screen

Do you have a raspberry pi, but don't have any monitor.What will you do then, will you buy a monitor, maybe you will but wait a second...........! is this monitor powered by AC(Alternating Current)? but what If you want to access (start, programming etc.) raspberry pi anywhere, will you buy a small Display for raspberry pi which is available all over E-commerce websites which are so expensive about $30. will you buy it, but advise to you not buy this because you have already a screen with you.....confused ???

I am not kidding you can use your mobile's display/screen for raspberry pi, isn't it a very good alternative.So let's start how to do that.......

Step 1: Things You Will Need

Picture of Things You Will Need

Only for the first time:

=> Whole raspberry pi setup (Monitor, keyboard, mouse, raspberry pi).

You can use your friend’s setup, you will need it first time only.

For always in use:

=> Smart mobile.

=> USB Cable.

=> Raspberry pi.

Step 2: Step-2: Raspberry Pi Configuration

Picture of Step-2: Raspberry Pi Configuration

Configuration of raspberry pi is very simple. Connect raspberry pi to setup.(Monitor, keyboard etc.).

=>

Now start raspberry pi and open terminal.

Now just open network file just by using this command:

Sudo nano /etc/network/interfaces

and press enter

Step 3:

Picture of

This file will open as shown in figure........

=>

Now copy and paste give code in this file by replacing this:

auto usb0

Iface usb0 inet dhcp

By:

iface usb0

inet static address 192.168.42.42

netmask 255.255.255.0

network 192.168.42.0

broadcast 192.168.42.255

Now save this changes and exit from that file.

Step 4:

Picture of

now connect raspberry pi to internet.

Now open terminal and run this command:

Sudo apt-get install tightvncserver

And press enter, this will download vnc server on raspberry pi.

Now go to terminal and enter following command and press enter:

vncserver

Now raspberry ask you enter security password, enter any password and confirm that and reboot raspberry pi. That’s it your raspberry is ready.

Now no longer need of whole setup. Remove all setup (Monitor, keyboard,mouse).

Step 5: Mobile Configuration

Picture of Mobile Configuration

Just install VX connectBot from play store.

Step 6:

Picture of

Now just download VNC viewer from play store.

Step 7:

Picture of

Now do usb tethering with raspberry & Open VX ConnectBot and enter this value in ssh box

pi@192.168.42.42

Step 8:

Picture of

Now VX connectBot will ask password, which is password of raspberry pi

By default it is raspberry

Step 9:

Picture of

Now enter following code in VX ConnectBot:

vncserver : 1 or vncserver

Thats it, you have started vnc server on raspberry pi.

Step 10:

Picture of

Now open the VNC viewer and fill blank space

Address: 192.168.42.42:1

Name: pi

Now click on create and after that click on connect.

Step 11:

Picture of

That's all you have done. Mobile screen will connect to Raspberry pi.

For more stay connected with me. Don't forget to follow and share.

If you have any query please comment below or whatsapp on me +919799682388.

Comments

About This Instructable

3,149views

14favorites

License:

Bio: Hello My name is Prayag Nao.I am a tech enthusiastic person who does not follow reality,instead I create reality.I am sharing some ... More »
More by prayag nao:How to Change or Customize Windows 7/8 Boot Screen Smart Light LampHow to Change Blue Color of Facebook to Your Favorite Color..?
Add instructable to: