The Intel Edison is a tiny computer-on-module offered by Intel as a development system for the Internet of Things (IoT). It features a dual-core Intel Quark x86 CPU at 400 MHz communicating via Bluetooth and Wi-Fi.
This step-by-step guide will help you to:
- Assemble and connect cables to your Intel® Edison board.
- Run the setup tool to install USB drivers and flash to your Intel® Edison board's firmware.
- Set a device password and connect your development board to Wi-Fi.
The Intel® Edison compute module is meant to be used with a breakout board and is typically bought together with a kit containing the compute module and a breakout board.
You will need:
- Intel® Edison compute module
- Arduino* expansion board
- Micro-B USB to Standard-B USB cables (x 2)
- Direct current (DC) power supply (see specs)
Setting up the Intel Edison
- Assemble the Intel Edison Board. On the following link you will find all the specifications how to do it.
2. Download the latest configuration tool for your system to access the features in the current Intel® IoT Developer Kit release.
3. Accept the terms of the license and follow step-by-step the instructions of the configurations tool.
4. Next, you have to install the USB drivers. This is important because it is the drivers that allow the computer to recognize your board.
5. Download the latest firmware and flash it to your Intel Edison. This will take a few minutes.
6. Once the download is finished, the below window should appear. Please ensure your board is properly connected to your PC and power unit to allow for the flash and reboot.
7. Set a device name and password to enable SHH, if you want to use this. (For this, a guide is not needed).
8. Connect your board to Wi-Fi. It will scan for the available networks and show you the detected networks, select the one you wish to use, and select the security of the network and enter the Wi-Fi password. If you change any wifi setting, do not forget to write them down for next time.
9. Once your device is connected to the network, you will see the IP address.
10. Ensure all the configuration are already checked. Click on the “Finish” button once confirmed.
Setting up the Arduino IDE
- Open the Arduino IDE, if you don’t have it, download here.
- Go to Tools > Board > Boards Manager.
3. Filter your search, write “Intel” and install it.
4. Once installed, select the board and choose the COM port of the Intel Edison.
5. Go to the following link and download the PubSubClient library.
6. Add the library to the Arduino IDE. Go to Sketch > Include Library > Add. ZIP Library… Select the previously downloaded library.
7. To program your Intel Edison copy the following code to the Arduino IDE.
8. Go to your Ubidots account to get your TOKEN. Click on your username and select API Credentials. Copy the TOKEN and assign it to the code.
9. Set up the same previous configured SSID and password to the code.
10. You have to assign the device and variables labels (name), also the token.
11. Verify the program clicking the check icon, then upload the code clicking the arrow icon.
12. Once your program is uploaded into the board, you’ll receive the following message on the Arduino IDE.
13. Go back to your Ubidots account, select the Devices tab and you’ll will find the created device. Enter to the device called edison and you’ll find the variables you created.
13. Also, you can control a variable. Create a new variable called "relay" inside the device called "edison". Once your variable is created flash your code again.
14. Go to the "Dashboards" tab and add a new Widget of the type "Control"--> "Switch" to control the relay.
Now, it’s time to create an amazing Dashboards. To learn how our widgets work you can watch these video tutorials.
In this guide you’ve learned how to configure an Intel Edison with the Arduino breakout board in just a few minutes. You also learned, how to send data to the Ubidots cloud for managing and controlling. Thank you for your trust and confidence in Ubidots, we hope your tinkering was enjoyed as much as ours throughout this tutorial!
Happy Hacking :D