Remote viewing the raspberry pi with your smartphone
Controlling a raspberry pi computer from you smart phone is a great idea for many reasons including but certainly not limited to:
Keeping an eye on your room with your phone and raspberry pi camera or USB cam from a distance, baby monitoring, home security systems, remote controlled drones and cars etc.. and it’s so very easy to do. this is what I did to get it up n’ running…
1-update your pi and install vncviewer
In your terminal run:
2- get the smartphone app
I use an Android personally get it in the play store.
3-Enable the vncserver on your pi
In the terminal type sudo raspi-config
When the menu comes up, navigate to advanced options
Find vnc and enable it…
From here on, vnc will automatically start on boot. To disable, go through this step again and click disable.
4-Find the IP address of your pi
Run Sudo ifconfig in the terminal
Your IP address is in the wlan0 section next to inet address. Usually starts with a 192.
5-Get the server number of your vnc connection
By typing vncserver in the terminal
6-connect to your smartphone
Make sure your pi is connected to your phones mobile hotspot or the same WiFi network.
add your connection and plug in the IP address of your desired raspberry pi followed by a “:” and the server number you got from running vncserver in your terminal.
Something like this for example: 18.104.22.168:4
Name your connection and your done! You now have remote access to your raspberry pi from your smartphone congrats! Controlling using the apps mouse and keyboard functions take some getting used to but who cares? This is an major raspberry pi upgrade that means No more HDMI cables, no more limits in portablility, no more lcd screens. 🙂
If you have any further questions, refer to the official doc here.