16 470
правок
(Новая страница: «'''This method is not recommended''', especially for connecting several sensors: the current from the data line may not be enough for all sensors, besides, polling slows down - time is spent on charging the internal capacitances of the sensors with voltage from the data line.») |
(содержимое: «{{Wbincludes:1-Wire Warning}} <h3> Three wire connection</h3> The sensor has three outputs. Their colors may vary from model to model, it is advisable to find the documentation for your model. {| class="wikitable noclear" !Signal||Terminal||Color: Model 1||Color: Model 2||Color: Model 3 |- |Vdd (VCC, Powe...», единственным автором которого был A.Degtyarev (обсуждение)) |
||
Строка 1: | Строка 1: | ||
< | <div lang="ru" dir="ltr" class="mw-content-ltr"> | ||
<h3> | {{Wbincludes:1-Wire Warning}} | ||
<h3> Подключение по трём проводам </h3> | |||
Датчик имеет три вывода. Их цвета могут меняться от модели к модели, желательно найти документацию на свою модель. | |||
{| class="wikitable noclear" | {| class="wikitable noclear" | ||
! | !Сигнал||Клеммник||Цвет: модель 1||Цвет: модель 2||Цвет: модель 3 | ||
|- | |- | ||
|Vdd (VCC, | |Vdd (VCC, питание)||+5V Out||Красный||Красный||Красный | ||
|- | |- | ||
|GND ( | |GND (земля)||GND||Чёрный||Чёрный||Желтый | ||
|- | |- | ||
|DQ (DATA, | |DQ (DATA, данные)||1W||Синий||Жёлтый||Зелёный | ||
|} | |} | ||
</div> | |||
<h3>Two-wire connection</h3> | <h3>Two-wire connection</h3> |