[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 173: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/feed.php on line 174: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
virt2real.ru Управляем чем угодно откуда угодно 2014-10-27T16:50:11+04:00 http://forum.virt2real.ru/feed.php?f=46&t=14206 2014-10-27T16:50:11+04:00 2014-10-27T16:50:11+04:00 http://forum.virt2real.ru/viewtopic.php?t=14206&p=20558#p20558 <![CDATA[Re: Беспроводные датчики]]> В принципе можно вот такой приемник заказать


но это ж из пушки по воробьям. Мне надо то 3-4 датчика дыма подключить...

Статистика: Добавлено Serg — 27 окт 2014, 16:50


]]>
2014-10-27T11:35:22+04:00 2014-10-27T11:35:22+04:00 http://forum.virt2real.ru/viewtopic.php?t=14206&p=20557#p20557 <![CDATA[Re: Беспроводные датчики]]> http://wiki.virt2real.ru/wiki/Gpio-event

Подключать, соотвественно, к одному из GPIO 1-7, ну и дальше по тексту статьи в вики.

Мои опыты с декодированием ppm-sum я как-то описывал тут
viewtopic.php?f=38&t=14097&p=20237

TL;DR
для измерений с микросекундой точностью недостаточно, но отличить импульс 400мс от 1200мс получится легко.

Важный момент - я, похоже, спалил один из входов GPIO1, когда подключил RC-приёмник, запитанный от 6В (или 7.5В), напрямую к пину GPIO. Теперь он работает только как выход. Если приёмник имеет отдельное питание, то будьте осторожны. Если питать прямо от виртурилки, то проблем нет.

Статистика: Добавлено eagafonov — 27 окт 2014, 11:35


]]>
2014-10-27T05:52:52+04:00 2014-10-27T05:52:52+04:00 http://forum.virt2real.ru/viewtopic.php?t=14206&p=20556#p20556 <![CDATA[Беспроводные датчики]]> Рассматриваю возможность подключения беспроводных датчиков. Берем датчики на 433 Мгц и вот такой приемник

Подключаем приемник к виртурилке и ловим что там приходит с датчиков. Теперь вопрос - данные с приемника куда подключать?
Вот тут описан протокол обмена с датчиками. Надо отслеживать интервалы времени порядка 400 мкс. Справится ли с этим GPIO или надо использовать компорт?
Или надо ставить промежуточный контроллер для обработки приходящих сигналов, как сделано в статье по ссылке?

Статистика: Добавлено Serg — 27 окт 2014, 05:52


]]>