wb_editors
14 355
правок
(Новая страница: «BMP085») |
FuzzyBot (обсуждение | вклад) (Обновление для соответствия новой версии исходной страницы.) |
||
(не показано 8 промежуточных версий 1 участника) | |||
Строка 1: | Строка 1: | ||
== | <languages/> | ||
=== | ==Temperature and pressure sensors BMP085 and BMP180== | ||
=== Connection === | |||
The sensors are connected to the hardware I2C bus ([[http://contactless.ru/wiki/index.php/%D0%A4%D0%B0%D0%B9%D0%BB:WB3.5.png UEXT1 connector]]) to use the Wiren Board Smart Home 3.5 controller. The Pinout of the connector UEXT: | |||
http://en.wikipedia.org/wiki/UEXT | |||
=== | === Configuring the hardware I2C bus === | ||
Find the section with the comment: /* uncomment do not enable hardware with I2C */ | |||
<pre> | <pre> | ||
Строка 20: | Строка 21: | ||
</pre> | </pre> | ||
uncomment: | |||
<pre> | <pre> | ||
/* Uncomment no enable hardware i2c */ | /* Uncomment no enable hardware i2c */ | ||
Строка 30: | Строка 31: | ||
</pre> | </pre> | ||
In addition, make sure that the list of pinctrl@80018000 pinctrl-0 does not refer to I2C: | |||
<pre> | <pre> | ||
Строка 43: | Строка 44: | ||
</pre> | </pre> | ||
Compiled DTS with enabled I2C interface for Wiren Board Smart Home 3.5: http://contactless.ru/wiki/index.php/%D0%A4%D0%B0%D0%B9%D0%BB:Imx23-wirenboard32.dtb | |||
=== | === Тranslation into MQTT === | ||
<pre> | <pre> | ||
apt-get update | apt-get update | ||
Строка 51: | Строка 52: | ||
</pre> | </pre> | ||
Source code: https://github.com/contactless/wb-mqtt-bmp085 |