Fetching contributors…
Cannot retrieve contributors at this time
85 lines (42 sloc) 1.31 KB

Thermometer - SI7021

Tessel with SI7021


Fritzing diagram: docs/breadboard/multi-SI7021.fzz


Run this example from the command line with:

node eg/temperature-SI7021.js
var five = require("../");
var Tessel = require("tessel-io");
var board = new five.Board({
  io: new Tessel()

board.on("ready", function() {
  var temp = new five.Thermometer({
    controller: "SI7021",
    port: "A"

  temp.on("change", function() {
    console.log(this.celsius + "°C", this.fahrenheit + "°F");

Illustrations / Photos

Arduino with SI7021


Fritzing diagram: docs/breadboard/multi-SI7021-uno.fzz


Learn More



Copyright (c) 2012-2014 Rick Waldron Licensed under the MIT license. Copyright (c) 2015-2018 The Johnny-Five Contributors Licensed under the MIT license.