User avatar
lokErik
Posts: 8
Joined: Tue Jul 24, 2012 9:40 pm
Location: Sweden

Using mobile as a screen.

Mon Sep 24, 2012 3:16 pm

Hi!

I have been experimenting with my phone to view my output of RPi, so I did some reading and finaly found what I was looking for.

Basic:
Mobile with SSH connection to Eternet, (Internet).
Raspberry PI with connection to network, and a keyboard.

So the hook up looks like this:

Raspberry Pi is connected to my LAN and has a Keyboard attatched.
I do an SSH from my cell to RPi login as root, cause of the commands I'm gonna use.
~Adding another screen to RPi (to be able to login and run the command)~

Code: Select all

 sh > /dev/pts/0 # where 0 is the 1st login. 
at first it may seem like it has failed, but if you type for instance ls at the keyboard, the current directory would be showing up on your cell. This could be an neat way, for instance of Sensors of GPIO output directly in your cell.

NOTE # /dev/pts/0 : if you did logon Locally to your RPi before SSH from mobile then 0 should be 1.

Hope this is helpful to some of you Pi Lovers.

Cheers Christer

Return to “Beginners”