BarometricSensor

From Let's Control It
Revision as of 23:48, 30 September 2015 by BertB (talk | contribs) (→‎ESP Easy)
Jump to navigation Jump to search

Introductie

The ESP module can read a BMP085 temperature/Barometric pressure sensor using the I2C protocol.

The DHT sensor needs to be connected to a the I2C pins on the ESP module. These pins can be configured on the hardware tab.

Hardware

The BMP085 sensor can be connected directly to an ESP module by using the two pins SDA and SCL.


BMP085.png NodeMCU-BMP085.jpg


Use 3.3V break boards only. Sometimes, it could be necessary to add a 100nF ceramic capacitor across the power terminals of the BMP085/180

Software

Custom Sketch

ESP Easy

The BMP085/180 communicates with the ESP8266 through the I2C interface, so first use the Hardware tab in the web interface of ESP Easy to find out what pins are being used for SDA and SDC. They can be altered if required. Next Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "BMP085 Barometric Sensor" from the dropdown box and enter the IDX found in the Domoticz device page. That should be all.

ESP Connexio

Syntax: BMP085Read "var"