Ключевое ?лово

vk

Добро пожаловать, Гость
Логин: Пароль: Запомнить меня
Железо для умного дома
  • Страница:
  • 1
  • 2
  • 3
  • 4
  • 5

ТЕМА: Discussion of wireless sensors based on ESP8266 (English)

Discussion of wireless sensors based on ESP8266 (English) 29 Май 2016 08:18 #12921

  • Adminhs
  • Adminhs аватар
  • Не в сети
  • Администратор
  • Сообщений: 7195
  • Спасибо получено: 1114
  • Репутация: 194
sign percentage of screened, and can be a problem, I tested but could not repeat the situation. Try to add a space after the mark.

wunderground.com is not a very popular service. there are limited opportunities available and only a few sensors.
Основной канал проекта в Telegram t.me/wifi_iot
Администратор запретил публиковать записи гостям.

Discussion of wireless sensors based on ESP8266 (English) 02 Авг 2016 00:52 #13815

  • grubia
  • grubia аватар
  • Не в сети
  • Новый участник
  • Сообщений: 7
  • Репутация: 0
Features request:
Is it possible to add pressure conversion for bmp/bme from mmhg to hpa ?
Formula is _pressmmhg_ * 1.3332239

Also can you add calculation of "mean pressure" in order to use the sensor as weather station ?
Formula is:

_press in hpa_ *(1-0,0065*_altitude in m_/(_temp_+0,0065*_altitude in m_+273,15))^-5,257

Altitude in m must be entered by hand.

I've tryed to do this in code designer but i have problem with pow function :

(HTTPBUFF,"<br>mean press %d",(bmp_p* 1.3332239)*pow((1-0.0065*575/(bmp_t+0.0065*575+273.15)),-5.257))

Компилирование закончилось ошибкой, удалите не нужные функции или свяжитесь с администратором EID# 35617

[path]des_src.c: In function 'webfunc':
[path]des_src.c:13:47: error: incompatible implicit declaration of built-in function 'pow' [-Werror]
[path]des_src.c:13:1: error: too few arguments to function 'pow'
Администратор запретил публиковать записи гостям.

Discussion of wireless sensors based on ESP8266 (English) 02 Авг 2016 08:04 #13816

  • Adminhs
  • Adminhs аватар
  • Не в сети
  • Администратор
  • Сообщений: 7195
  • Спасибо получено: 1114
  • Репутация: 194
OK, I added the option to turn hpa in designer settings.

pow functions not in the assembly of the compiler, you must add it manually in the constructor code.
Основной канал проекта в Telegram t.me/wifi_iot
Администратор запретил публиковать записи гостям.
Спасибо сказали: grubia

Discussion of wireless sensors based on ESP8266 (English) 02 Авг 2016 08:48 #13817

  • grubia
  • grubia аватар
  • Не в сети
  • Новый участник
  • Сообщений: 7
  • Репутация: 0
Thank you.
Can you please add hpa calculation also to BME280 ?

How can I add pow function manually in constructor ?

About Mean pressure here is quote:
To compare pressure conditions around the world, meteorologists recalculate the barometric pressure measured at weather stations to mean sea-level conditions.
Higher placed weather stations naturally have lower atmospheric pressure since the column of air above them is less high. At higher altitude the air pressure decreases. Since air pressure decrease due height above sea level is equivalent around the world, barometric pressure readings from weather stations located at any altitude can be equivalently converted into mean sea level pressure. Mean sea level pressure is the pressure your weather reporting station would have, if it was moved down to sea-level. Mean sea level pressure is generally higher than your measured pressure, which is called barometric pressure.

This will be usefull function if somebody wants to use esp as weather station.
Here is the link for more information and formula:
http://barani.biz/apps/sea-level-pressure/
Администратор запретил публиковать записи гостям.

Discussion of wireless sensors based on ESP8266 (English) 02 Авг 2016 08:55 #13818

  • Adminhs
  • Adminhs аватар
  • Не в сети
  • Администратор
  • Сообщений: 7195
  • Спасибо получено: 1114
  • Репутация: 194
ok, I'll add support and bme280 later.

It is necessary to find and insert the pow function in the constructor code. For example something like this www.cyberforum.ru/c-beginners/thread1554341.html
Основной канал проекта в Telegram t.me/wifi_iot
Администратор запретил публиковать записи гостям.

Discussion of wireless sensors based on ESP8266 (English) 08 Авг 2016 14:27 #13877

  • grubia
  • grubia аватар
  • Не в сети
  • Новый участник
  • Сообщений: 7
  • Репутация: 0
Hello,
Just a reminder about BME280 data in hpa :)
Thank you
Последнее редактирование: 08 Авг 2016 21:42 от grubia. Причина: Stupid typo
Администратор запретил публиковать записи гостям.
  • Страница:
  • 1
  • 2
  • 3
  • 4
  • 5
Модераторы: FlyRouter
Время создания страницы: 0.150 секунд

Home`s Smart © 2013-2016. г.Киров.
Цитирование материалов возможно только со ссылкой на сайт. Использование фотоматериалов только с разрешения авторов.