The world of home automation and IoT has made our mobile more than just an instrument to communicate but also function as a remote control to control various smart gadgets. Many of these smart devices are created with the Raspberry Pi, the famous raspberry minicomputer.
This board, in addition to offering a very high customization, also allows us to be able to control it remotely thanks to our mobile phone or a laptop. That is very simple to do. if we have an Android smartphone and a Raspberry Pi board connected to the Internet.
The VNC for Raspberry Pi website helps us control Raspberry Pi from our mobile
Since we will need to use the Internet, first it is necessary to change the passwords and users of the distributionOtherwise, our SBC board may be insecure from hacker attacks. Once this has been changed, we have to open a terminal on our Raspbian and write the following:
sudo apt-get update && upgrade
sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer
And once everything is installed, we have to execute the raspi-config command and go down through the options to the VNC option. Once inside, we activate the VNC option and that's it.
Now we will need the VNC service for Raspberry Pi, a service that helps us in the task of connecting Raspberry Pi anywhere. We register for free at this link. Once registered, we download the client for Raspberry Pi that we will find on the web and the VNC Viewer app that we will download to our mobile.
Once this is done, we only have to use our credentials in VNC Viewer and we can see and control the Raspbian desktop from our mobile, we can also do it from the web browser and the web application that exists for it. So we can not only control our Raspberry Pi from our mobile but also from any equipment that is far from the plate, like a laptop, a desktop or a dumb client.