Introduction: Intel Edison Talks to Linkit One

The Linkit One and the Intel Intel Edison are cool boards, while the Linkit one might not be as powerful as the Linkit one but it is much simpler to use and makes a great Arduino alternative. In this instructable I'm going to show you how to establish communication between the Intel Edison and the Linkit One, as making this two boards work together in a project will make a really very powerful project. The communication will be established via a serial interface.

Step 1: Tools and Components

Here is a list of components required for this instructable...

  • LinkIt One
  • Intel Edison
  • Breadboard
  • Jumper wires
  • Micro USB Cables

Once you have all the parts its is time to get started...

Step 2: Circuit

There is not much of a circuit and very simple connections between the Linkit One and the Intel Edison.

The Rx pin from the Intel Edison should be connected to the Tx pin of the Linkit One board,

The Tx pin from the Intel Edison should be connected to the Rx pin of the Linkit One board,

and both the Gnd terminals of each board should be connected together.

Step 3: Program

The code to be uploaded to both the boards are the same, the code allows inter change of serial data between both the boards. For uploading the code you need modified versions of the arduino IDE to suit both the Linkit one and the Intel Edison boards. Make sure upload the code to the suitable COM ports.

include
SoftwareSerial ser(0,1); void setup() { Serial.begin(9600); Serial.println("SERIAL: BEGIN"); ser.begin(9600); ser.println("SOFTWARE SERIAL: BEGIN"); } void loop() { if(ser.available()) { Serial.print("writing to serial"); Serial.write(ser.read()); } }

Step 4: Communication

After uploading the code to both the boards you need to open two separate serial terminals, you can also open, one on different computers. Make sure you select the right COM port which should be the debugging port. After you have open up the serial terminals you can type in data in any one of the terminals and the data should appearer on the other terminal after travelling between the boards.