Skip to content
ESP8266 sketch to collect temp, humidity, air pressure and send via MQTT to EasyIoT Cloud w/ OLED display.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


ESP8266 sketch to collect temp, humidity, air pressure with BME280 and send via MQTT to EasyIoT Cloud. and added display information function to small OLED via ssd1306 IIC interface. I've developed this program by combining the following four programs.

1、Temp sensor connected to ESP8266 and upload data using MQTT (It is for DHT11 sensor, I'vechanged to use BME280 sensor utilizing next program) 2,ESP8266 (ESP-WROOM-02) with Temperature humidity barometric pressure sensor (BME 280) has linked to Ambient IoT Cloud service. by yukitter-san

3, 0.96" small IIC OLED LCD Display with SSD1306. じわじわ進む K.Kurahshi-san BME280とOLEDをESP-WROOM-02で使ってみた

SSD1306.h libraly is downloaded from, squix78 Daniel Eichhorn-san esp8266-oled-ssd1306 very versatile libralies and examples.

4,ESP8266 smart plant irrigation system IOT-PLAYGROUND.COM Caution:MQTT.h libraly shoud be downloaded from URL shown below Github link libraly folder.

Description: I used ESP8266 (ESP-WROOM-02) pin 4 (GPIO4) as SDA, pin5(GPIO5) as SCK for IIC interface. ・There might be many liabraly with same name (eg.MQTT.h) then you should download the MQTT.h from EasyIot-Cloud. ・I strongly addvice you to check libraly function name beforehand. ・The function names are correct or not with keyword file in libraly.(eg.getTemperature())  Actualy I troubled with old version BME280 libraly. ・ I am not English speaker, then some English comments are fuzzy, Please forgive there might be uncertain expression. Actualy I used Google translaton for some Japanese comment translation to English comment. (But proofreaded lol.)

Those Must use ESP8266 Arduino from: MQTT code Written by Tony DiCola for Adafruit Industries. MIT license, all text above must be included in any redistribution

You can’t perform that action at this time.