ESP8266

De Mathux
Aller à : navigation, rechercher

Code

Available here : https://gitlab.mathux.org/Mathieu/Domotique

Pin layout : https://github.com/esp8266/esp8266-wiki/wiki/Pin-definition

ESP 201

ESP 201

i2c

  • Connect SLC to GPIO14 (Pin 9)
  • Connect SDA to GPIO02 (Pin10)

Software

I2C in supported by the Wire.h To configure it properly, set the right gpio:

Wire.begin(2,14);

Arduino I2c Scanner

BMP180

I2C scanner detect it at 0x77

Good documentation @ sparkfun : [1]

Support Library Forked to configure I2C pins @ [2]