Wiren Board 6: Open colletor outputs module (WBE2-DO-OC-2)

Материал из Wiren Board
Версия от 12:28, 27 июня 2019; RomanKulibaba (обсуждение | вклад) (Новая страница: «Device is detected immediately, reboot is not required.»)

Другие языки:

The module is designed to control the inputs of the "dry contact" type, as well as for switching low-voltage load in tasks where galvanic isolation is required.


Technical specifications

WBE2-DO-OC-2-2xOpenCollector back side
WBE2-DO-OC-2-2xOpenCollector front side

The module contains two N-channel transistors with common ground.

Each channel has built-in protection against voltage surges when switching inductive load (TVS at 30V).

The ground (GND) of the load must be connected to the GND terminal of the module (O3 terminal of the extension module).

Parameter Value
Number of outputs 2
Outputs type N-channel field effect transistor

(open collector)

Contact configuration SPST (normally open)
Maximum switching voltage 40V DC
Maximum switching current, per channel 1A
The channel resistance in the open state 200 mOhm
Voltage isolation between the controller and the output no
Maximum power consumption 0.01 W
Compatibility Compatiblу with Wiren Board 6 of all revisions.


Pinout

Output contact scheme


Terminal Function
O1 K1
O2 K2
O3 GND


Configuration

Configuration is carried out in the web interface, section Configs => Hardware Modules Configuration. 

Select "WBE2-DO-OC-2: Dual Open-Collector Output Module" in the Internal slot 1 or 2 section (depending on the slot number) and click Save.

Once added, two additional outputs appear in the Devices next to the controller outputs (the Discrete I/O section).

Device is detected immediately, reboot is not required.


MQTT

Слот Клемма Выход Канал (MQTT) Топик (MQTT)
MOD1 O1 K1 wb-gpio/MOD1_K1 /devices/wb-gpio/controls/MOD1_K1
O2 K2 wb-gpio/MOD1_K2 /devices/wb-gpio/controls/MOD1_K2
MOD2 O1 K1 wb-gpio/MOD2_K1 /devices/wb-gpio/controls/MOD2_K1
O2 K2 wb-gpio/MOD2_K2 /devices/wb-gpio/controls/MOD2_K2

Порядок подключения

Пример подключения светодиода
Пример подключения реле

Нагрузка подключается следующим образом: "плюс" нагрузки подключается к источнику питания, "минус" подключается к транзисторному выходу. Чтобы нагрузка начала работать, нужно подать высокий уровень на затвор транзистора.

На иллюстрациях приведены схемы подключения светодиода и реле.