Intel Edison Tutorial 2 - Linux Platform - IoT Platform Tutorial 2 Linux Platform Intel IoT Tutorial 2 1 Table of Contents Introduction.3 Things

Intel Edison Tutorial 2 - Linux Platform - IoT Platform...

This preview shows page 1 - 6 out of 11 pages.

Intel ® IoT Tutorial 2 1 IoT Platform : Tutorial 2: Linux Platform
Image of page 1
Intel ® IoT Tutorial 2 2 Table of Contents Introduction ..................................................................................................................... 3 Things Needed ................................................................................................................ 3 Yocto Embedded Linux ................................................................................................. 3 Serial Connection to the Intel Edison ........................................................................... 4 Linux Command Line ..................................................................................................... 6 Software Development Tools ...................................................................................... 10 References .................................................................................................................... 11 Revision history Version Date Comment 1.0 21/9/2015 Initial release
Image of page 2
Intel ® IoT Tutorial 2 3 Introduction In this tutorial, you will: 1. Be introduced to the Linux image running the Intel Edison, 2. Learn to connect to the Edison via serial connection, 3. Be introduced to the Linux command line, and 4. Learn about the software development tools on the Linux image. Things Needed • An Intel Edison with Arduino-compatible breakout, • Two micro USB cables, and • a PC or Mac Yocto Embedded Linux Figure 1 Yocto From After updating the firmware, the Edison runs the latest official Yocto Embedded Linux image, which is a light-weight yet fully functional Linux image that is packed with tools for IoT development. This custom Linux image is created with Yocto project, which is an open source project that provides templates, tools, metadata, and documentation to assist development of custom Linux-based systems for any embedded systems [1].
Image of page 3
Intel ® IoT Tutorial 2 4 Serial Connection to the Intel Edison Let’s explore the Yocto Embedded Linux. First, we need to connect to the Linux side of the Edison. This can be achieved with a Universal Asynchronous Receiver/Transmitter (UART) serial connection. A UART is a piece of hardware that is usually used for serial communications over serial ports. The Edison with Arduino breakout board comes with a UART serial USB port. Now, let’s make a serial connection to the Edison by following the steps below. 1.Toggle the switch to enable “device mode” (lower position) and connect a micro USB cable to the multi-gadget USB port and to your computer. 2.Connect another micro USB cable to the UART serial USB port (the bottom micro USB port) and to your computer. 3.Follow the steps below for your computer’s OS. Windows 4.Open a SSH client such as PuTTY (Install if you haven’t already). Download PuTTY at . 5.Select “Session” from the category on the left. Figure 2 PuTTY Configuration
Image of page 4
Intel ® IoT Tutorial 2 5 6. Enter COM# in the Serial line field. You can find the COM# from Windows Device Manager (In this example, COM8). The Edison should be listed as USB Serial Port. Figure 3 COM Port 7. Enter 115200 in the Speed field. 8. Make sure Serial is selected in the Connection type field. 9. Click Open then a blank screen will appear. 10. Proceed to step 11 below. Mac 4. Open Terminal. 5. Enter “ls /dev/cu.usbserial-*” to list connected devices. Figure 4 Command Line 6. Then, unplug the micro USB cable from the UART serial USB port and re-enter “ls /dev/ cu.usbserial-*”. The disappeared device in the list is the Edison.
Image of page 5
Image of page 6

You've reached the end of your free preview.

Want to read all 11 pages?

  • Winter '15
  • WilliamKaiser
  • ........., Universal Serial Bus, Serial port

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture