Click here to Skip to main content
15,885,882 members
Articles / Internet of Things
Article

Getting Started with the Intel® Edison board on Windows

Rate me:
Please Sign up or sign in to vote.
4.79/5 (5 votes)
19 Feb 2015CPOL6 min read 10.1K   6  
In this guide, you’ll connect to the Intel® Edison board through a terminal and update the firmware on your board.

This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

Get access to the new Intel® IoT Developer Kit, a complete hardware and software solution that allows developers to create exciting new solutions with the Intel® Galileo and Intel® Edison boards. Visit the Intel® Developer Zone for IoT.

Overview

Requirements

  • Intel Edison board
  • Intel Edison breakout/expansion board (Arduino or similar)
  • 2 Micro B to Type A USB cables
  • OR
  • 1 Micro B to Type A USB cable and 7-15V DC supply

Assemble your board

At the end of this section, you should have an assembled Intel Edison board.

  1. Place the Intel Edison board within the white outline on your expansion board, lining up the holes on the Intel Edison board with the screws on the expansion board.

    Image 1

    Figure 1. Intel Edison board lined up with expansion board
  2. Press down on the Intel Edison chip just below the words "What will you make?" until you feel a snap.

    Image 2

    Figure 2. Intel Edison board installed on expansion board
  3. Use the two hex nuts to secure the module to the expansion board. Hand-tighten the hex nuts onto the two screws that protrude through the Intel Edison board.

    Image 3

    Figure 3. Intel Edison board secured with hex nuts
  4. If your expansion/breakout board has plastic legs or spacers, fasten the spacers to the board.

Connect the board to your system

At the end of this section, your Intel Edison board will be connected to your computer via USB cable and powered either through the USB cable (Option A) or through a DC supply (Option B).

Image 4

Figure 4. Intel Edison board connected using Option A (2 Micro B to Type A USB cables)

Image 5

Figure 5. Intel Edison board connected using Option B (1 Micro B to Type A USB cable and 7-15V DC supply

Note: If you are going to use more power-intensive features, such as WiFi, the mini servo, or an Arduino shield, using a 7 to 15V DC input is recommended.

The Intel Edison board has three USB ports:

The middle port (Micro A type) as shown on the Arduino expansion board, is used for the following:

  • Power through USB
  • Ethernet over USB
  • Uploading Arduino sketches
  • Updating the firmware by using the board as a storage device, like a flash drive

The edge port (Micro A type) is used to create a terminal connection by serial over USB only.

Image 6

Figure 6. Middle and edge ports on an Intel Edison board

Option A: Power through USB

  1. For Arduino expansion board: Find the microswitch SW1 (shown below) in between the larger and smaller USB ports on the expansion board. Ensure the microswitch is switched towards the micro-USB (smaller) ports.

    Note: If you intend to use the USB Female A Type port to connect a peripheral in the future, the microswitch should be switched towards the USB Female A Type port.

    Image 7

    Figure 7. Intel Edison board with the microswitch switched toward the micro USB ports
  2. Power up the board, as follows:
    1. Plug in one of the micro-USB cables to the middle USB connector on the expansion board.
    2. Plug in the other end of the USB cable to your computer.
    3. A green light should light up on the expansion board. If it doesn't, check your connection.
  3. Wait a moment for the board to boot up. You will know that the board is fully initialized when your computer mounts a new drive (much like inserting a SD card into your computer).
  4. Plug in your second USB cable to the edge USB connector on the board.

    Note: If you do not see a new drive, and the LED light (DS1 on the Arduino expansion board) is occasionally turning on and off, it is likely that the board isn’t getting enough power from the USB port. Plug in your AC adapter (if you’re on a laptop), try a different USB port on your computer, or try using a USB hub that has a power supply.

Option B: Power through DC plug

  1. Plug in the DC power supply to the DC plug on your expansion board. You should see a green light from the board indicating it has power.
  2. Plug one of the micro-USB cables into the edge USB connector on the expansion board.
  3. Connect the other end of the USB cable into your computer.

Install driver

At the end of this section, you will have the Intel Edison board connected to your computer as a COM port.

  1. Download the FTDI driver: www.ftdichip.com/Drivers/CDM/CDM%20v2.10.00%20WHQL%20Certified.exe.
  2. Right-click the .exe file you downloaded, which should be called "CDM…" and select Run as Administrator:

    Image 8

  3. Click Extract.
  4. Click Next.
  5. Click Finish.
  6. You should see a new USB Serial Port entry in the "Ports (COM & LPT)" section of the Device Manager. Make note of the number next to "COM", as highlighted below.

    Image 9

Connect to the Intel Edison board

At the end of this section, you will have connected to the board using PuTTy, and updated your firmware.

  1. Download the PuTTY terminal emulator: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe.
  2. Double-click the putty.exe file you downloaded to run it.
  3. At the top right of the Putty Configuration dialog box, specify the following:

    Image 10

    1. For Connection type, select the Serial radio button.
    2. In the Serial Line field, type the COM # (e.g. COM7) of your board.
    3. In the Speed field, type 115200.
    4. From the side menu, expand the Connection options and select Serial. Specify the following settings:
    5. In the Serial line to connect to field, type the COM # (e.g. COM7) of your board.
    6. In the Speed (baud) field, type 115200.
    7. In the Data bits field, type 8.
    8. In the Stop bits field, type 1.
    9. From the Parity drop-down list, select None.
    10. From the Flow control drop-down list, select XON/XOFF.
  4. If you wish to save your setup, click the Session category on the left. Type a name for the configuration in the Saved Sessions field, then click Save.

    Image 11

  5. Click Open to connect to the board.
  6. When you see a blank screen, press the Enter key twice. A login screen is displayed:

    Image 12

  7. At the login prompt, type root and press Enter.
  8. Press Enter when prompted for a password. The following screen is displayed:

    Image 13

  9. It is highly recommended you flash your firmware to get the latest features and important updates. To do so, follow the instructions on the Flashing Edison (wired) - Windows page, then continue with the steps below.
  10. Configure your username, password, and WiFi options by entering the command: configure_edison --setup. Follow the on-screen instructions to create a username, password, and so on.

    Notes:

  11. Once you have configured your username, password, and WiFi options, enter the command: ifconfig. Make note of your "wlan0" IP address, as shown in the figure below.

    Image 14

Return to the Getting Started Home page

Troubleshooting

Resources

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Canada Canada
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --