[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]/includes/bbcode.php on line 112: 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 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4678: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4680: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4681: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4682: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
virt2real.ru • Просмотр темы - Делитель напряжения для АЦП (ADC)
Страница 1 из 1

Делитель напряжения для АЦП (ADC)

СообщениеДобавлено: 26 фев 2016, 17:32
pek
Привет всем. Решил подвесить кучу датчиков на АЦП Виртурилки.
У датчиков выход 5 вольтовый.
Решил собрать делитель. Прочитал это ()
Купил резисторов на 86 кОм и 150 кОм. Собрал. И нифига. АЦП виртурилки никак не реагирует на подключение резистора, что утягивать должен на минус.
Как так-то? Что он есть, что его нет..
Показания АЦП застыли на 0.8 вольт.

Re: Делитель напряжения для АЦП (ADC)

СообщениеДобавлено: 26 фев 2016, 18:33
realizator
Было бы хорошо чуть больше деталей услышать - какую прошивку используете, на какую лапу цепляетесь и т.д. Ну и по смотрели ли примеры?

Re: Делитель напряжения для АЦП (ADC)

СообщениеДобавлено: 28 фев 2016, 02:13
eagafonov
Где-то проскакивало тут информация, что у ADC низкое внутреннее сопротивление, прям вот что-то пара килоом, и его нельзя не учитывать.
Я для измерения напряжения с батарейки 11.1V добавлял повторитель напряжения на ОУ.

Re: Делитель напряжения для АЦП (ADC)

СообщениеДобавлено: 28 фев 2016, 12:49
pek
Да, если быть точным, то у Виртурилки на АЦП 1,95 кОм сопротивление.
Выяснил путем экспериментов.

Схема такая.
adc1.png
теория подключения резистора ля измерения 5в на АЦП виртурилки

Re: Делитель напряжения для АЦП (ADC)

СообщениеДобавлено: 28 фев 2016, 13:15
pek
А теперь практика.
Измерить 5 вольт резистором можно включенным перед АЦП на 910 Ом. Это ближайший аналог 900 Ом из стандартного ряда для резисторов. Максимальное напряжение при резисторе 910 Ом - 5.29 вольт на входе (3.59 в на выходе).
Точнее можно подстроечным резистором (у меня был на 10 кОм ) наладить пределы измерения.
Прикладываю excel (2010) файл
r1r2.xlsx
(37.7 КБ) Скачиваний: 406
для расчета теоретических значений в цифре на АЦП виртурилки.
Ну вы знаете, что эффективное значение АЦП для 10 разрядов это 8. Ибо последние 2 ловят шум. Эффективнее фильтр программный применять.
(может такой для виртурилки замутить специальный? Пусть будет доступна с админки или вики.)

Re: Делитель напряжения для АЦП (ADC)

СообщениеДобавлено: 28 фев 2016, 14:42
eagafonov

Re: Делитель напряжения для АЦП (ADC)

СообщениеДобавлено: 28 фев 2016, 16:00
pek