wb_editors
14 355
правок
(содержимое: «{{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 (обсуждение)) |
FuzzyBot (обсуждение | вклад) (Обновление для соответствия новой версии исходной страницы.) |
||
(не показана 1 промежуточная версия 1 участника) | |||
Строка 1: | Строка 1: | ||
{{Wbincludes:1-Wire Warning}} | {{Wbincludes:1-Wire Warning}} | ||
<h3> | <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" | {| class="wikitable noclear" | ||
! | !Signal||Terminal||Color: Model 1||Color: Model 2||Color: Model 3 | ||
|- | |- | ||
|Vdd (VCC, | |Vdd (VCC, Power)||+ 5V Out||Red||Red||Red | ||
|- | |- | ||
|GND ( | |GND (ground)||GND||Black||Black||Yellow | ||
|- | |- | ||
|DQ (DATA, | |DQ (DATA, data )||1W||Blue||Yellow||Green | ||
|} | |} | ||
<h3>Two-wire connection</h3> | <h3>Two-wire connection</h3> | ||
Строка 25: | Строка 23: | ||
Typically, up to 20 sensors of 5 meters of cable connected in a star work reliably at home. | Typically, up to 20 sensors of 5 meters of cable connected in a star work reliably at home. | ||
<div class="mw-translate-fuzzy"> | |||
The main document when designing a bus is [https://www.maximintegrated.com/en/app-notes/index.mvp/id/148 instructions] from the 1-Wire developer. Main points: | The main document when designing a bus is [https://www.maximintegrated.com/en/app-notes/index.mvp/id/148 instructions] from the 1-Wire developer. Main points: | ||
* Bus length when connecting one sensor is up to 200 meters. | * Bus length when connecting one sensor is up to 200 meters. | ||
Строка 30: | Строка 29: | ||
* Laying a line with one bus is better than star laying. | * Laying a line with one bus is better than star laying. | ||
* For laying a long bus or in conditions of increased interference (for example, in a shield) - use a twisted pair cable, for example, Cat 5, better shielded. | * For laying a long bus or in conditions of increased interference (for example, in a shield) - use a twisted pair cable, for example, Cat 5, better shielded. | ||
</div> | |||
<div lang="ru" dir="ltr" class="mw-content-ltr"> | |||
* Длина шины при подключении одного датчика до 200 метров. | |||
* При подключении нескольких датчиков, подключайте их к питанию 5 В (не используйте двухпроводную схему). | |||
* Прокладка линии одной шиной лучше, чем прокладка звездой. | |||
* Для прокладывания длинной шины или в условиях повышенных помех (например, в щитке) — используйте витую пару, например, Cat 5, лучше экранированную. | |||
</div> | |||
A twisted-pair connection is a signal on one core of the pair, ground on the second, and similarly power supply: plus power on one core of the pair, minus on the second. Connect the power negative to signal ground. Connect the screen on one side to the minus power supply. | A twisted-pair connection is a signal on one core of the pair, ground on the second, and similarly power supply: plus power on one core of the pair, minus on the second. Connect the power negative to signal ground. Connect the screen on one side to the minus power supply. |