How to Use Laptop Monitor as Raspberry Pi Display

robotics-university.com | When we work use a computer, it is important that our computer must be equipped with a monitor to display all of our activities in using computer. In condition, you don’t have monitor when you will use your mini-computer, Raspberry Pi, there is a method to use your laptop monitor as Raspberry Pi display. So we can work with Raspberry Pi without LED/LCD monitor. For that purpose, we need to prepare hardware and additional software below: 

Hardware
1. Laptop/computer.
2. Raspberry Pi (with an operating system has already installed). 
3. Adaptor 5 VDC (2,5 A). 
4. Standard LAN cable.

Software
1. PuTTY - Download here! 
2. VNC viewer - Download here! 
3. Angry IP Scanner - Download here! 

Step 1: Connect Raspberry Pi with Your Laptop via LAN cable 

Figure 1. Connection between Raspberry Pi and Laptop using LAN cable 

Step 2: Get your laptop IP address 

Method 1: 
Knowing computer IP address from windows “Network and sharing center” 

Figure 2. Windows “Network and sharing center” 

Figure 3. Select Ethernet 

Figure 4. Click “Details” 

Figure 5. Autoconfiguration IP address 

My computer IP address is 169.254.146.93 

Method 2: 
Knowing computer IP address using command (run) windows. 

 Figure 6. 

Figure 7. 

Figure 8. The command windows 

Don’t forget to connect your external device (on this case is Raspberry Pi) using LAN cable to the Ethernet port of your laptop first before you run the “ipconfig /all” command. 

Figure 9. “ipconfig /all” command 

Type “ipconfig /all” command on the command windows, then press Enter key! 

Figure 10. IP address showed 

After that, some computer configuration will displayed on the command windows. Find the “Ethernet adapter Ethernet” part and look on “Autoconfiguration IPv4 Address:” You will know your computer IP address showed there. From figure 10 you know that my computer IP address is 169.254.146.93. 

Step 3: Get your raspberry Pi IP address Using Angry IP Scanner 

To get your Raspberry Pi IP address Using Angry IP Scanner, please follow the steps below: 
1. Install software Angry IP scanner. Download here! 
2. Run Angry IP scanner. Double click its shortcut! See figure 11! 
3. Determine IP range & Start IP scanning. See figure 13! 
4. Found active IP address. See the “blue” circle on the left side of the IP address. 
    - Computer IP - Hostname: mshome.net. See figure 14! 
    - Raspberry Pi IP - Hostname: addr.arpa. See figure 15! 
5. After the IP scanning completed, then press OK button. See figure 16! 


Figure 11. Angry IP Scanner shortcut 

Figure 12. Angry IP Scanner first view 

Figure 13. Determine IP range & start IP scanning 

Figure 14. My computer IP address has been founded (mshome.net) 

Figure 15. Raspberry Pi IP address has been founded (addr.arpa) 

Figure 16. The IP scanning completed 

Step 4: Install PuTTY and VNC viewer software on your laptop 

Figure 17. PuTTY shortcut 

Install PuTTY. Download here! 

Figure 18. VNC viewer shortcut 

Install VNC viewer. Download here! 

Step 5: Open PuTTY, login to Raspberry Pi, Enable SSH and VNC 

5.1 Open PuTTY and login to Raspberry Pi 

Figure 19. PuTTY configuration

Figure 20. Type IP address, port, and press “Open” button 

Then click “Open” button. Wait until a notification window appear (the notification give us information that the connection has successfully done) - press OK button, wait until PuTTY terminal opened. See figure 21! 

Figure 21. Putty terminal (login as) 

Figure 22. Putty terminal (password) 

Please login to your Raspberry Pi with (default) type the user and the password. See figure 23! 

Login as : pi 
Password : raspberry 

Figure 23. Putty terminal after login 

5.2 Enter to the Raspberry Pi Software Configuration Tool (raspi-config) 
To enter to the Raspberry Pi Software Configuration Tool, type LINUX command “sudo raspi-config” on the PuTTY terminal. See figure 

Figure 24. Command to enter the Raspberry Pi Software Configuration Tool 

Figure 25. Raspberry Pi Software Configuration Tool (raspi-config) 

5.3 Enable SSH server 
In order we can use laptop monitor as Raspberry Pi display, we have to enable the first interfacing option, i.e. SSH. To enable SSH interfacing option, on the Raspberry Pi Software Configuration Tool, select number “5 Interfacing Options (Configure connection to peripheral),” then select P2 SSH and press enter key. Then select “Yes” and “Ok,” so the SSH server enabled. See figure 26 to figure 29! 

Figure 26. Raspberry Pi Software Configuration Tool (5 Interfacing Options) 

Figure 27. Interfacing options (P2 SSH) 

Figure 28. SSH server enabled confirmation (Yes) 

Figure 29. SSH server has been enabled (Oke) 

5.4 Enable VNC graphical remote 
The second interfacing option that must be enable in order we can use laptop monitor as Raspberry Pi display is VNC. To enable VNC interfacing option, on the Raspberry Pi Software Configuration Tool, select number “5 Interfacing Options (Configure connection to peripheral),” then select P3 VNC and press enter key. Then select “Yes” and “Ok,” so the VNC enabled. See figure 26 to figure 29! 

Figure 29. Raspberry Pi Software Configuration Tool (5 Interfacing Options) 

Figure 30. Interfacing options (P3 VNC) 

Figure 31. VNC enabled confirmation (Yes) 

Figure 32. VNC has been enabled (Oke) 

5.5 Exit from Raspberry Pi Software Configuration Tool (raspi-config) 
After interfacing setup complete and we want to exit from Raspberry Pi Software Configuration Tool. So press Tab key until “Finish” option selected (red block), then press enter key. 

Figure 33. Exit from Raspberry Pi Software Configuration Tool 

Step 6: Open VNC viewer 

The last step, open the VNC viewer software that you have installed on step 4 above! Once you double-click the shortcut, the VNC viewer software will opened. See figure 34! 

Figure 34. VNC viewer at the first opening 

After the VNC viewer opened, let start to make your laptop monitor as Raspberry Pi display. At the first, type the Raspberry Pi IP address on its field. See figure 35! Then press enter key! 

Figure 35. Enter the raspberry Pi IP address

Figure 36. VNC viewer authentication 

Use the default username (: pi) and password (: raspberry)! 

Figure 37. VNC viewer identity check 

If “Identity Check” windows appear, you just press the “Continue” button and your raspberry Pi will displayed on the laptop monitor. See figure 38! 

Figure 38. Raspberry Pi has displayed on laptop monitor 

We can maximize or enter to full screen display using “Enter full screen” button of VNC viewer. See figure 39! 

Figure 39. Maximize (full screen) the Raspberry Pi display on laptop monitor 

Congratulation!
You have successful to make your laptop monitor as Raspberry Pi display. Next, you can operate your Raspberry Pi with your laptop monitor as the display. Happy working with your Raspberry Pi!


Share on Google Plus

About Taufiq D.S. Suyadhi

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment