-->
Page 1 of 1

Need help with ESP8266 Development Board and I2C Sensors

PostPosted: Sat Dec 26, 2015 5:29 pm
by Gawan
Hi,

I would like to connect a BMP180 GY-68 berometric sensor (I2C).

On Arduino UNO its easy, just include three libraries
Code: Select all#include <Wire.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP085_U.h>

connect the sensor SCL to A5 and SDA to A4 and that's it. It works.

I tried to fiend a way to make this up and running on my NodeMCU ESP8266 Dev. Board as well, but I couldn't find one.

Is this generally possible or simply not ?

BR
Gawan

Re: Need help with ESP8266 Development Board and I2C Sensors

PostPosted: Sun Dec 27, 2015 2:04 pm
by torntrousers
It should just work (works for me). Connect the BMP180 SCL to D1 on the NodeMCU board and SCA to D2.