Connecting to Odroid-C1 and Raspberry Pi 2 from a PC

We can work with Odroid-C1 and Raspberry Pi 2 by connecting to the HDMI display port and connect the keyboard and mouse to the USB like a normal PC. This is the simplest way of working with Odroid and Raspberry Pi.

In most of the projects, the boards will be placed on the robot, so we can't connect the display and the keyboards to it. There are several methods for connecting these boards to the PC. It will be good if we can share the Internet to these boards too. The following methods can share the Internet to these boards, and at the same time, we can remotely connect via SSH protocol:

  • Remote connection using Wi-Fi router and Wi-Fi dongle through SSH: In this method, we need a Wi-Fi router with Internet connectivity and Wi-Fi dongle in the board for getting the Wi-Fi support. Both the PC and board will connect to the same network, so each will have an IP address and can communicate using that address.
  • Direct connection using an Ethernet hotspot: We can share the Internet connection and communicate using SSH via Dnsmasq, a free software DNS forwarder and DHCP server using low system resources. Using this tool, we can tether the Wi-Fi Internet connection of the laptop to the Ethernet and we can connect the board to the Ethernet port of the PC. This kind of communication can be used for robots which are static in operation.

The first method is very easy to configure; it's like connecting two PCs on the same network. The second method is a direct connection of board to laptop through the Ethernet. This method can be used when the robot is not moving. In this method, the board and the laptop can communicate via SSH at the same time and it can share Internet access too. We are using this method in this chapter for working with ROS.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.21.159.189