Skip to content

ESP8266 I2C Modules

Florian edited this page Feb 27, 2019 · 6 revisions

ESP8266 I2C-Bus Modules

Prerequisites

Note: Gateways can be used separately. Follow this Link for a quick overview about all Modules and possible Combinations.

Tested Modules for the I2C-Bus Addon:

Module Purpose Where to Buy Additional Library
BME280 Temperature, Humidity and Pressure parts list SparkFun BME280 library
BH1750 Light / Ambience parts list

Hardware setup

Connect the following pins:

I2C Module NodeMCU / ESP8266
Vcc Vu (5V)
GND GND
SCL D1
SDA D2
ADD N/C (Not Connected)

Before connecting the Power Pins check the voltage that your sensor can accept (5V or 3,3V) and connect it to the corresponding power supply pin

Addon_I2C-Bus

Software setup

If you want to use theses sensors uncomment in user_config

#define ZsensorBH1750

#define ZsensorBME280

Clone this wiki locally
You can’t perform that action at this time.