Click here to Skip to main content
15,123,367 members
Articles / Internet of Things / Arduino
Article
Posted 17 Oct 2014

Tagged as

Stats

7.3K views
3 bookmarked

Edison Getting Started Guide - Windows

Rate me:
Please Sign up or sign in to vote.
5.00/5 (3 votes)
17 Oct 2014CPOL6 min read
The following Intel® Edison Getting Started Guide has been written for use with the Arduino expansion 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

Prerequisite: you have successfully flashed Edison with the latest image

Note: If you’re using Intel® Edison for the first time, we recommend starting with the Intel® Edison kit for Arduino* expansion board. The following Intel® Edison Getting Started Guide has been written for use with the Arduino expansion board (Edison Arduino expansion board hardware guide_331191-002.pdf). If you are using Intel® Edison for the first time with a different expansion board, please consult documentation provided by the supplier of that expansion board.

To get started with Edison, please select your OS below and follow the specified steps:

Windows

Video Overview

Step 1 – Connecting Edison

  1. What’s included in the box
    Image 1
    • Intel® Edison board
    • Arduino* expansion board
    • Two small hex nuts
    • Four plastic spacers and screws
  2. Place the Edison board on the connector within the white outline on the Arduino* expansion board, lining up the holes on the Edison board with the screws on the expansion board.
    Image 2
  3. Press down on the Edison chip just below the words "What will you make?" until you feel a snap.
    Image 3
  4. Hand tighten the hex nuts onto the two screws that protrude through the Edison board.  It is not imperative that these screw tight.
    Image 4
  5. Insert the screws into the holes on the edges of the Arduino board and screw them into the white plastic spacers.
    Image 5
  6. Connect two micro USB cables into the Arduino board, and the other ends into your computer.  *note - make sure the micro switch in between the USB ports on the Arduino board is switched towards the micro USB ports*
    Image 6

Step 2 – Download Edison Arduino IDE

  1. Download the Edison Arduino IDE. *note - select your appropriate OS*
  2. Navigate to the folder where you downloaded the .zip Edison Arduino IDE
  3. Right click on the .zip file,highlight “7-zip”, and select “Extract to “arduino-…”
    Image 7
  4. Open the folder that was created
    Image 8
  5. You can move this folder wherever you want.  A common place is your “C:\” drive.  For this example, we will stick with the “Downloads” folder.
  6. Click through this folder until you see the IDE “arduino.exe” file
    Image 9
  7. Double-click this file and this window should open
    Image 10

Step 3 – Install required drivers

  1. Download FTDI drivers.
  2. Right-click the .exe file you downloaded, which should be called “CDM…” and select “Run as administrator”
    Image 11
  3. Click “Extract”
    Image 12
  4. Click “Next”
  5. Click “Finish” when you see this screen
    Image 13
  6. Download PuTTY terminal emulator
  7. PuTTY does not need to be installed, the .exe that you download is the actual application.
  8. Download Intel Edison Drivers to install the required RNDIS, CDC, and DFU drivers
  9. Double-click the .exe file to begin the install
    Image 14
  10. Click “Next”, and click “I Agree” to the License Agreement once you’ve read through it.
  11. Click “Next” in choosing the components to install
    Image 15
  12. It is best to leave the install directory with the default, but you may choose a location to install if you’d like.  In this example we will use the default directory
    Image 16
  13. The drivers will now install
  14. Click “OK” when the installation has finished
  15. Click “Finish”
  1. Go back to the Arduino IDE that you opened earlier
  2. Click on “File > Examples > Basics > Blink” and this window will open
    Image 17
  3. Click “Tools > Board” and select “Intel® Edison”
    Image 18
  4. Open “Device Manager by clicking “Start” and typing in “Device Manager”.
    Image 19
  5. Select “Tools > Serial Port” and select the number that is shown under “Ports (COM & LPT) > Gadget Serial (COM[#])” in your “Device Manager”.  In this example we are using COM13.
    Image 20
  6. Click Upload to upload Blink to Edison
    Image 21

Step 5 – Connect Edison to WiFi

  1. Open “Device Manager by clicking “Start” and typing in “Device Manager”
    Note: For this section to work, make sure you have updated your Edison with the latest firmware.
    Image 22N
  2. Scroll down to “Ports (COM & LPT)” and take note of the COM number listed under “USB Serial Port (COM#)”.  In this example it will be COM11”

    Image 23

  3. Open the PuTTY.exe application that you previously downloaded
  4. At the top right of this screen, click on “Serial” and enter “COM11” (or the COM # that you see in Device Manager) in the “Host Name (or IP address) text area and enter “115200” in the “Port” text area

    Image 24

  5. Click “Open”
  6. When you see this screen, press “Enter” two times

    Image 25

  7. Type in “root” and press “Enter”

    Image 26

  8. Type in “configure_edison --setup" and press “Enter”

    Image 27

  9. You will be asked to enter a name for your Edison
  10. You will then be asked to enter a password for the “root” user account

    Image 28

  11. To configure WiFi type in “Y” and press “Enter”
  12. Edison will scan for WiFi networks for 10 seconds.  When it is finished, a list of available networks will be displayed

    Image 29

  13. Type in the number from the list for the network you’d like to connect to.  In this example we will connect to “kafka” so we will type in “16” and press “Enter”

    Image 30

  14. The network in this example requires a password.  Your network might require other information.  Please enter the appropriate credentials.
  15. Press “Enter” when finished, and Edison will attempt to make a connection to the network

    Image 31

  16. If the connection fails, you may have typed in your credentials incorrectly.  Try again by typing in “configure_edison --wifi" and repeat steps 11 – 14.
  17. You are now connected to your WiFi network.  If your computer is connected to the same network you can open up a browser and type in the IP address or using the name of your Edison.  In this example it will look like this “http://10.0.0.26” or  “http://myedison.local”
  18. Visiting this address should open up this page

    Image 32

Congratulations, you have successfully connected to WiFi uploaded Blink to your Intel® Edison development board!

Congratulations, you have successfully uploaded Blink to your Intel® Edison development board!

Where to go next

Troubleshooting

If you are not seeing a blinking light try the following:

  • Check connections between the board, and your computer.
  • Make sure Intel Edison is selected from the Tools -> Board menu.
  • Make sure you have the correct serial port selected in Tools -> Serial Port.  This should be same number as "Virtual Com Port" shown in Device Manager.
  • Make sure you uploaded the Blink sketch example, and that you didn't accidentally change the code.
  • Make note of error messages.
  • If all else fails, seek help from the Edison Support Community or the Arduino Forums.

License

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

Share

About the Author

Member 1161723
South Africa South Africa
No Biography provided

Comments and Discussions

 
-- There are no messages in this forum --