Pete Hoffswell
Published © GPL3+

Thermometer with Intel Edison and SeeedStudio Grove

Here's a very easy little project to make a Thermometer and learn a bit about the Intel Edison.

Beginner1 hour932
Thermometer with Intel Edison and SeeedStudio Grove

Things used in this project

Hardware components

Intel Edison Kit for Arduino
Seeed Grove Starter Kit Plus - IoT Edison

Software apps and online services

Intel® XDK IoT Edition


Read more


Plug and Play

Schematics? We don't need no stinkin' schematics!



/* Thermometer

Connect Intel Edison with Seedstudio Grove Starter Kit Plus Temperature sensor and display to make a Thermometer.

Intel Edison Kit for Arduino
Grove Starter Kit Plus, containing - 
    Base Shield
    Temperature Sensor
    LCD Display
Connect the LCD to and I2C Port
Connect the temperature sensor to A2 port
Set shield for 5 volts
June, 2016

var mraa = require('mraa'); //require mraa
console.log('MRAA Version: ' + mraa.getVersion()); //write the mraa version to the console
var lcd = require('jsupm_i2clcd');
var display = new lcd.Jhd1313m1(0, 0x3E, 0x62);
var analogPin0 = new mraa.Aio(0); //setup access analog input Analog pin #0 (A0)
var B = 3975; // B value of termistor 
var delay = 3000; // delay between reads/display

display.setColor(0, 100, 50);  // R G B display background color

read_display(); // start the loop

function read_display() {
    // read the temperature sensor, convert to celsius/fahrenheit, display on console and LCD.
    var analogValue =; //read the value of the analog pin
    var resistance = (1023 - analogValue) * 10000 / analogValue; //get the resistance of the sensor;
    var celsius_temperature = 1 / (Math.log(resistance / 10000) / B + 1 / 298.15) - 273.15; //convert to temperature via datasheet ;
    var fahrenheit_temperature = (celsius_temperature * (9 / 5)) + 32;
    var display_temp = fahrenheit_temperature;
    display.write('Temp: ' + display_temp);  
    console.log('Temp: ' + display_temp);


Pete Hoffswell

Pete Hoffswell

3 projects • 58 followers
Network Engineer for All the People. Internet advocate. Microcontroller Fan. Maker.