Published © CC BY

Yet Another Edison Getting Started - with the Breakout Board

Get started with a basic setup for the Edison & breakout board, from soldering hardware to IDE connectivity.

Yet Another Edison Getting Started - with the Breakout Board

Things used in this project

Hardware components

Intel Edison
Intel Edison
Breakout board edition (i.e. requires soldering and no analog-to-digital converters on board like on the Arduino Edison version.


Read more


Edison Pinouts

Pinout map for the Intel Edison Breakout Board from rear view perspective. Includes functionality notes.


Basic XDK Template - Digital Read

This is a very basic template provided with the Intel XDK to read from digital inputs. Refer to the Edison Pinout schematic to map your sensors to the proper mraa numbers.
/*jslint node:true, vars:true, bitwise:true, unparam:true */
/*jshint unused:true */

A simple node.js application intended to read data from Digital pins on the Intel based development boards such as the Intel(R) Galileo and Edison with Arduino breakout board.

MRAA - Low Level Skeleton Library for Communication on GNU/Linux platforms
Library in C/C++ to interface with Galileo & other Intel platforms, in a structured and sane API with port nanmes/numbering that match boards & with bindings to javascript & python.

Steps for installing MRAA & UPM Library on Intel IoT Platform with IoTDevKit Linux* image
Using a ssh client: 
1. echo "src maa-upm" > /etc/opkg/intel-iotdk.conf
2. opkg update
3. opkg upgrade


var mraa = require('mraa'); //require mraa
console.log('MRAA Version: ' + mraa.getVersion()); //write the mraa version to the console

var myDigitalPin6 = new mraa.Gpio(6); //setup digital read on Digital pin #6 (D6)
myDigitalPin6.dir(mraa.DIR_IN); //set the gpio direction to input

periodicActivity(); //call the periodicActivity function

function periodicActivity() //
  var myDigitalValue =; //read the digital value of the pin
  console.log('Gpio is ' + myDigitalValue); //write the read value out to the console
  setTimeout(periodicActivity,1000); //call the indicated function after 1 second (1000 milliseconds)




4 projects • 10 followers
Climate science hacker.