Things used in this project

Hardware components:
Photon new
Particle Photon
With power supply.
Adafruit Si7021
Adafruit industries ada64 image 75px
Solderless Breadboard Half Size
With some jumper wires.
Software apps and online services:
ThingSpeak API
To store the measurement data.
IFTTT Particle Service
Optional, to send alerts to a user via Telegram messenger.
IFTTT Telegram Service
Optional, to send alerts to a user via Telegram messenger.
Optional, to send alerts to a user via Telegram messenger.


Project schematics
Schematics of the a breadboard with the Photon and the sensor.
Schematics mswxxe00ob


Code to get access to the Si7021 sensor data using the Adafruit Si7021 library.
// Connect Vin to 3-5VDC
// Connect GND to ground
// Connect SCL to I2C clock pin (D1 on Photon/Electron)
// Connect SDA to I2C data pin  (D0 on Photon/Electron)

#include "Adafruit_Si7021.h"   // Use for Build IDE
// #include "Adafruit_Si7021.h"               // Use for local build

Adafruit_Si7021 sensor = Adafruit_Si7021();
double h;
double t;

void setup() {
    // Variable for IFTTT
    Particle.variable("t", &t, DOUBLE);
    Particle.variable("h", &h, DOUBLE);

void loop() {
    h = sensor.readHumidity();
    t = sensor.readTemperature();
    // Publish data
    String temperature = String(t);
    String humidity = String(h);
    temperature = temperature.format("%1.2f", t);

    Particle.publish("temperature", temperature, PRIVATE);
    Particle.publish("humidity", humidity, PRIVATE);


Moritz Strube

I’m an experienced technology manager and business developer with deep interest in technology, innovation and science.


Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback


Similar projects you might like

Two Person Weasley Clock with Particle Photon and IFTTT
  • 689
  • 8

Full instructions

Taking inspiration from the Harry Potter character's Weasley clock, this one uses Particle and IFTTT to tell you where two people are.

Security+ 2.0 MyQ Garage Door Opener
  • 770
  • 3

Full instructions

Interface newer garage door openers with more than a relay.

IoT Alcohol Tester
  • 1,896
  • 16

Full instructions

This project explains how to build a device for estimating blood alcohol content from a breath sample.

Temperature and humidity monitor
  • 337
  • 3

Full instructions

This is a project that uses SHT30 to get the current temperature and humidity. And then displays it on a no-chip embeded LCD.

Study Buddy
  • 2,391
  • 140

Full instructions

Know when an assignment is coming up!

Study Buddy

Team Alexa and Shannon

Automatic garage door opener using geolocation on Android.
  • 620
  • 2

Full instructions

Control and monitor your garage door remotely and open it automatically when approaching your house using geolocation.

Add projectSign up / Login
Respect project